diff --git a/.changeset/deepgram-inference-keyterm.md b/.changeset/deepgram-inference-keyterm.md new file mode 100644 index 000000000..ed54c4879 --- /dev/null +++ b/.changeset/deepgram-inference-keyterm.md @@ -0,0 +1,5 @@ +--- +'@livekit/agents': patch +--- + +Add Deepgram `keyterm` to inference STT model options. diff --git a/agents/src/inference/stt.ts b/agents/src/inference/stt.ts index 2acb1bc80..0644ee6be 100644 --- a/agents/src/inference/stt.ts +++ b/agents/src/inference/stt.ts @@ -77,7 +77,7 @@ export interface DeepgramOptions { /** Keywords with boost values. */ keywords?: Array<[string, number]>; /** Key terms for recognition. */ - keyterms?: string[]; + keyterm?: string | string[]; /** Enable profanity filter. */ profanity_filter?: boolean; /** Convert spoken numbers to numerals. */