A voice-based conversational agent built with Pipecat.
- Real-time voice conversations powered by:
- Deepgram (STT)
- OpenAI (LLM)
- Cartesia (TTS)
- Voice activity detection with Silero
- Support for interruptions
OPENAI_API_KEY
DEEPGRAM_API_KEY
CARTESIA_API_KEY
Modify the system prompt in bot.py
:
messages = [
{
"role": "system",
"content": "You are Chatbot, a friendly, helpful robot..."
},
]
Update the voice ID in the TTS service:
tts = CartesiaTTSService(
api_key=os.getenv("CARTESIA_API_KEY"),
voice_id="79a125e8-cd45-4c13-8a67-188112f4dd22", # Change this
)
See the top-level README for deployment instructions.