You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -19,11 +19,11 @@ We're actively looking for community maintainers, so please reach out if interes
19
19
20
20
# ⭐️ Features
21
21
22
-
- 🗣 [Spin up a conversation with your system audio](https://docs.vocode.dev/python-quickstart)
23
-
- ➡️ 📞 [Set up a phone number that responds with a LLM-based agent](https://docs.vocode.dev/telephony#inbound-calls)
24
-
- 📞 ➡️ [Send out phone calls from your phone number managed by an LLM-based agent](https://docs.vocode.dev/telephony#outbound-calls)
25
-
- 🧑💻 [Dial into a Zoom call](https://github.com/vocodedev/vocode-python/blob/main/vocode/streaming/telephony/hosted/zoom_dial_in.py)
26
-
- 🤖 [Use an outbound call to a real phone number in a Langchain agent](https://docs.vocode.dev/langchain-agent)
22
+
- 🗣 [Spin up a conversation with your system audio](https://docs.vocode.dev/open-source/python-quickstart)
23
+
- ➡️ 📞 [Set up a phone number that responds with a LLM-based agent](https://docs.vocode.dev/open-source/telephony#inbound-calls)
24
+
- 📞 ➡️ [Send out phone calls from your phone number managed by an LLM-based agent](https://docs.vocode.dev/telephony/open-source/#outbound-calls)
25
+
- 🧑💻 [Dial into a Zoom call](https://github.com/vocodedev/vocode-core/blob/53b01dab0b59f71961ee83dbcaf3653a6935c2e3/vocode/streaming/telephony/conversation/zoom_dial_in.py)
26
+
- 🤖 [Use an outbound call to a real phone number in a Langchain agent](https://docs.vocode.dev/open-source/langchain-agent)
27
27
- Out of the box integrations with:
28
28
- Transcription services, including:
29
29
-[AssemblyAI](https://www.assemblyai.com/)
@@ -34,19 +34,16 @@ We're actively looking for community maintainers, so please reach out if interes
@@ -59,9 +56,9 @@ Check out our React SDK [here](https://github.com/vocodedev/vocode-react-sdk)!
59
56
60
57
We're an open source project and are extremely open to contributors adding new features, integrations, and documentation! Please don't hesitate to reach out and get started building with us.
61
58
62
-
For more information on contributing, see our [Contribution Guide](https://github.com/vocodedev/vocode-python/blob/main/contributing.md).
59
+
For more information on contributing, see our [Contribution Guide](https://github.com/vocodedev/vocode-core/blob/main/contributing.md).
63
60
64
-
And check out our [Roadmap](https://github.com/vocodedev/vocode-python/blob/main/roadmap.md).
61
+
And check out our [Roadmap](https://github.com/vocodedev/vocode-core/blob/main/roadmap.md).
65
62
66
63
We'd love to talk to you on [Discord](https://discord.gg/NaU4mMgcnC) about new ideas and contributing!
67
64
@@ -73,31 +70,48 @@ pip install 'vocode'
73
70
74
71
```python
75
72
import asyncio
76
-
import logging
77
73
import signal
78
-
from vocode.streaming.streaming_conversation import StreamingConversation
74
+
75
+
from pydantic_settings import BaseSettings, SettingsConfigDict
76
+
79
77
from vocode.helpers import create_streaming_microphone_input_and_speaker_output
80
-
from vocode.streaming.transcriber import*
81
-
from vocode.streaming.agent import*
82
-
from vocode.streaming.synthesizer import*
83
-
from vocode.streaming.models.transcriber import*
84
-
from vocode.streaming.models.agent import*
85
-
from vocode.streaming.models.synthesizer import*
78
+
from vocode.logging import configure_pretty_logging
79
+
from vocode.streaming.agent.chat_gpt_agent import ChatGPTAgent
80
+
from vocode.streaming.models.agent import ChatGPTAgentConfig
86
81
from vocode.streaming.models.message import BaseMessage
87
-
import vocode
88
-
89
-
# these can also be set as environment variables
90
-
vocode.setenv(
91
-
OPENAI_API_KEY="<your OpenAI key>",
92
-
DEEPGRAM_API_KEY="<your Deepgram key>",
93
-
AZURE_SPEECH_KEY="<your Azure key>",
94
-
AZURE_SPEECH_REGION="<your Azure region>",
82
+
from vocode.streaming.models.synthesizer import AzureSynthesizerConfig
83
+
from vocode.streaming.models.transcriber import (
84
+
DeepgramTranscriberConfig,
85
+
PunctuationEndpointingConfig,
95
86
)
87
+
from vocode.streaming.streaming_conversation import StreamingConversation
88
+
from vocode.streaming.synthesizer.azure_synthesizer import AzureSynthesizer
89
+
from vocode.streaming.transcriber.deepgram_transcriber import DeepgramTranscriber
96
90
91
+
configure_pretty_logging()
97
92
98
-
logging.basicConfig()
99
-
logger = logging.getLogger(__name__)
100
-
logger.setLevel(logging.DEBUG)
93
+
94
+
classSettings(BaseSettings):
95
+
"""
96
+
Settings for the streaming conversation quickstart.
97
+
These parameters can be configured with environment variables.
0 commit comments