Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS and Gemini updates #83

Merged
merged 1 commit into from
Jan 8, 2025
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
8 changes: 4 additions & 4 deletions server/services/s2s/gemini.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,11 @@ The `GeminiMultimodalLiveLLMService` enables natural, real-time conversations wi
Stream audio and video in real-time with low latency response times
</Card>

{" "}

<Card title="Speech Processing" icon="waveform-lines">
Built-in speech-to-text and text-to-speech capabilities with multiple voice
options
</Card>

{" "}

<Card title="Voice Activity Detection" icon="microphone">
Automatic detection of speech start/stop for natural conversations
</Card>
Expand Down Expand Up @@ -127,6 +123,10 @@ llm = GeminiMultimodalLiveLLMService(
Maximum number of tokens to generate
</ParamField>

<ParamField path="modalities" type="enum" optional default="AUDIO">
Response modalities to include (options: `AUDIO`, `TEXT`).
</ParamField>

<ParamField path="presence_penalty" type="float" optional default="None">
Penalizes tokens based on their presence in the text. Range: 0.0 to 2.0
</ParamField>
Expand Down
6 changes: 3 additions & 3 deletions server/services/tts/aws.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ You'll also need to set up your AWS credentials as environment variables:

### Constructor Parameters

<ParamField path="api_key" type="str" required>
<ParamField path="api_key" type="str">
AWS secret access key
</ParamField>

<ParamField path="aws_access_key_id" type="str" required>
<ParamField path="aws_access_key_id" type="str">
AWS access key ID
</ParamField>

<ParamField path="region" type="str" required>
<ParamField path="region" type="str">
AWS region name
</ParamField>

Expand Down