From c434aef29124f54364511f17062014a2470b9502 Mon Sep 17 00:00:00 2001 From: Ajay Raj Date: Fri, 3 Mar 2023 13:07:41 -0800 Subject: [PATCH] fix ngrok refs --- simple_conversation.py | 6 ++---- vocode/conversation.py | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/simple_conversation.py b/simple_conversation.py index cebf61e..0f89cce 100644 --- a/simple_conversation.py +++ b/simple_conversation.py @@ -20,11 +20,9 @@ if __name__ == "__main__": input_device=microphone_input, output_device=speaker_output, transcriber_config=DeepgramTranscriberConfig.from_input_device(microphone_input), - agent_config=WebSocketUserImplementedAgentConfig( + agent_config=ChatGPTAgentConfig( initial_message="Hello!", - respond=WebSocketUserImplementedAgentConfig.RouteConfig( - url="wss://a8ea877c9548.ngrok.io/respond" - ) + prompt_preamble="Vocode is an SDK that allows developers to create voice bots like this one in less than 10 lines of code. The AI is explaining to the human what Vocode is." ), synthesizer_config=AzureSynthesizerConfig.from_output_device(speaker_output) ) diff --git a/vocode/conversation.py b/vocode/conversation.py index 9fc2fa0..169dc4f 100644 --- a/vocode/conversation.py +++ b/vocode/conversation.py @@ -16,7 +16,7 @@ from .models.synthesizer import SynthesizerConfig from .models.websocket import ReadyMessage, AudioMessage, StartMessage, StopMessage from . import api_key -VOCODE_WEBSOCKET_URL = f"wss://3fcd-136-24-82-111.ngrok.io/conversation" +VOCODE_WEBSOCKET_URL = f"wss://api.vocode.dev/conversation" class Conversation: