dv-pipecat-ai 0.0.85.dev698__py3-none-any.whl → 0.0.85.dev814__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of dv-pipecat-ai might be problematic. Click here for more details.

Files changed (45) hide show
  1. {dv_pipecat_ai-0.0.85.dev698.dist-info → dv_pipecat_ai-0.0.85.dev814.dist-info}/METADATA +23 -18
  2. {dv_pipecat_ai-0.0.85.dev698.dist-info → dv_pipecat_ai-0.0.85.dev814.dist-info}/RECORD +45 -43
  3. pipecat/adapters/services/aws_nova_sonic_adapter.py +116 -6
  4. pipecat/pipeline/runner.py +6 -2
  5. pipecat/pipeline/task.py +40 -55
  6. pipecat/processors/aggregators/llm_context.py +40 -2
  7. pipecat/processors/frameworks/rtvi.py +1 -0
  8. pipecat/runner/daily.py +59 -20
  9. pipecat/runner/run.py +149 -67
  10. pipecat/runner/types.py +5 -5
  11. pipecat/services/assemblyai/models.py +6 -0
  12. pipecat/services/assemblyai/stt.py +13 -5
  13. pipecat/services/asyncai/tts.py +3 -0
  14. pipecat/services/aws/llm.py +33 -16
  15. pipecat/services/aws/nova_sonic/context.py +69 -0
  16. pipecat/services/aws/nova_sonic/llm.py +199 -89
  17. pipecat/services/aws/stt.py +2 -0
  18. pipecat/services/aws_nova_sonic/context.py +8 -12
  19. pipecat/services/cartesia/stt.py +77 -70
  20. pipecat/services/cartesia/tts.py +3 -1
  21. pipecat/services/deepgram/flux/stt.py +4 -0
  22. pipecat/services/elevenlabs/tts.py +82 -41
  23. pipecat/services/fish/tts.py +3 -0
  24. pipecat/services/google/stt.py +4 -0
  25. pipecat/services/lmnt/tts.py +2 -0
  26. pipecat/services/neuphonic/tts.py +3 -0
  27. pipecat/services/openai/tts.py +37 -6
  28. pipecat/services/piper/tts.py +7 -9
  29. pipecat/services/playht/tts.py +3 -0
  30. pipecat/services/rime/tts.py +9 -8
  31. pipecat/services/riva/stt.py +3 -1
  32. pipecat/services/salesforce/__init__.py +9 -0
  33. pipecat/services/salesforce/llm.py +465 -0
  34. pipecat/services/sarvam/tts.py +87 -10
  35. pipecat/services/speechmatics/stt.py +3 -1
  36. pipecat/services/stt_service.py +23 -10
  37. pipecat/services/tts_service.py +64 -13
  38. pipecat/transports/base_input.py +3 -0
  39. pipecat/transports/base_output.py +71 -77
  40. pipecat/transports/smallwebrtc/connection.py +5 -0
  41. pipecat/transports/smallwebrtc/request_handler.py +42 -0
  42. pipecat/utils/string.py +1 -0
  43. {dv_pipecat_ai-0.0.85.dev698.dist-info → dv_pipecat_ai-0.0.85.dev814.dist-info}/WHEEL +0 -0
  44. {dv_pipecat_ai-0.0.85.dev698.dist-info → dv_pipecat_ai-0.0.85.dev814.dist-info}/licenses/LICENSE +0 -0
  45. {dv_pipecat_ai-0.0.85.dev698.dist-info → dv_pipecat_ai-0.0.85.dev814.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dv-pipecat-ai
3
- Version: 0.0.85.dev698
3
+ Version: 0.0.85.dev814
4
4
  Summary: An open source framework for voice (and multimodal) assistants
5
5
  License-Expression: BSD-2-Clause
6
6
  Project-URL: Source, https://github.com/pipecat-ai/pipecat
@@ -29,7 +29,7 @@ Requires-Dist: pydantic<3,>=2.10.6
29
29
  Requires-Dist: pyloudnorm~=0.1.1
30
30
  Requires-Dist: resampy~=0.4.3
31
31
  Requires-Dist: soxr~=0.5.0
32
- Requires-Dist: openai<=1.99.1,>=1.74.0
32
+ Requires-Dist: openai<3,>=1.74.0
33
33
  Requires-Dist: numba==0.61.2
34
34
  Requires-Dist: wait_for2>=0.4.1; python_version < "3.12"
35
35
  Provides-Extra: aic
@@ -53,7 +53,7 @@ Requires-Dist: pipecat-ai[websockets-base]; extra == "cartesia"
53
53
  Provides-Extra: cerebras
54
54
  Provides-Extra: deepseek
55
55
  Provides-Extra: daily
56
- Requires-Dist: daily-python~=0.19.9; extra == "daily"
56
+ Requires-Dist: daily-python~=0.20.0; extra == "daily"
57
57
  Provides-Extra: deepgram
58
58
  Requires-Dist: deepgram-sdk~=4.7.0; extra == "deepgram"
59
59
  Provides-Extra: elevenlabs
@@ -119,7 +119,7 @@ Requires-Dist: noisereduce~=3.0.3; extra == "noisereduce"
119
119
  Provides-Extra: openai
120
120
  Requires-Dist: pipecat-ai[websockets-base]; extra == "openai"
121
121
  Provides-Extra: openpipe
122
- Requires-Dist: openpipe~=4.50.0; extra == "openpipe"
122
+ Requires-Dist: openpipe<6,>=4.50.0; extra == "openpipe"
123
123
  Provides-Extra: openrouter
124
124
  Provides-Extra: perplexity
125
125
  Provides-Extra: playht
@@ -157,7 +157,7 @@ Requires-Dist: pipecat-ai[websockets-base]; extra == "soniox"
157
157
  Provides-Extra: soundfile
158
158
  Requires-Dist: soundfile~=0.13.0; extra == "soundfile"
159
159
  Provides-Extra: speechmatics
160
- Requires-Dist: speechmatics-rt>=0.4.0; extra == "speechmatics"
160
+ Requires-Dist: speechmatics-rt>=0.5.0; extra == "speechmatics"
161
161
  Provides-Extra: strands
162
162
  Requires-Dist: strands-agents<2,>=1.9.1; extra == "strands"
163
163
  Provides-Extra: tavus
@@ -186,6 +186,7 @@ Dynamic: license-file
186
186
  </div></h1>
187
187
 
188
188
  [![PyPI](https://img.shields.io/pypi/v/pipecat-ai)](https://pypi.org/project/pipecat-ai) ![Tests](https://github.com/pipecat-ai/pipecat/actions/workflows/tests.yaml/badge.svg) [![codecov](https://codecov.io/gh/pipecat-ai/pipecat/graph/badge.svg?token=LNVUIVO4Y9)](https://codecov.io/gh/pipecat-ai/pipecat) [![Docs](https://img.shields.io/badge/Documentation-blue)](https://docs.pipecat.ai) [![Discord](https://img.shields.io/discord/1239284677165056021)](https://discord.gg/pipecat) [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/pipecat-ai/pipecat)
189
+ [![](https://getmanta.ai/api/badges?text=Manta%20Graph&link=manta)](https://getmanta.ai/pipecat)
189
190
 
190
191
  # 🎙️ Pipecat: Real-Time Voice & Multimodal AI Agents
191
192
 
@@ -226,6 +227,10 @@ Looking to build structured conversations? Check out [Pipecat Flows](https://git
226
227
 
227
228
  Want to build beautiful and engaging experiences? Checkout the [Voice UI Kit](https://github.com/pipecat-ai/voice-ui-kit), a collection of components, hooks and templates for building voice AI applications quickly.
228
229
 
230
+ ### 🛠️ Create and deploy projects
231
+
232
+ Create a new project in under a minute with the [Pipecat CLI](https://github.com/pipecat-ai/pipecat-cli). Then use the CLI to monitor and deploy your agent to production.
233
+
229
234
  ### 🔍 Debugging
230
235
 
231
236
  Looking for help debugging your pipeline and processors? Check out [Whisker](https://github.com/pipecat-ai/whisker), a real-time Pipecat debugger.
@@ -245,24 +250,24 @@ Catch new features, interviews, and how-tos on our [Pipecat TV](https://www.yout
245
250
  <a href="https://github.com/pipecat-ai/pipecat-examples/tree/main/storytelling-chatbot"><img src="https://raw.githubusercontent.com/pipecat-ai/pipecat-examples/main/storytelling-chatbot/image.png" width="400" /></a>
246
251
  <br/>
247
252
  <a href="https://github.com/pipecat-ai/pipecat-examples/tree/main/translation-chatbot"><img src="https://raw.githubusercontent.com/pipecat-ai/pipecat-examples/main/translation-chatbot/image.png" width="400" /></a>&nbsp;
248
- <a href="https://github.com/pipecat-ai/pipecat-examples/tree/main/moondream-chatbot"><img src="https://raw.githubusercontent.com/pipecat-ai/pipecat-examples/main/moondream-chatbot/image.png" width="400" /></a>
253
+ <a href="https://github.com/pipecat-ai/pipecat/blob/main/examples/foundational/12-describe-video.py"><img src="https://github.com/pipecat-ai/pipecat/blob/main/examples/foundational/assets/moondream.png" width="400" /></a>
249
254
  </p>
250
255
 
251
256
  ## 🧩 Available services
252
257
 
253
- | Category | Services |
254
- | ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
255
- | Speech-to-Text | [AssemblyAI](https://docs.pipecat.ai/server/services/stt/assemblyai), [AWS](https://docs.pipecat.ai/server/services/stt/aws), [Azure](https://docs.pipecat.ai/server/services/stt/azure), [Cartesia](https://docs.pipecat.ai/server/services/stt/cartesia), [Deepgram](https://docs.pipecat.ai/server/services/stt/deepgram), [ElevenLabs](https://docs.pipecat.ai/server/services/stt/elevenlabs), [Fal Wizper](https://docs.pipecat.ai/server/services/stt/fal), [Gladia](https://docs.pipecat.ai/server/services/stt/gladia), [Google](https://docs.pipecat.ai/server/services/stt/google), [Groq (Whisper)](https://docs.pipecat.ai/server/services/stt/groq), [NVIDIA Riva](https://docs.pipecat.ai/server/services/stt/riva), [OpenAI (Whisper)](https://docs.pipecat.ai/server/services/stt/openai), [SambaNova (Whisper)](https://docs.pipecat.ai/server/services/stt/sambanova), [Soniox](https://docs.pipecat.ai/server/services/stt/soniox), [Speechmatics](https://docs.pipecat.ai/server/services/stt/speechmatics), [Ultravox](https://docs.pipecat.ai/server/services/stt/ultravox), [Whisper](https://docs.pipecat.ai/server/services/stt/whisper) |
256
- | LLMs | [Anthropic](https://docs.pipecat.ai/server/services/llm/anthropic), [AWS](https://docs.pipecat.ai/server/services/llm/aws), [Azure](https://docs.pipecat.ai/server/services/llm/azure), [Cerebras](https://docs.pipecat.ai/server/services/llm/cerebras), [DeepSeek](https://docs.pipecat.ai/server/services/llm/deepseek), [Fireworks AI](https://docs.pipecat.ai/server/services/llm/fireworks), [Gemini](https://docs.pipecat.ai/server/services/llm/gemini), [Grok](https://docs.pipecat.ai/server/services/llm/grok), [Groq](https://docs.pipecat.ai/server/services/llm/groq), [Mistral](https://docs.pipecat.ai/server/services/llm/mistral), [NVIDIA NIM](https://docs.pipecat.ai/server/services/llm/nim), [Ollama](https://docs.pipecat.ai/server/services/llm/ollama), [OpenAI](https://docs.pipecat.ai/server/services/llm/openai), [OpenRouter](https://docs.pipecat.ai/server/services/llm/openrouter), [Perplexity](https://docs.pipecat.ai/server/services/llm/perplexity), [Qwen](https://docs.pipecat.ai/server/services/llm/qwen), [SambaNova](https://docs.pipecat.ai/server/services/llm/sambanova) [Together AI](https://docs.pipecat.ai/server/services/llm/together) |
258
+ | Category | Services |
259
+ | ------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
260
+ | Speech-to-Text | [AssemblyAI](https://docs.pipecat.ai/server/services/stt/assemblyai), [AWS](https://docs.pipecat.ai/server/services/stt/aws), [Azure](https://docs.pipecat.ai/server/services/stt/azure), [Cartesia](https://docs.pipecat.ai/server/services/stt/cartesia), [Deepgram](https://docs.pipecat.ai/server/services/stt/deepgram), [ElevenLabs](https://docs.pipecat.ai/server/services/stt/elevenlabs), [Fal Wizper](https://docs.pipecat.ai/server/services/stt/fal), [Gladia](https://docs.pipecat.ai/server/services/stt/gladia), [Google](https://docs.pipecat.ai/server/services/stt/google), [Groq (Whisper)](https://docs.pipecat.ai/server/services/stt/groq), [NVIDIA Riva](https://docs.pipecat.ai/server/services/stt/riva), [OpenAI (Whisper)](https://docs.pipecat.ai/server/services/stt/openai), [SambaNova (Whisper)](https://docs.pipecat.ai/server/services/stt/sambanova), [Soniox](https://docs.pipecat.ai/server/services/stt/soniox), [Speechmatics](https://docs.pipecat.ai/server/services/stt/speechmatics), [Ultravox](https://docs.pipecat.ai/server/services/stt/ultravox), [Whisper](https://docs.pipecat.ai/server/services/stt/whisper) |
261
+ | LLMs | [Anthropic](https://docs.pipecat.ai/server/services/llm/anthropic), [AWS](https://docs.pipecat.ai/server/services/llm/aws), [Azure](https://docs.pipecat.ai/server/services/llm/azure), [Cerebras](https://docs.pipecat.ai/server/services/llm/cerebras), [DeepSeek](https://docs.pipecat.ai/server/services/llm/deepseek), [Fireworks AI](https://docs.pipecat.ai/server/services/llm/fireworks), [Gemini](https://docs.pipecat.ai/server/services/llm/gemini), [Grok](https://docs.pipecat.ai/server/services/llm/grok), [Groq](https://docs.pipecat.ai/server/services/llm/groq), [Mistral](https://docs.pipecat.ai/server/services/llm/mistral), [NVIDIA NIM](https://docs.pipecat.ai/server/services/llm/nim), [Ollama](https://docs.pipecat.ai/server/services/llm/ollama), [OpenAI](https://docs.pipecat.ai/server/services/llm/openai), [OpenRouter](https://docs.pipecat.ai/server/services/llm/openrouter), [Perplexity](https://docs.pipecat.ai/server/services/llm/perplexity), [Qwen](https://docs.pipecat.ai/server/services/llm/qwen), [SambaNova](https://docs.pipecat.ai/server/services/llm/sambanova) [Together AI](https://docs.pipecat.ai/server/services/llm/together) |
257
262
  | Text-to-Speech | [Async](https://docs.pipecat.ai/server/services/tts/asyncai), [AWS](https://docs.pipecat.ai/server/services/tts/aws), [Azure](https://docs.pipecat.ai/server/services/tts/azure), [Cartesia](https://docs.pipecat.ai/server/services/tts/cartesia), [Deepgram](https://docs.pipecat.ai/server/services/tts/deepgram), [ElevenLabs](https://docs.pipecat.ai/server/services/tts/elevenlabs), [Fish](https://docs.pipecat.ai/server/services/tts/fish), [Google](https://docs.pipecat.ai/server/services/tts/google), [Groq](https://docs.pipecat.ai/server/services/tts/groq), [Hume](https://docs.pipecat.ai/server/services/tts/hume), [Inworld](https://docs.pipecat.ai/server/services/tts/inworld), [LMNT](https://docs.pipecat.ai/server/services/tts/lmnt), [MiniMax](https://docs.pipecat.ai/server/services/tts/minimax), [Neuphonic](https://docs.pipecat.ai/server/services/tts/neuphonic), [NVIDIA Riva](https://docs.pipecat.ai/server/services/tts/riva), [OpenAI](https://docs.pipecat.ai/server/services/tts/openai), [Piper](https://docs.pipecat.ai/server/services/tts/piper), [PlayHT](https://docs.pipecat.ai/server/services/tts/playht), [Rime](https://docs.pipecat.ai/server/services/tts/rime), [Sarvam](https://docs.pipecat.ai/server/services/tts/sarvam), [XTTS](https://docs.pipecat.ai/server/services/tts/xtts) |
258
- | Speech-to-Speech | [AWS Nova Sonic](https://docs.pipecat.ai/server/services/s2s/aws), [Gemini Multimodal Live](https://docs.pipecat.ai/server/services/s2s/gemini), [OpenAI Realtime](https://docs.pipecat.ai/server/services/s2s/openai) |
259
- | Transport | [Daily (WebRTC)](https://docs.pipecat.ai/server/services/transport/daily), [FastAPI Websocket](https://docs.pipecat.ai/server/services/transport/fastapi-websocket), [SmallWebRTCTransport](https://docs.pipecat.ai/server/services/transport/small-webrtc), [WebSocket Server](https://docs.pipecat.ai/server/services/transport/websocket-server), Local |
260
- | Serializers | [Plivo](https://docs.pipecat.ai/server/utilities/serializers/plivo), [Twilio](https://docs.pipecat.ai/server/utilities/serializers/twilio), [Telnyx](https://docs.pipecat.ai/server/utilities/serializers/telnyx) |
261
- | Video | [HeyGen](https://docs.pipecat.ai/server/services/video/heygen), [Tavus](https://docs.pipecat.ai/server/services/video/tavus), [Simli](https://docs.pipecat.ai/server/services/video/simli) |
262
- | Memory | [mem0](https://docs.pipecat.ai/server/services/memory/mem0) |
263
- | Vision & Image | [fal](https://docs.pipecat.ai/server/services/image-generation/fal), [Google Imagen](https://docs.pipecat.ai/server/services/image-generation/fal), [Moondream](https://docs.pipecat.ai/server/services/vision/moondream) |
264
- | Audio Processing | [Silero VAD](https://docs.pipecat.ai/server/utilities/audio/silero-vad-analyzer), [Krisp](https://docs.pipecat.ai/server/utilities/audio/krisp-filter), [Koala](https://docs.pipecat.ai/server/utilities/audio/koala-filter), [ai-coustics](https://docs.pipecat.ai/server/utilities/audio/aic-filter) |
265
- | Analytics & Metrics | [OpenTelemetry](https://docs.pipecat.ai/server/utilities/opentelemetry), [Sentry](https://docs.pipecat.ai/server/services/analytics/sentry) |
263
+ | Speech-to-Speech | [AWS Nova Sonic](https://docs.pipecat.ai/server/services/s2s/aws), [Gemini Multimodal Live](https://docs.pipecat.ai/server/services/s2s/gemini), [OpenAI Realtime](https://docs.pipecat.ai/server/services/s2s/openai) |
264
+ | Transport | [Daily (WebRTC)](https://docs.pipecat.ai/server/services/transport/daily), [FastAPI Websocket](https://docs.pipecat.ai/server/services/transport/fastapi-websocket), [SmallWebRTCTransport](https://docs.pipecat.ai/server/services/transport/small-webrtc), [WebSocket Server](https://docs.pipecat.ai/server/services/transport/websocket-server), Local |
265
+ | Serializers | [Plivo](https://docs.pipecat.ai/server/utilities/serializers/plivo), [Twilio](https://docs.pipecat.ai/server/utilities/serializers/twilio), [Telnyx](https://docs.pipecat.ai/server/utilities/serializers/telnyx) |
266
+ | Video | [HeyGen](https://docs.pipecat.ai/server/services/video/heygen), [Tavus](https://docs.pipecat.ai/server/services/video/tavus), [Simli](https://docs.pipecat.ai/server/services/video/simli) |
267
+ | Memory | [mem0](https://docs.pipecat.ai/server/services/memory/mem0) |
268
+ | Vision & Image | [fal](https://docs.pipecat.ai/server/services/image-generation/fal), [Google Imagen](https://docs.pipecat.ai/server/services/image-generation/fal), [Moondream](https://docs.pipecat.ai/server/services/vision/moondream) |
269
+ | Audio Processing | [Silero VAD](https://docs.pipecat.ai/server/utilities/audio/silero-vad-analyzer), [Krisp](https://docs.pipecat.ai/server/utilities/audio/krisp-filter), [Koala](https://docs.pipecat.ai/server/utilities/audio/koala-filter), [ai-coustics](https://docs.pipecat.ai/server/utilities/audio/aic-filter) |
270
+ | Analytics & Metrics | [OpenTelemetry](https://docs.pipecat.ai/server/utilities/opentelemetry), [Sentry](https://docs.pipecat.ai/server/services/analytics/sentry) |
266
271
 
267
272
  📚 [View full services documentation →](https://docs.pipecat.ai/server/services/supported-services)
268
273
 
@@ -1,4 +1,4 @@
1
- dv_pipecat_ai-0.0.85.dev698.dist-info/licenses/LICENSE,sha256=DWY2QGf2eMCFhuu2ChairtT6CB7BEFffNVhXWc4Od08,1301
1
+ dv_pipecat_ai-0.0.85.dev814.dist-info/licenses/LICENSE,sha256=DWY2QGf2eMCFhuu2ChairtT6CB7BEFffNVhXWc4Od08,1301
2
2
  pipecat/__init__.py,sha256=j0Xm6adxHhd7D06dIyyPV_GlBYLlBnTAERVvD_jAARQ,861
3
3
  pipecat/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  pipecat/adapters/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -9,7 +9,7 @@ pipecat/adapters/schemas/function_schema.py,sha256=ePXU6mmMTcLCh7Jn5hXpyn-Lc2G7r
9
9
  pipecat/adapters/schemas/tools_schema.py,sha256=TLJ6l_JMt9l_6xTp9c64relYxmLd0nhSD0lGFaWNh44,3062
10
10
  pipecat/adapters/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
11
  pipecat/adapters/services/anthropic_adapter.py,sha256=69rhW5qs43bKtDCZ-X-My3hFiJ8gc08jLsaaFZnyrU4,13951
12
- pipecat/adapters/services/aws_nova_sonic_adapter.py,sha256=uS_z6XXyfF6B5mLR96_4jU_IOgoHR-593nzQm08-pbc,3847
12
+ pipecat/adapters/services/aws_nova_sonic_adapter.py,sha256=c1O56YrvYNIaX1cHcsbzGonu_dgwhvMR0gi1BOCWH-8,8101
13
13
  pipecat/adapters/services/bedrock_adapter.py,sha256=-NVQSuh2DB4v3sscp6CeikwWaQ3qP5VvYa7AQiKPJBU,12380
14
14
  pipecat/adapters/services/gemini_adapter.py,sha256=C0aUAydw-oeCFXQNcH11ztj4VtU4N9JGTGNb4Zu3Lw8,11846
15
15
  pipecat/adapters/services/open_ai_adapter.py,sha256=s259oT983Mbnv7Y7jw3NK2VRR9lRD7yXkFgUer6Mah8,4840
@@ -97,10 +97,10 @@ pipecat/pipeline/base_task.py,sha256=cnyD4wLtE5iQmLl8vG7oiXkx7AOLxhLzcSkDeC3pL-Q
97
97
  pipecat/pipeline/llm_switcher.py,sha256=_L-_Yo2im7KlXcJBAhmv-oT33ZD6EjkAvBQFXr4BFeY,2861
98
98
  pipecat/pipeline/parallel_pipeline.py,sha256=1HdG0zWgbnrnRf6_-akkOTI5TB6fvOelx1DClX2glFc,6553
99
99
  pipecat/pipeline/pipeline.py,sha256=FVXHUwBch4D8MXQYrCE_So7e3gVxl-ELOLj1u_H_-8c,7560
100
- pipecat/pipeline/runner.py,sha256=ysuIYNLtwdxXA3dvFzlmzXrgP7t667Kp_auFgrmqo_Y,4800
100
+ pipecat/pipeline/runner.py,sha256=RMyZj8YuSbHQS0Cb_z8BcZXaJyRqU07dhuTb2U1gn1E,4941
101
101
  pipecat/pipeline/service_switcher.py,sha256=Qef3iVolQMq3ojHAd2St1gYz8VP_ZzUyNt0pGcQu6kM,6762
102
102
  pipecat/pipeline/sync_parallel_pipeline.py,sha256=dZ17GoY2q8cHwNr9zPOM-TdiC4ERe9oGEkMEV9-YDtI,10654
103
- pipecat/pipeline/task.py,sha256=9aQUswiaFh1KQjGMY_NKKqu2D2Y0JvGS2e9NxpzP73M,36631
103
+ pipecat/pipeline/task.py,sha256=vPbUWXN2lEhkNWIdSgz6j75joUC9RWKrEbT5YMQYplQ,35750
104
104
  pipecat/pipeline/task_observer.py,sha256=DswTNgdV1bS9buKNt-E5T5vNptffhjeqoD75YNmP1GQ,6835
105
105
  pipecat/pipeline/tts_switcher.py,sha256=hyGFVRbDQfaIaeIzyVkUHA3sgAFpsdkRBMId_cZJ-gM,1067
106
106
  pipecat/pipeline/to_be_updated/merge_pipeline.py,sha256=jLEWdufIW3z1xZhdoLowdJ_SGz018DQw8JYGwlBYvE4,1845
@@ -121,7 +121,7 @@ pipecat/processors/aggregators/dtmf_aggregator.py,sha256=4JBpjNXCZI8oFDLY4Y9x5sp
121
121
  pipecat/processors/aggregators/gated.py,sha256=tii0sRrBkRW6y9Xq5iTWPnqlOEejU4VqPIPtdOa61pc,3073
122
122
  pipecat/processors/aggregators/gated_llm_context.py,sha256=CPv6sMA8irD1zZ3fU1gSv6D7qcPvCA0MdpFhBtJ_ekI,3007
123
123
  pipecat/processors/aggregators/gated_open_ai_llm_context.py,sha256=DgqmdPj1u3fP_SVmxtfP7NjHqnyhN_RVVTDfmjbkxAs,361
124
- pipecat/processors/aggregators/llm_context.py,sha256=eDf1cQElcISLx3onaA9LCWuepzb2G_JGszLzpNXggXo,9723
124
+ pipecat/processors/aggregators/llm_context.py,sha256=wNbZA0Vt0FzNc5cu06xiv1z7DIClIlfqR1ZD8EusbVw,11085
125
125
  pipecat/processors/aggregators/llm_response.py,sha256=4d30xMaBZKmHYTsiS-SLQNAKJN-qFQi60asMFLadwyw,47286
126
126
  pipecat/processors/aggregators/llm_response_universal.py,sha256=5PqmpATpekD8BVWyBExZgatKHsNbZem8M-A7_VwTbiQ,34334
127
127
  pipecat/processors/aggregators/openai_llm_context.py,sha256=cC8DXdVPERRN04i0i-1Ys6kusvnbMALeH-Z8Pu5K684,12999
@@ -140,7 +140,7 @@ pipecat/processors/filters/wake_check_filter.py,sha256=EKOuw_DCK4EWJ794xS8Xza-QQ
140
140
  pipecat/processors/filters/wake_notifier_filter.py,sha256=1yV3Tw8OROCS97nuZNs4igcNvRQyYu1RG2gNvYMWxKc,2077
141
141
  pipecat/processors/frameworks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
142
142
  pipecat/processors/frameworks/langchain.py,sha256=tQlgsEZGxL5CUjGq2Qhrjvi5kN5mcSER4fMRWb8ydNs,4125
143
- pipecat/processors/frameworks/rtvi.py,sha256=0KkrrQ-VzikArcVXVKz1RQA2eBLZUJhUI59SK3zGQjE,62439
143
+ pipecat/processors/frameworks/rtvi.py,sha256=XtTK5hX6K-C6f_yLwk8ljBvKJjAl3vSV8mWz-5-w4LY,62496
144
144
  pipecat/processors/frameworks/strands_agents.py,sha256=vaYcNtM084OWoXDQaT6eoGoP1pxpW4kxlyTlmx8E0_M,7172
145
145
  pipecat/processors/gstreamer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
146
146
  pipecat/processors/gstreamer/pipeline_source.py,sha256=eXckOY1rQeSBjSfLs8EFEkdlTZEq94osOTFWeNh6C4Y,9765
@@ -148,10 +148,10 @@ pipecat/processors/metrics/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJ
148
148
  pipecat/processors/metrics/frame_processor_metrics.py,sha256=8X0qRbYqfr8YJoIjp5RKqDxHf8Vlt4OCWcIW9SYaiZo,6665
149
149
  pipecat/processors/metrics/sentry.py,sha256=Gts-b-H3EDFUvv-qn44e9pSDAWUKk72tr7tEfutxxK0,4911
150
150
  pipecat/runner/__init__.py,sha256=iJh4vFMGNQYi_ATVGXJDU4rOJwI-1Y6fmkyV18-ddAE,64
151
- pipecat/runner/daily.py,sha256=9vQ4TWYBE5gt6mZJ3PjRe17M2__7JL1S9cbDWMIX79Q,7868
151
+ pipecat/runner/daily.py,sha256=t-D-sgVC2SnT_YCTDaQJgcxVnzL8-pQhdmxp7gV2snI,9646
152
152
  pipecat/runner/livekit.py,sha256=in-2Io3FUZV-VcZZ-gQCx9L1WnKp5sHqmm7tDYlFNl4,4582
153
- pipecat/runner/run.py,sha256=7ZU9S3EASUbVmm-S_Uc8eLeDItFCTtl2RXiJlzhtPmg,26958
154
- pipecat/runner/types.py,sha256=_FVgNkpDAjyyhNlRc06sL0fzh00uy1lJ1DJrJ2EhKEc,1691
153
+ pipecat/runner/run.py,sha256=McalzMoFYEJJRXyoD5PBAyUhHCdsEeeZJk8lBvplRck,30054
154
+ pipecat/runner/types.py,sha256=zHjbAiU17fG0ypLXCEzPu7bpDOutAg-4gE7TESvK8n0,1761
155
155
  pipecat/runner/utils.py,sha256=Ve9rjRvbt1o8e9by0nIrCJzUDGcuJUeYYhkqycmgHXc,18682
156
156
  pipecat/serializers/__init__.py,sha256=xcmbbR7YYU5C4HPbo2WVgPij-Bl_qlrLcnunCdpcZkg,804
157
157
  pipecat/serializers/asterisk.py,sha256=bPuGuLiCf04_H0d9Gc-5BpEtqD9BRNWnpZZq5MZ1fDY,6091
@@ -170,30 +170,30 @@ pipecat/services/ai_services.py,sha256=_RrDWfM8adV17atzY9RxK0nXRVM5kbUkKrvN90GAW
170
170
  pipecat/services/image_service.py,sha256=tqJun4nYeyN_PaWqTdF_CFsOiqBf3XX7R4et5Y07mEU,2357
171
171
  pipecat/services/llm_service.py,sha256=39y9tjrusTr8Zr9sFlg9xz86CXpy39FiyLtsbcbsu8g,25379
172
172
  pipecat/services/mcp_service.py,sha256=yS48Uj5qD4jnhYYhs9Kw1aa1cjdYIwxYYjzCc_u6M0o,14345
173
- pipecat/services/stt_service.py,sha256=cKm2GqU5gudNIcKbYXfjvFDZ7AP3v0wtLx90nciyuVk,12449
174
- pipecat/services/tts_service.py,sha256=gHaTRyqLaRp5PA9QtBI622IM5E6_iWRqLiWF0d6Gukg,34689
173
+ pipecat/services/stt_service.py,sha256=oBZ34DLvAoAzYMsWQqywkwy2Wjh_Rjh32k-d7CjffBI,12982
174
+ pipecat/services/tts_service.py,sha256=g_WMcH3OMQR5PLE3bbdMPnkQWMQTmfaGZCW24hBYwLs,36420
175
175
  pipecat/services/vision_service.py,sha256=v7Ft27xIwECAaL2ZzMZT8wG5aOA-JoUZWx2NxNaJ6pg,2580
176
176
  pipecat/services/websocket_service.py,sha256=AWv7CL6G_XAh815xVaKNPpjP5escp8Q880SYHG7kCoI,5745
177
177
  pipecat/services/anthropic/__init__.py,sha256=NfRQFoNZcUHsJA4mggeLalEmgM08TZdBjkRRjmyp6jE,261
178
178
  pipecat/services/anthropic/llm.py,sha256=Ui8PRhKx29crDOAwP3dLT_p7IY3YcXpSqVaq8Wp5P-s,42843
179
179
  pipecat/services/assemblyai/__init__.py,sha256=2gso9D1m2vigu0E1NuAYwKCQSvuHWk3UR_5-J8KhBVM,263
180
- pipecat/services/assemblyai/models.py,sha256=7XFho7D4zhjThRXvDCjV8FBYoVlDbBb-88L0YaJ3JZo,3812
181
- pipecat/services/assemblyai/stt.py,sha256=1xodklhxfXvHJi-S0oHim7VFuygu6jQ3tbiWbhycYtg,11580
180
+ pipecat/services/assemblyai/models.py,sha256=ECdUy3afytUMBMFWhR1lQjLEDZNEBVoQ5zKKNvXiiBc,4221
181
+ pipecat/services/assemblyai/stt.py,sha256=OIFNvFTMvjf2Tq1thQ-Yttv8zd_bRSYYzFpmOP4JTvw,11866
182
182
  pipecat/services/asyncai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
183
- pipecat/services/asyncai/tts.py,sha256=q5TnoXekAPbk8tnNvg7aPWjl-IYQkH1jB-YWCNoJAeU,16884
183
+ pipecat/services/asyncai/tts.py,sha256=Vp_B3-MFarxEGX3taH49YOrOe2hJZMYll8d6yiulcXY,17006
184
184
  pipecat/services/aws/__init__.py,sha256=9oP59LYkJdD9C8kRhQvXWYV6qliFFQ0rZOP48P38k3k,323
185
- pipecat/services/aws/llm.py,sha256=_8MHOlX4XZGn2jQVn-cd25CSEPSP_PBzIgaeNP5Fo-0,47143
186
- pipecat/services/aws/stt.py,sha256=uCRVemh21ijkIzOpkXBEhFJtPbNYStIT74XB2JtiNYw,21171
185
+ pipecat/services/aws/llm.py,sha256=OgFLCoxXR08inUBo3nechDwGWyY4Rp8gyEmk0NLEUa8,47911
186
+ pipecat/services/aws/stt.py,sha256=cTz6BNfaBUTvCeW8llKSOe6k4Y1X9-x6409ZH0RmHIE,21296
187
187
  pipecat/services/aws/tts.py,sha256=36Ag_joiE1ggK2hTZJNFC23fCyWTLSPBY400nNKAscQ,11188
188
188
  pipecat/services/aws/utils.py,sha256=gw7H_C4PpPfm-cNuCthnArB03RqwF1_lxJAZJtojRuY,13905
189
189
  pipecat/services/aws/nova_sonic/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
190
- pipecat/services/aws/nova_sonic/context.py,sha256=siiz7D5uL8IkS-58lYULYyJNNwVCsBcJfVGhhqJDAyI,13057
190
+ pipecat/services/aws/nova_sonic/context.py,sha256=1Tgx7BQhTFDeeYVoWWyGjMPxlyIJ98SZBzjuQ-o7x3w,15105
191
191
  pipecat/services/aws/nova_sonic/frames.py,sha256=IB399YEgmdd5n5IaCmRTJlvl6DCV9mZv7WABx_5LCRg,644
192
- pipecat/services/aws/nova_sonic/llm.py,sha256=3rsvsF_RSNxI1N1RyZFNZLrjGhJD9JuF6UCJUAPVptQ,44180
192
+ pipecat/services/aws/nova_sonic/llm.py,sha256=YNdKbg0t3uK7eQeNanjzdppu4lFv3qEhunt4lKh40dY,49168
193
193
  pipecat/services/aws/nova_sonic/ready.wav,sha256=pxdKxZtYRV2IVv63v7K1EPkxyV_OxocMkaXbKsHfby0,23484
194
194
  pipecat/services/aws_nova_sonic/__init__.py,sha256=aPkmG4kwTPcLtLGQDkV7dOoZWaEXf81dq3LWBMw0v6Y,495
195
195
  pipecat/services/aws_nova_sonic/aws.py,sha256=TXD0Brbpp2E1yTw4l68IcpfywtoZgbwauTaCpFYF5b8,719
196
- pipecat/services/aws_nova_sonic/context.py,sha256=p18P6zl5VLIIJmgYc-jr-I6BKlF_U-y5Ri4VMBBX3q8,716
196
+ pipecat/services/aws_nova_sonic/context.py,sha256=JJDcKzgCnbgYUmWGJ9Ms_M72AtF6YVHqxfXlU7a2U_0,703
197
197
  pipecat/services/aws_nova_sonic/frames.py,sha256=FJp2fcIwS_6ByX_cAnAtcGeYV3lzR5nd4NaIlEMMGM8,532
198
198
  pipecat/services/azure/__init__.py,sha256=mgnoJYeqKqwRvr18UZJhFZ2FTkGyob7r6IdtEiOeT3k,301
199
199
  pipecat/services/azure/common.py,sha256=JKGDYYW1zpRaWy_l_5ZL6viHj2Ch-mKMoVx2gdCKpeo,9893
@@ -204,27 +204,27 @@ pipecat/services/azure/tts.py,sha256=ytgXcYvdVkshC30K88ZGbYFtK8SmSV22h9jQEYKf9ew
204
204
  pipecat/services/azure/realtime/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
205
205
  pipecat/services/azure/realtime/llm.py,sha256=MnDiw-YJP3kll1gbkta4z4vsWfWZ5oBprZCinMP9O0M,2385
206
206
  pipecat/services/cartesia/__init__.py,sha256=vzh0jBnfPwWdxFfV-tu0x1HFoOTgr9s91GYmD-CJUtY,284
207
- pipecat/services/cartesia/stt.py,sha256=mwGF_SOpo021q2y5tpwNgR78DOOqPXrygWgSoBnfd-M,12187
208
- pipecat/services/cartesia/tts.py,sha256=tD4dlBhZUKcWjTl9TpqfvfEc0AWd6qI_hC_Pu9BhCHw,24230
207
+ pipecat/services/cartesia/stt.py,sha256=00k9gQYo_xPKb-RRJ-RNV4LPFw-7xXiFU7ACFLYttWY,12388
208
+ pipecat/services/cartesia/tts.py,sha256=EdpVJoDhZn7N5hj-VDsCaO-W2MsA78UzOdrHR4G7w08,24355
209
209
  pipecat/services/cerebras/__init__.py,sha256=5zBmqq9Zfcl-HC7ylekVS5qrRedbl1mAeEwUT-T-c_o,259
210
210
  pipecat/services/cerebras/llm.py,sha256=-yzSe_6YDGigwzES-LZS4vNXMPugmvsIYEpTySyr5nA,3047
211
211
  pipecat/services/deepgram/__init__.py,sha256=IjRtMI7WytRDdmYVpk2qDWClXUiNgdl7ZkvEAWg1eYE,304
212
212
  pipecat/services/deepgram/stt.py,sha256=IvdKvo23PxhKoWTJDxuK4Uoo0wCtkFGAE_QrMUoGdYM,13732
213
213
  pipecat/services/deepgram/tts.py,sha256=H_2WCJEx3_L4ytrHHRNkA-6GKTd1coou_vvTfiEodpQ,3745
214
214
  pipecat/services/deepgram/flux/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
215
- pipecat/services/deepgram/flux/stt.py,sha256=gY0KjlKryzRSL7Tl5rCRvjGccV-aWZnONHR1eHFM3MA,25714
215
+ pipecat/services/deepgram/flux/stt.py,sha256=yCZodrHAOShgYy_GbdviX8iAuh36dBgDL41gHMXVxEM,25887
216
216
  pipecat/services/deepseek/__init__.py,sha256=bU5z_oNGzgrF_YpsD9pYIMtEibeZFaUobbRjJ9WcYyE,259
217
217
  pipecat/services/deepseek/llm.py,sha256=5KjpU2blmhUTM3LcRE1ymdsk6OmoFkIzeQgyNOGwQh8,3112
218
218
  pipecat/services/elevenlabs/__init__.py,sha256=cMx5v0HEMh4WetMm5byR9tIjG6_wNVs9UxqWyB3tjlM,313
219
219
  pipecat/services/elevenlabs/stt.py,sha256=F3xD82eOIy5OyyE-5StdoFFvKjIXlos2yyP0cyNQj6Y,12214
220
- pipecat/services/elevenlabs/tts.py,sha256=jT6QOvBzMRoMCauhwUL4SvxrxZxe7yLjmYpVV7sGwlA,42753
220
+ pipecat/services/elevenlabs/tts.py,sha256=Okctydqoz2HG9B69l-bDunNHcqoul-kUxhEZjYt539U,45188
221
221
  pipecat/services/fal/__init__.py,sha256=z_kfZETvUcKy68Lyvni4B-RtdkOvz3J3eh6sFDVKq6M,278
222
222
  pipecat/services/fal/image.py,sha256=vArKLKrIGoZfw_xeZY_E7zbUzfzVsScj-R7mOmVqjRQ,4585
223
223
  pipecat/services/fal/stt.py,sha256=-5tw7N8srBJTS0Q65SN4csmLkIB6cLHR9pXKimxg55o,9678
224
224
  pipecat/services/fireworks/__init__.py,sha256=-YCe9iOzvUmbNSQOtpbzG6xMxT69KTIC1oqgAVoykQ8,261
225
225
  pipecat/services/fireworks/llm.py,sha256=IzzMYDXDoDnvJ5S7Trbw7I4Tcv2vPX7w2T6jk3Agvlw,3153
226
226
  pipecat/services/fish/__init__.py,sha256=zXTvCM-fv0baT3uSV3FSGMyQKmNFDfj_Ka24LodPyHc,251
227
- pipecat/services/fish/tts.py,sha256=5Ln9G3SjxSQ28lG4PXGnrRaUs_qy4PyBnafQYkdEwak,11959
227
+ pipecat/services/fish/tts.py,sha256=_SLg1Y56xpWTFcgMH7tDP7fUNd7F38bAH75u3S71P-4,12081
228
228
  pipecat/services/gemini_multimodal_live/__init__.py,sha256=dcl6OwNkW6ZjpgCvUeRu-W3n2pZ-89TUA-flpSrgnbs,87
229
229
  pipecat/services/gemini_multimodal_live/events.py,sha256=T7OZMd4_AkZsdLZfSHzX2P3ov39gadR0qlRdl2dck0k,1339
230
230
  pipecat/services/gemini_multimodal_live/file_api.py,sha256=rFHSq1Zz8wDH2cUv07Y_eBDJzTyGhmmFjMosUD8m7P4,1310
@@ -240,7 +240,7 @@ pipecat/services/google/llm.py,sha256=EasDVLh5GwFy2IA7zazFZXO2ZiwRCQuo-biYUvUxC6
240
240
  pipecat/services/google/llm_openai.py,sha256=cJDSKFOFFbBxWdsRC2f2kuPa_lpi-DgnfaPJLNsz82E,7520
241
241
  pipecat/services/google/llm_vertex.py,sha256=0UL2U0aDATWTAWYh-ypTNihF4RS1tsl_E4KwPhSQ76c,8137
242
242
  pipecat/services/google/rtvi.py,sha256=PZb1yVny5YG7_XmJRXPzs3iYapeQ4XHreFN1v6KwTGM,3014
243
- pipecat/services/google/stt.py,sha256=1vKZNEKZ-KLKp_7lA_VijznSqTwYRFYK1sDn2qteKtI,32814
243
+ pipecat/services/google/stt.py,sha256=Cq8tHOMO0GmkgnaoMSngOp5gNVqVzhdGDLBjbZtHLv0,32929
244
244
  pipecat/services/google/tts.py,sha256=ecll4n10twIgOQTCKxCHGgsBDDAPUpnhd42QQpzE_hU,32328
245
245
  pipecat/services/google/gemini_live/__init__.py,sha256=8ygwW2AFZKaE8JvEobIgM8PqjKmz05cr0ybmTe09bTM,125
246
246
  pipecat/services/google/gemini_live/file_api.py,sha256=w7_tpZ9hoZlxdZNAv1lbvxsto5mJzTJU5_1ioMyvUsQ,7162
@@ -263,7 +263,7 @@ pipecat/services/hume/tts.py,sha256=q5Zk8p_R-g2oYAWGLGZgUZtXvu69bXACcGtru8hz5dw,
263
263
  pipecat/services/inworld/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
264
264
  pipecat/services/inworld/tts.py,sha256=vESlx2gjVNQDl24DUuxIRBxXqJtRyii9m1KaJT6py9w,26908
265
265
  pipecat/services/lmnt/__init__.py,sha256=wb1p5pg2fAvA5fupVFoHqAEig8OlnHHzi6RjgT4smhs,251
266
- pipecat/services/lmnt/tts.py,sha256=cf2kulWSDOhIUfaUAf5RQAalasfTQKFnfgpYTNpQhKc,10672
266
+ pipecat/services/lmnt/tts.py,sha256=LG2qP81gcVzVODxtEtFwRLOp4f22KqqqtDQNVFge6C4,10793
267
267
  pipecat/services/mem0/__init__.py,sha256=IF5kd9cSXnZzS6kyoH_5sMy0j9NiPFYIPlIaVkGBgI8,257
268
268
  pipecat/services/mem0/memory.py,sha256=KZzzUyZCm84EiSgxhWAmdOVWaVH6YOUkPLpLF11RAN0,10629
269
269
  pipecat/services/minimax/__init__.py,sha256=rfHd18ccf-oCytmkKFSyZ1tV-FWglM1D-iKNkA2_sxc,110
@@ -273,7 +273,7 @@ pipecat/services/mistral/llm.py,sha256=WK_gtttaXuIS1raYeEkkCtBpnd2f2Py1CZXYVqwZR
273
273
  pipecat/services/moondream/__init__.py,sha256=FBRSr8-vXhD7YyXcqOfjX7VFq3XcujwX3kp_MOs9vzg,267
274
274
  pipecat/services/moondream/vision.py,sha256=UcDUmsvW1lvH0PjOpOQhc8caT5iwHBS7ePYr4QpxpsQ,5235
275
275
  pipecat/services/neuphonic/__init__.py,sha256=31acn0fpeH6Zfan6kKDy4SVa9NXyeHjBl5DSZSYNRTs,261
276
- pipecat/services/neuphonic/tts.py,sha256=pVkKTa-DSOJepgPnweDstQ04GAe_BxYoIKm-snRy6BI,20344
276
+ pipecat/services/neuphonic/tts.py,sha256=OBQdUULY0Os1IToJQeI6NnOuKw2n7LdbvKhiw3ILLo8,20466
277
277
  pipecat/services/nim/__init__.py,sha256=bRubOujNmtaBTSBgd3BBXP5fClzbn09ajYPmmYZsJpA,249
278
278
  pipecat/services/nim/llm.py,sha256=o4WPGI6kOmSiMV7WwOZ0cNEAoq9hW4Aqs2R8X7c9i94,4427
279
279
  pipecat/services/ollama/__init__.py,sha256=aw-25zYsR8LR74OFFlMKMTnJjaKwOzdPWVsClueNRkI,255
@@ -283,7 +283,7 @@ pipecat/services/openai/base_llm.py,sha256=J4Ltg1KOXciiUIMBFLn0SmDTZereEE-1LKrPf
283
283
  pipecat/services/openai/image.py,sha256=3e3h-dVQ6DQuQE7fp8akXwRMd-oYOdGuZg7RCOjHu9A,2994
284
284
  pipecat/services/openai/llm.py,sha256=_aKtz1VebSFUUenT3tH6mBW9pSCm65_u45cDu_dkTzs,7396
285
285
  pipecat/services/openai/stt.py,sha256=Idf0k73kxFyDgNRBt62MFpoKKNsBV9bwvJteJ6MGWzQ,2419
286
- pipecat/services/openai/tts.py,sha256=CnBVmUxa5UYOLoiWmA-cBC-9YyoaAhHgIzqA1i9wX0s,5987
286
+ pipecat/services/openai/tts.py,sha256=GEUqdJ1jWC7tWsw5d7VC6nRoOfja-WksMUw9PQYW-Mg,7181
287
287
  pipecat/services/openai/realtime/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
288
288
  pipecat/services/openai/realtime/context.py,sha256=pV1GO-ylQqyATVnfYOa4pSR2-QXpvQfSCuRRETVtmE0,10799
289
289
  pipecat/services/openai/realtime/events.py,sha256=QuxgmLS8Bx8PqgmUdngQYPtlq13b7akm51S_dzkLlS8,34519
@@ -307,28 +307,30 @@ pipecat/services/openrouter/llm.py,sha256=4_YrBbotynRw9BBXc2OD9KrHoC5fF90_q1cCxT
307
307
  pipecat/services/perplexity/__init__.py,sha256=Qf0gyJWhkk7D0ehYf24vwtalOrcrp98aGaj5XuApdsA,263
308
308
  pipecat/services/perplexity/llm.py,sha256=uwd5eLchE26BK9fJSWx9yZB6IXRxAd-3jW3AYvJlHc4,5752
309
309
  pipecat/services/piper/__init__.py,sha256=BNqnIk6pG2DVvJ0uI2ZB93M3uXX_0B1ByfO7dnKjsBY,253
310
- pipecat/services/piper/tts.py,sha256=WURnz54hTaoHHoc2cJTTQe9yV3jSoQlM25J-Ozj0O24,3992
310
+ pipecat/services/piper/tts.py,sha256=mIHa8ufpva43JVY8a4RRhdSdypg4dVXy81FIK_ek958,3843
311
311
  pipecat/services/playht/__init__.py,sha256=Ko1WjLQtTaHvZAgCuONeRkkXRbrCuRx53C296VLa2YY,255
312
- pipecat/services/playht/tts.py,sha256=RlsOGpPEhQ1Z7sPJtqrYmQtAKMezpFgIvnOAcpj8Fck,23099
312
+ pipecat/services/playht/tts.py,sha256=-mWfkc4S4-11vASVqBc2AaA_Je8Z52rIk0aYgpgMWOc,23221
313
313
  pipecat/services/qwen/__init__.py,sha256=gS81Y-9gy_ke17m-2Tt-8mDrawcFNZ15_i0OnT-HYyg,251
314
314
  pipecat/services/qwen/llm.py,sha256=X6GOaoKBmQzEI8n-GO2bu4AFdhNFXt6wf7DMMwJ0QFo,1969
315
315
  pipecat/services/rime/__init__.py,sha256=lK26ZYuDZS51OybSVPAx6rt710UA1ZBP31wPL1_VeLg,251
316
- pipecat/services/rime/tts.py,sha256=ZCuwPSPxR-pC59WH8T53z5PYXNBzT9GFX_79F3s0gaE,20760
316
+ pipecat/services/rime/tts.py,sha256=Iux3gAjiLRN_clC3rxX_OXoA70vAsgMI3gvQI2fmZ_k,20722
317
317
  pipecat/services/riva/__init__.py,sha256=rObSsj504O_TMXhPBg_ymqKslZBhovlR-A0aaRZ0O6A,276
318
- pipecat/services/riva/stt.py,sha256=dtg8toijmexWB3uipw0EQ7ov3DFgHj40kFFv1Zadmmc,25116
318
+ pipecat/services/riva/stt.py,sha256=bAss4dimx8eideaSPmPHM15_rSV3tfXNf13o5n1mfv4,25146
319
319
  pipecat/services/riva/tts.py,sha256=idbqx3I2NlWCXtrIFsjEaYapxA3BLIA14ai3aMBh-2w,8158
320
+ pipecat/services/salesforce/__init__.py,sha256=OFvYbcvCadYhcKdBAVLj3ZUXVXQ1HyVyhgxIFf6_Thg,173
321
+ pipecat/services/salesforce/llm.py,sha256=i4bHB7IE61ahDCZJxbO4jqOI3AdA13m1ufhEBuPWqTk,18065
320
322
  pipecat/services/sambanova/__init__.py,sha256=oTXExLic-qTcsfsiWmssf3Elclf3IIWoN41_2IpoF18,128
321
323
  pipecat/services/sambanova/llm.py,sha256=5XVfPLEk__W8ykFqLdV95ZUhlGGkAaJwmbciLdZYtTc,8976
322
324
  pipecat/services/sambanova/stt.py,sha256=ZZgEZ7WQjLFHbCko-3LNTtVajjtfUvbtVLtFcaNadVQ,2536
323
325
  pipecat/services/sarvam/__init__.py,sha256=B4TN_tTHV9fWg0aSoPvfQlXISA0nJaQ9-u08I9UWvH4,280
324
326
  pipecat/services/sarvam/stt.py,sha256=p9Iq4loMwnftNZ_S0WoFSoX7iBbRKyja6RsVWbpj508,19314
325
- pipecat/services/sarvam/tts.py,sha256=WW8w2r3kIT8EJt4SuXodPmf9paR1Lzb33izuQ9ucdys,24821
327
+ pipecat/services/sarvam/tts.py,sha256=wzfa0vvmd0wtuzqFSjRbTmHHS8H0L8nP9jkXwqFUJ3A,27638
326
328
  pipecat/services/simli/__init__.py,sha256=cbDcqOaGsEgKbGYKpJ1Vv7LN4ZjOWA04sE84WW5vgQI,257
327
329
  pipecat/services/simli/video.py,sha256=Zu2XLvl2Y6VHaWzT9wEdzW9d0EYoZyzYLxjQFyV8vho,8320
328
330
  pipecat/services/soniox/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
329
331
  pipecat/services/soniox/stt.py,sha256=AhJF2YOzmqgB80x22jocgzr3neYCBMyxzP_WjkYR9Gc,15441
330
332
  pipecat/services/speechmatics/__init__.py,sha256=Jgq1fqrZVkpWC21D79L1cn5Ub8PnYgnnCaqC5pOlbIc,89
331
- pipecat/services/speechmatics/stt.py,sha256=Uzal8sfbD-AQBUB3Nz-He2Pwlp4-vlkQPS1rcqXw6n0,44544
333
+ pipecat/services/speechmatics/stt.py,sha256=GLGJzlMSeZ1WzTOMjhKXDl5JYkqGhnFTbP3o0ez0hSw,44696
332
334
  pipecat/services/tavus/__init__.py,sha256=SNyyi2Xq6tXIihDG2Bwvmg6Srbd-uWd1RwG-NKWcPuI,257
333
335
  pipecat/services/tavus/video.py,sha256=TspwxXi3tkUKk4vgZJ_PtsRsHn8euQR3H2S4ZLqp7ko,10704
334
336
  pipecat/services/together/__init__.py,sha256=hNMycJDDf3CLiL9WA9fwvMdYphyDWLv0OabYIMgvC1c,259
@@ -350,8 +352,8 @@ pipecat/tests/utils.py,sha256=DEHDQV8uhCuKIqoHUPGVdUoCiKqTCG9zv5GqLXWWwvY,7870
350
352
  pipecat/transcriptions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
351
353
  pipecat/transcriptions/language.py,sha256=-mWI1MiZbasuoqZTOBH69dAmoM7-UJzWq9rSCcrnmh4,8228
352
354
  pipecat/transports/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
353
- pipecat/transports/base_input.py,sha256=hTMszjJ8G5eWMN6a24c26GrfVRMVg43bF4bUQO8Tesc,19962
354
- pipecat/transports/base_output.py,sha256=ST0f5uFr9_TI--YvUUq5nzakOhHVbQDYsCu8JSlJBBk,35797
355
+ pipecat/transports/base_input.py,sha256=BDex3CfCefwXyjK0M_FBXYEjqXYKUKR5ODtxcRp66uI,20086
356
+ pipecat/transports/base_output.py,sha256=1Ho9sxI80B1HaooLG1uqF_8ALLXjtyidsyJtQEd2C24,35214
355
357
  pipecat/transports/base_transport.py,sha256=JlNiH0DysTfr6azwHauJqY_Z9HJC702O29Q0qrsLrg4,7530
356
358
  pipecat/transports/daily/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
357
359
  pipecat/transports/daily/transport.py,sha256=VanO33ff9g6px-vwGgT6M7cMVg786pOGfMU7Okm7a78,91917
@@ -376,8 +378,8 @@ pipecat/transports/services/tavus.py,sha256=R-IK2MO1ES1NcYbMYfvsG_LceXlYhpMA0xkV
376
378
  pipecat/transports/services/helpers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
377
379
  pipecat/transports/services/helpers/daily_rest.py,sha256=jzt_PNuQ1N1YR2_zRrM0wNs01fHmClLf1utNKn_FT8Q,554
378
380
  pipecat/transports/smallwebrtc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
379
- pipecat/transports/smallwebrtc/connection.py,sha256=UPe0qOuWVQSJbJnOlCtyLcuSl5aDMcH1D1qL1DiaONE,27764
380
- pipecat/transports/smallwebrtc/request_handler.py,sha256=FLxhRTsA7Av9Oh-ID_MhtE2hgS7l7q9xc06fqxl2_iY,7942
381
+ pipecat/transports/smallwebrtc/connection.py,sha256=4ifK_4QbGPRlOkHJH3hZKfWunOnFTUEUQTROe_0FTHM,27972
382
+ pipecat/transports/smallwebrtc/request_handler.py,sha256=jmrynGnkTsRHTM8Td5Au6TqPfEb_lFSjWbNlVkr52ZA,9244
381
383
  pipecat/transports/smallwebrtc/transport.py,sha256=6NelvoT_II7aekkNDqR3zbRjESf7xQaCOp82xjuFqu0,35949
382
384
  pipecat/transports/tavus/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
383
385
  pipecat/transports/tavus/transport.py,sha256=VvliGwdi9fu-X-SIU05LU4IyyyhoedO7xvMPNxptIq8,28604
@@ -392,7 +394,7 @@ pipecat/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
392
394
  pipecat/utils/base_object.py,sha256=xnG4FX-ZrmswM2GItIMDtSVus_lHjaeTigi8yhw5n7o,7185
393
395
  pipecat/utils/logger_config.py,sha256=5-RmvReZIINeqSXz3ALhEIiMZ_azmpOxnlIkdyCjWWk,5606
394
396
  pipecat/utils/network.py,sha256=RRQ7MmTcbeXBJ2aY5UbMCQ6elm5B8Rxkn8XqkJ9S0Nc,825
395
- pipecat/utils/string.py,sha256=YbQLVNrY2-LzInOiDFqXmHg7XLewJak37q71Sen3_xo,7306
397
+ pipecat/utils/string.py,sha256=NIkp2Zesx8hvtVYGTWV1gaUkSerePLzUxl-mOKJ7XXQ,7321
396
398
  pipecat/utils/time.py,sha256=lirjh24suz9EI1pf2kYwvAYb3I-13U_rJ_ZRg3nRiGs,1741
397
399
  pipecat/utils/utils.py,sha256=T2y1Mcd9yWiZiIToUiRkhW-n7EFf8juk3kWX3TF8XOQ,2451
398
400
  pipecat/utils/asyncio/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -412,7 +414,7 @@ pipecat/utils/tracing/service_decorators.py,sha256=fwzxFpi8DJl6BJbK74G0UEB4ccMJg
412
414
  pipecat/utils/tracing/setup.py,sha256=7TEgPNpq6M8lww8OQvf0P9FzYc5A30xICGklVA-fua0,2892
413
415
  pipecat/utils/tracing/turn_context_provider.py,sha256=ikon3plFOx0XbMrH6DdeHttNpb-U0gzMZIm3bWLc9eI,2485
414
416
  pipecat/utils/tracing/turn_trace_observer.py,sha256=dma16SBJpYSOE58YDWy89QzHyQFc_9gQZszKeWixuwc,9725
415
- dv_pipecat_ai-0.0.85.dev698.dist-info/METADATA,sha256=l9LjPnWF8C-VB0NHPuXS-VY36hK2kYPGNmaH8R-c6p4,31861
416
- dv_pipecat_ai-0.0.85.dev698.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
417
- dv_pipecat_ai-0.0.85.dev698.dist-info/top_level.txt,sha256=kQzG20CxGf-nSsHmtXHx3hY2-8zHA3jYg8jk0TajqXc,8
418
- dv_pipecat_ai-0.0.85.dev698.dist-info/RECORD,,
417
+ dv_pipecat_ai-0.0.85.dev814.dist-info/METADATA,sha256=2NzEkzE8gHAdK3GaGBqmoaGXpSmZPblAhkwf8iqe1oc,32875
418
+ dv_pipecat_ai-0.0.85.dev814.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
419
+ dv_pipecat_ai-0.0.85.dev814.dist-info/top_level.txt,sha256=kQzG20CxGf-nSsHmtXHx3hY2-8zHA3jYg8jk0TajqXc,8
420
+ dv_pipecat_ai-0.0.85.dev814.dist-info/RECORD,,
@@ -6,13 +6,47 @@
6
6
 
7
7
  """AWS Nova Sonic LLM adapter for Pipecat."""
8
8
 
9
+ import copy
9
10
  import json
10
- from typing import Any, Dict, List, TypedDict
11
+ from dataclasses import dataclass
12
+ from enum import Enum
13
+ from typing import Any, Dict, List, Optional, TypedDict
14
+
15
+ from loguru import logger
11
16
 
12
17
  from pipecat.adapters.base_llm_adapter import BaseLLMAdapter
13
18
  from pipecat.adapters.schemas.function_schema import FunctionSchema
14
19
  from pipecat.adapters.schemas.tools_schema import ToolsSchema
15
- from pipecat.processors.aggregators.llm_context import LLMContext
20
+ from pipecat.processors.aggregators.llm_context import LLMContext, LLMContextMessage
21
+
22
+
23
+ class Role(Enum):
24
+ """Roles supported in AWS Nova Sonic conversations.
25
+
26
+ Parameters:
27
+ SYSTEM: System-level messages (not used in conversation history).
28
+ USER: Messages sent by the user.
29
+ ASSISTANT: Messages sent by the assistant.
30
+ TOOL: Messages sent by tools (not used in conversation history).
31
+ """
32
+
33
+ SYSTEM = "SYSTEM"
34
+ USER = "USER"
35
+ ASSISTANT = "ASSISTANT"
36
+ TOOL = "TOOL"
37
+
38
+
39
+ @dataclass
40
+ class AWSNovaSonicConversationHistoryMessage:
41
+ """A single message in AWS Nova Sonic conversation history.
42
+
43
+ Parameters:
44
+ role: The role of the message sender (USER or ASSISTANT only).
45
+ text: The text content of the message.
46
+ """
47
+
48
+ role: Role # only USER and ASSISTANT
49
+ text: str
16
50
 
17
51
 
18
52
  class AWSNovaSonicLLMInvocationParams(TypedDict):
@@ -21,7 +55,9 @@ class AWSNovaSonicLLMInvocationParams(TypedDict):
21
55
  This is a placeholder until support for universal LLMContext machinery is added for AWS Nova Sonic.
22
56
  """
23
57
 
24
- pass
58
+ system_instruction: Optional[str]
59
+ messages: List[AWSNovaSonicConversationHistoryMessage]
60
+ tools: List[Dict[str, Any]]
25
61
 
26
62
 
27
63
  class AWSNovaSonicLLMAdapter(BaseLLMAdapter[AWSNovaSonicLLMInvocationParams]):
@@ -34,7 +70,7 @@ class AWSNovaSonicLLMAdapter(BaseLLMAdapter[AWSNovaSonicLLMInvocationParams]):
34
70
  @property
35
71
  def id_for_llm_specific_messages(self) -> str:
36
72
  """Get the identifier used in LLMSpecificMessage instances for AWS Nova Sonic."""
37
- raise NotImplementedError("Universal LLMContext is not yet supported for AWS Nova Sonic.")
73
+ return "aws-nova-sonic"
38
74
 
39
75
  def get_llm_invocation_params(self, context: LLMContext) -> AWSNovaSonicLLMInvocationParams:
40
76
  """Get AWS Nova Sonic-specific LLM invocation parameters from a universal LLM context.
@@ -47,7 +83,13 @@ class AWSNovaSonicLLMAdapter(BaseLLMAdapter[AWSNovaSonicLLMInvocationParams]):
47
83
  Returns:
48
84
  Dictionary of parameters for invoking AWS Nova Sonic's LLM API.
49
85
  """
50
- raise NotImplementedError("Universal LLMContext is not yet supported for AWS Nova Sonic.")
86
+ messages = self._from_universal_context_messages(self.get_messages(context))
87
+ return {
88
+ "system_instruction": messages.system_instruction,
89
+ "messages": messages.messages,
90
+ # NOTE: LLMContext's tools are guaranteed to be a ToolsSchema (or NOT_GIVEN)
91
+ "tools": self.from_standard_tools(context.tools) or [],
92
+ }
51
93
 
52
94
  def get_messages_for_logging(self, context) -> List[Dict[str, Any]]:
53
95
  """Get messages from a universal LLM context in a format ready for logging about AWS Nova Sonic.
@@ -62,7 +104,75 @@ class AWSNovaSonicLLMAdapter(BaseLLMAdapter[AWSNovaSonicLLMInvocationParams]):
62
104
  Returns:
63
105
  List of messages in a format ready for logging about AWS Nova Sonic.
64
106
  """
65
- raise NotImplementedError("Universal LLMContext is not yet supported for AWS Nova Sonic.")
107
+ return self._from_universal_context_messages(self.get_messages(context)).messages
108
+
109
+ @dataclass
110
+ class ConvertedMessages:
111
+ """Container for Google-formatted messages converted from universal context."""
112
+
113
+ messages: List[AWSNovaSonicConversationHistoryMessage]
114
+ system_instruction: Optional[str] = None
115
+
116
+ def _from_universal_context_messages(
117
+ self, universal_context_messages: List[LLMContextMessage]
118
+ ) -> ConvertedMessages:
119
+ system_instruction = None
120
+ messages = []
121
+
122
+ # Bail if there are no messages
123
+ if not universal_context_messages:
124
+ return self.ConvertedMessages()
125
+
126
+ universal_context_messages = copy.deepcopy(universal_context_messages)
127
+
128
+ # If we have a "system" message as our first message, let's pull that out into "instruction"
129
+ if universal_context_messages[0].get("role") == "system":
130
+ system = universal_context_messages.pop(0)
131
+ content = system.get("content")
132
+ if isinstance(content, str):
133
+ system_instruction = content
134
+ elif isinstance(content, list):
135
+ system_instruction = content[0].get("text")
136
+ if system_instruction:
137
+ self._system_instruction = system_instruction
138
+
139
+ # Process remaining messages to fill out conversation history.
140
+ # Nova Sonic supports "user" and "assistant" messages in history.
141
+ for universal_context_message in universal_context_messages:
142
+ message = self._from_universal_context_message(universal_context_message)
143
+ if message:
144
+ messages.append(message)
145
+
146
+ return self.ConvertedMessages(messages=messages, system_instruction=system_instruction)
147
+
148
+ def _from_universal_context_message(self, message) -> AWSNovaSonicConversationHistoryMessage:
149
+ """Convert standard message format to Nova Sonic format.
150
+
151
+ Args:
152
+ message: Standard message dictionary to convert.
153
+
154
+ Returns:
155
+ Nova Sonic conversation history message, or None if not convertible.
156
+ """
157
+ role = message.get("role")
158
+ if message.get("role") == "user" or message.get("role") == "assistant":
159
+ content = message.get("content")
160
+ if isinstance(message.get("content"), list):
161
+ content = ""
162
+ for c in message.get("content"):
163
+ if c.get("type") == "text":
164
+ content += " " + c.get("text")
165
+ else:
166
+ logger.error(
167
+ f"Unhandled content type in context message: {c.get('type')} - {message}"
168
+ )
169
+ # There won't be content if this is an assistant tool call entry.
170
+ # We're ignoring those since they can't be loaded into AWS Nova Sonic conversation
171
+ # history
172
+ if content:
173
+ return AWSNovaSonicConversationHistoryMessage(role=Role[role.upper()], text=content)
174
+ # NOTE: we're ignoring messages with role "tool" since they can't be loaded into AWS Nova
175
+ # Sonic conversation history
66
176
 
67
177
  @staticmethod
68
178
  def _to_aws_nova_sonic_function_format(function: FunctionSchema) -> Dict[str, Any]:
@@ -70,11 +70,15 @@ class PipelineRunner(BaseObject):
70
70
  """
71
71
  logger.debug(f"Runner {self} started running {task}", call_id=task._conversation_id)
72
72
  self._tasks[task.name] = task
73
- params = PipelineTaskParams(loop=self._loop)
73
+
74
+ # PipelineTask handles asyncio.CancelledError to shutdown the pipeline
75
+ # properly and re-raises it in case there's more cleanup to do.
74
76
  try:
77
+ params = PipelineTaskParams(loop=self._loop)
75
78
  await task.run(params)
76
79
  except asyncio.CancelledError:
77
- await self._cancel()
80
+ pass
81
+
78
82
  del self._tasks[task.name]
79
83
 
80
84
  # Cleanup base object.