v0.0.32
pipecat-ai/pipecatv0.0.32Jun 22, 2024by aconchillo
AI Summary
Added new transports for FastAPI and Twilio, support for Azure Speech-To-Text, and improved performance by converting transports to fully use asyncio.
Key Highlights
- Added FastAPIWebsocketTransport for FastAPI integration.
- Added TwilioFrameSerializer and AzureSTTService.
- Added `on_dialout_answered` event to Daily transport.
- Converted BaseOutputTransport to fully use asyncio.
New Features
- AzureSTTService
- Twilio chatbot example
- FastAPIWebsocketTransport
Full Release Notes
### Added - Allow specifying a `DeepgramSTTService` url which allows using on-prem Deepgram. - Added new `FastAPIWebsocketTransport`. This is a new websocket transport that can be integrated with FastAPI websockets. - Added new `TwilioFrameSerializer`. This is a new serializer that knows how to serialize and deserialize audio frames from Twilio. - Added Daily transport event: `on_dialout_answered`. See https://reference-python.daily.co/api_reference.html#daily.EventHandler - Added new `AzureSTTService`. This allows you to use Azure Speech-To-Text. ### Performance - Convert `BaseOutputTransport` and `BaseOutputTransport` to fully use asyncio and remove the use of threads. ### Other - Added `twilio-chatbot`. This is an example that shows how to integrate Twilio phone numbers with a Pipecat bot. - Updated `07f-interruptible-azure.py` to use `AzureLLMService`, `AzureSTTService` and `AzureTTSService`.