Skip to content

AgentThinking message is not returned by Deepgram voice agent #400

@pdeva03

Description

@pdeva03

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
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions