fix ngrok refs

This commit is contained in:
Ajay Raj 2023-03-03 13:07:41 -08:00
commit c434aef291
2 changed files with 3 additions and 5 deletions

View file

@ -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)
)

View file

@ -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: