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
2 changes: 2 additions & 0 deletions examples/agent/async_simple/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ async def on_unhandled(self, unhandled, **kwargs):
options.agent.listen.provider.keyterms = ["hello", "goodbye"]
options.agent.listen.provider.model = "nova-3"
options.agent.listen.provider.type = "deepgram"
options.agent.speak.provider.type = "deepgram"
options.agent.speak.provider.model = "aura-2-thalia-en"
options.agent.language = "en"

print("\n\nPress Enter to stop...\n\n")
Expand Down
4 changes: 3 additions & 1 deletion examples/agent/simple/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def main():
"microphone_record": "true",
"speaker_playback": "true",
},
verbose=verboselogs.SPAM,
verbose=verboselogs.INFO,

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

reduced to info as the logs were crazy big

)
print("Created DeepgramClientOptions...")

Expand Down Expand Up @@ -138,6 +138,8 @@ def on_unhandled(self, unhandled, **kwargs):
options.agent.listen.provider.keyterms = ["hello", "goodbye"]
options.agent.listen.provider.model = "nova-3"
options.agent.listen.provider.type = "deepgram"
options.agent.speak.provider.type = "deepgram"
options.agent.speak.provider.model = "aura-2-thalia-en"
options.agent.language = "en"
if dg_connection.start(options) is False:
print("Failed to start connection")
Expand Down