-
Notifications
You must be signed in to change notification settings - Fork 81
Description
Deepgram voice agent
https://developers.deepgram.com/docs/voice-agent-agent-thinking
Deepgram Javascript SDK
version: 4.2.0
I am using deepgram sdk for voice agent and configured with function calls etc. Some times deepgram takes 4-5 seconds before sending response.
But I am not getting any events mentioning as AgentThinking with the content.
Is AgentThinking event is working?
This is my settings structure:
{ // Using the dynamic config structure
type: 'Settings',
audio: {
input: {
encoding: 'linear16',
sample_rate: 24000
},
output: {
encoding: 'linear16',
sample_rate: 24000,
container: 'none'
}
},
agent: {
language: 'en',
listen: {
provider: {
type: 'deepgram',
model: 'nova-3'
}
},
speak: {
provider: {
type: 'deepgram',
model: 'aura-asteria-en'
}
},
think: {
provider: {
type: 'open_ai',
model: 'gpt-4o',
temperature: 0
},
prompt: instructions, // Using dynamic instructions
functions: functions || [] // Using dynamic functions
},
greeting: greeting(stage)
},
experimental: true
}