Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/rude-feet-drum.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@livekit/agents": patch
---

Support gateway Inworld model options
9 changes: 8 additions & 1 deletion agents/src/inference/tts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,14 @@ export interface DeepgramTTSOptions {}

export interface RimeOptions {}

export interface InworldOptions {}
export interface InworldOptions {
/** Controls how fast the voice speaks. 1.0 is normal speed, 0.5 is half, 1.5 is 1.5x. Default: 1.0. */
speaking_rate?: number;
/** Controls randomness in the output. Recommended between 0.6 and 1.1. Default: 1.1. */
temperature?: number;
/** Controls text normalization. "ON" expands numbers, dates, abbreviations. "OFF" reads text as written. Default: "ON". */
text_normalization?: 'ON' | 'OFF';

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't really like this API. Vs a boolean. I think we should discuss with the gateway team

}

type _TTSModels =
| CartesiaModels
Expand Down