From adada5988983c90f19f60913a35b727af80db9f7 Mon Sep 17 00:00:00 2001 From: Ajay Raj Date: Wed, 29 Mar 2023 01:56:09 -0700 Subject: [PATCH 1/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index babf01e..bac6cf8 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ [Community](https://discord.gg/NaU4mMgcnC) | [Docs](https://docs.vocode.dev) | [Dashboard](https://app.vocode.dev) -# vocode +# vocode ### **Build voice-based LLM apps in minutes** From 7f550b653587f41f47a6de644159f0c977edaf77 Mon Sep 17 00:00:00 2001 From: Ajay Raj Date: Wed, 29 Mar 2023 01:58:28 -0700 Subject: [PATCH 2/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bac6cf8..9a5749f 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ [Community](https://discord.gg/NaU4mMgcnC) | [Docs](https://docs.vocode.dev) | [Dashboard](https://app.vocode.dev) -# vocode +#   vocode ### **Build voice-based LLM apps in minutes** From 1e0df8151aa152f59f99a4992313097758e456cf Mon Sep 17 00:00:00 2001 From: Kian Hooshmand Date: Wed, 29 Mar 2023 10:00:25 -0700 Subject: [PATCH 3/6] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 9a5749f..36ea3eb 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,10 @@ Vocode is an open source library that makes it easy to build voice-based LLM app Check out our React SDK [here](https://github.com/vocodedev/vocode-react-sdk)! +# Contributing + +If there are features or integrations that don't exist yet, please add them! Feel free to fork and create a PR and we will get it merged as soon as possible. We'll have more guidelines on contributions soon :) + # 🚀 Quickstart (Self-hosted) ```bash From 8b9abf61218df3b0f7eb1aea542f9ac26fca226e Mon Sep 17 00:00:00 2001 From: Ajay Raj Date: Wed, 29 Mar 2023 11:01:19 -0700 Subject: [PATCH 4/6] Update README.md --- README.md | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 36ea3eb..1383e76 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,8 @@ from vocode.streaming.models.transcriber import ( from vocode.streaming.models.agent import ChatGPTAgentConfig from vocode.streaming.models.message import BaseMessage from vocode.streaming.models.synthesizer import AzureSynthesizerConfig +from vocode.streaming.synthesizer.azure_synthesizer import AzureSynthesizer +from vocode.streaming.transcriber.deepgram_transcriber import DeepgramTranscriber # these can also be set as environment variables vocode.setenv( @@ -77,14 +79,20 @@ async def main(): conversation = StreamingConversation( output_device=speaker_output, - transcriber_config=DeepgramTranscriberConfig.from_input_device( - microphone_input, endpointing_config=PunctuationEndpointingConfig() + transcriber=DeepgramTranscriber( + DeepgramTranscriberConfig.from_input_device( + microphone_input, endpointing_config=PunctuationEndpointingConfig() + ) ), - agent_config=ChatGPTAgentConfig( - initial_message=BaseMessage(text="Hello!"), - prompt_preamble="Have a pleasant conversation about life", + agent=ChatGPTAgent( + ChatGPTAgentConfig( + initial_message=BaseMessage(text="Hello!"), + prompt_preamble="Have a pleasant conversation about life", + ), + ), + synthesizer_config=AzureSynthesizer( + AzureSynthesizerConfig.from_output_device(speaker_output) ), - synthesizer_config=AzureSynthesizerConfig.from_output_device(speaker_output), ) await conversation.start() print("Conversation started, press Ctrl+C to end") From a119f86f2b06303be5665db64d3736bda2630ea8 Mon Sep 17 00:00:00 2001 From: Ajay Raj Date: Wed, 29 Mar 2023 11:02:11 -0700 Subject: [PATCH 5/6] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 1383e76..e40224b 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,7 @@ from vocode.streaming.models.transcriber import ( DeepgramTranscriberConfig, PunctuationEndpointingConfig, ) +from vocode.streaming.agent.chat_gpt_agent import ChatGPTAgent from vocode.streaming.models.agent import ChatGPTAgentConfig from vocode.streaming.models.message import BaseMessage from vocode.streaming.models.synthesizer import AzureSynthesizerConfig From 43a2dc436ac776d7957e2b6e7e9b72a065e1a218 Mon Sep 17 00:00:00 2001 From: Ajay Raj Date: Wed, 29 Mar 2023 11:06:33 -0700 Subject: [PATCH 6/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e40224b..2ffe58a 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,7 @@ async def main(): prompt_preamble="Have a pleasant conversation about life", ), ), - synthesizer_config=AzureSynthesizer( + synthesizer=AzureSynthesizer( AzureSynthesizerConfig.from_output_device(speaker_output) ), )