dv-pipecat-ai 0.0.82.dev815__py3-none-any.whl → 0.0.82.dev857__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.
- {dv_pipecat_ai-0.0.82.dev815.dist-info → dv_pipecat_ai-0.0.82.dev857.dist-info}/METADATA +8 -3
- {dv_pipecat_ai-0.0.82.dev815.dist-info → dv_pipecat_ai-0.0.82.dev857.dist-info}/RECORD +106 -79
- pipecat/adapters/base_llm_adapter.py +44 -6
- pipecat/adapters/services/anthropic_adapter.py +302 -2
- pipecat/adapters/services/aws_nova_sonic_adapter.py +40 -2
- pipecat/adapters/services/bedrock_adapter.py +40 -2
- pipecat/adapters/services/gemini_adapter.py +276 -6
- pipecat/adapters/services/open_ai_adapter.py +88 -7
- pipecat/adapters/services/open_ai_realtime_adapter.py +39 -1
- pipecat/audio/dtmf/__init__.py +0 -0
- pipecat/audio/dtmf/types.py +47 -0
- pipecat/audio/dtmf/utils.py +70 -0
- pipecat/audio/filters/aic_filter.py +199 -0
- pipecat/audio/utils.py +9 -7
- pipecat/extensions/ivr/__init__.py +0 -0
- pipecat/extensions/ivr/ivr_navigator.py +452 -0
- pipecat/frames/frames.py +156 -43
- pipecat/pipeline/llm_switcher.py +76 -0
- pipecat/pipeline/parallel_pipeline.py +3 -3
- pipecat/pipeline/service_switcher.py +144 -0
- pipecat/pipeline/task.py +68 -28
- pipecat/pipeline/task_observer.py +10 -0
- pipecat/processors/aggregators/dtmf_aggregator.py +2 -2
- pipecat/processors/aggregators/llm_context.py +277 -0
- pipecat/processors/aggregators/llm_response.py +48 -15
- pipecat/processors/aggregators/llm_response_universal.py +840 -0
- pipecat/processors/aggregators/openai_llm_context.py +3 -3
- pipecat/processors/dtmf_aggregator.py +0 -2
- pipecat/processors/filters/stt_mute_filter.py +0 -2
- pipecat/processors/frame_processor.py +18 -11
- pipecat/processors/frameworks/rtvi.py +17 -10
- pipecat/processors/metrics/sentry.py +2 -0
- pipecat/runner/daily.py +137 -36
- pipecat/runner/run.py +1 -1
- pipecat/runner/utils.py +7 -7
- pipecat/serializers/asterisk.py +20 -4
- pipecat/serializers/exotel.py +1 -1
- pipecat/serializers/plivo.py +1 -1
- pipecat/serializers/telnyx.py +1 -1
- pipecat/serializers/twilio.py +1 -1
- pipecat/services/__init__.py +2 -2
- pipecat/services/anthropic/llm.py +113 -28
- pipecat/services/asyncai/tts.py +4 -0
- pipecat/services/aws/llm.py +82 -8
- pipecat/services/aws/tts.py +0 -10
- pipecat/services/aws_nova_sonic/aws.py +5 -0
- pipecat/services/cartesia/tts.py +28 -16
- pipecat/services/cerebras/llm.py +15 -10
- pipecat/services/deepgram/stt.py +8 -0
- pipecat/services/deepseek/llm.py +13 -8
- pipecat/services/fireworks/llm.py +13 -8
- pipecat/services/fish/tts.py +8 -6
- pipecat/services/gemini_multimodal_live/gemini.py +5 -0
- pipecat/services/gladia/config.py +7 -1
- pipecat/services/gladia/stt.py +23 -15
- pipecat/services/google/llm.py +159 -59
- pipecat/services/google/llm_openai.py +18 -3
- pipecat/services/grok/llm.py +2 -1
- pipecat/services/llm_service.py +38 -3
- pipecat/services/mem0/memory.py +2 -1
- pipecat/services/mistral/llm.py +5 -6
- pipecat/services/nim/llm.py +2 -1
- pipecat/services/openai/base_llm.py +88 -26
- pipecat/services/openai/image.py +6 -1
- pipecat/services/openai_realtime_beta/openai.py +5 -2
- pipecat/services/openpipe/llm.py +6 -8
- pipecat/services/perplexity/llm.py +13 -8
- pipecat/services/playht/tts.py +9 -6
- pipecat/services/rime/tts.py +1 -1
- pipecat/services/sambanova/llm.py +18 -13
- pipecat/services/sarvam/tts.py +415 -10
- pipecat/services/speechmatics/stt.py +2 -2
- pipecat/services/tavus/video.py +1 -1
- pipecat/services/tts_service.py +15 -5
- pipecat/services/vistaar/llm.py +2 -5
- pipecat/transports/base_input.py +32 -19
- pipecat/transports/base_output.py +39 -5
- pipecat/transports/daily/__init__.py +0 -0
- pipecat/transports/daily/transport.py +2371 -0
- pipecat/transports/daily/utils.py +410 -0
- pipecat/transports/livekit/__init__.py +0 -0
- pipecat/transports/livekit/transport.py +1042 -0
- pipecat/transports/network/fastapi_websocket.py +12 -546
- pipecat/transports/network/small_webrtc.py +12 -922
- pipecat/transports/network/webrtc_connection.py +9 -595
- pipecat/transports/network/websocket_client.py +12 -481
- pipecat/transports/network/websocket_server.py +12 -487
- pipecat/transports/services/daily.py +9 -2334
- pipecat/transports/services/helpers/daily_rest.py +12 -396
- pipecat/transports/services/livekit.py +12 -975
- pipecat/transports/services/tavus.py +12 -757
- pipecat/transports/smallwebrtc/__init__.py +0 -0
- pipecat/transports/smallwebrtc/connection.py +612 -0
- pipecat/transports/smallwebrtc/transport.py +936 -0
- pipecat/transports/tavus/__init__.py +0 -0
- pipecat/transports/tavus/transport.py +770 -0
- pipecat/transports/websocket/__init__.py +0 -0
- pipecat/transports/websocket/client.py +494 -0
- pipecat/transports/websocket/fastapi.py +559 -0
- pipecat/transports/websocket/server.py +500 -0
- pipecat/transports/whatsapp/__init__.py +0 -0
- pipecat/transports/whatsapp/api.py +345 -0
- pipecat/transports/whatsapp/client.py +364 -0
- {dv_pipecat_ai-0.0.82.dev815.dist-info → dv_pipecat_ai-0.0.82.dev857.dist-info}/WHEEL +0 -0
- {dv_pipecat_ai-0.0.82.dev815.dist-info → dv_pipecat_ai-0.0.82.dev857.dist-info}/licenses/LICENSE +0 -0
- {dv_pipecat_ai-0.0.82.dev815.dist-info → dv_pipecat_ai-0.0.82.dev857.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.82.
|
|
3
|
+
Version: 0.0.82.dev857
|
|
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
|
|
@@ -15,6 +15,7 @@ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
|
15
15
|
Requires-Python: >=3.10
|
|
16
16
|
Description-Content-Type: text/markdown
|
|
17
17
|
License-File: LICENSE
|
|
18
|
+
Requires-Dist: aiofiles<25,>=24.1.0
|
|
18
19
|
Requires-Dist: aiohttp<4,>=3.11.12
|
|
19
20
|
Requires-Dist: audioop-lts~=0.2.1; python_version >= "3.13"
|
|
20
21
|
Requires-Dist: docstring_parser~=0.16
|
|
@@ -31,6 +32,8 @@ Requires-Dist: soxr~=0.5.0
|
|
|
31
32
|
Requires-Dist: openai<=1.99.1,>=1.74.0
|
|
32
33
|
Requires-Dist: numba==0.61.2
|
|
33
34
|
Requires-Dist: wait_for2>=0.4.1; python_version < "3.12"
|
|
35
|
+
Provides-Extra: aic
|
|
36
|
+
Requires-Dist: aic-sdk~=1.0.1; extra == "aic"
|
|
34
37
|
Provides-Extra: anthropic
|
|
35
38
|
Requires-Dist: anthropic~=0.49.0; extra == "anthropic"
|
|
36
39
|
Provides-Extra: assemblyai
|
|
@@ -50,7 +53,7 @@ Requires-Dist: websockets<15.0,>=13.1; extra == "cartesia"
|
|
|
50
53
|
Provides-Extra: cerebras
|
|
51
54
|
Provides-Extra: deepseek
|
|
52
55
|
Provides-Extra: daily
|
|
53
|
-
Requires-Dist: daily-python~=0.19.
|
|
56
|
+
Requires-Dist: daily-python~=0.19.9; extra == "daily"
|
|
54
57
|
Provides-Extra: deepgram
|
|
55
58
|
Requires-Dist: deepgram-sdk~=4.7.0; extra == "deepgram"
|
|
56
59
|
Provides-Extra: elevenlabs
|
|
@@ -130,6 +133,8 @@ Requires-Dist: uvicorn<1.0.0,>=0.32.0; extra == "runner"
|
|
|
130
133
|
Requires-Dist: fastapi<0.117.0,>=0.115.6; extra == "runner"
|
|
131
134
|
Requires-Dist: pipecat-ai-small-webrtc-prebuilt>=1.0.0; extra == "runner"
|
|
132
135
|
Provides-Extra: sambanova
|
|
136
|
+
Provides-Extra: sarvam
|
|
137
|
+
Requires-Dist: websockets<15.0,>=13.1; extra == "sarvam"
|
|
133
138
|
Provides-Extra: sentry
|
|
134
139
|
Requires-Dist: sentry-sdk~=2.23.1; extra == "sentry"
|
|
135
140
|
Provides-Extra: local-smart-turn
|
|
@@ -231,7 +236,7 @@ You can connect to Pipecat from any platform using our official SDKs:
|
|
|
231
236
|
| 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) |
|
|
232
237
|
| Memory | [mem0](https://docs.pipecat.ai/server/services/memory/mem0) |
|
|
233
238
|
| 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) |
|
|
234
|
-
| 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), [Noisereduce](https://docs.pipecat.ai/server/utilities/audio/noisereduce-filter)
|
|
239
|
+
| 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), [Noisereduce](https://docs.pipecat.ai/server/utilities/audio/noisereduce-filter) |
|
|
235
240
|
| Analytics & Metrics | [OpenTelemetry](https://docs.pipecat.ai/server/utilities/opentelemetry), [Sentry](https://docs.pipecat.ai/server/services/analytics/sentry) |
|
|
236
241
|
|
|
237
242
|
📚 [View full services documentation →](https://docs.pipecat.ai/server/services/supported-services)
|
|
@@ -1,22 +1,26 @@
|
|
|
1
|
-
dv_pipecat_ai-0.0.82.
|
|
1
|
+
dv_pipecat_ai-0.0.82.dev857.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
|
|
5
|
-
pipecat/adapters/base_llm_adapter.py,sha256=
|
|
5
|
+
pipecat/adapters/base_llm_adapter.py,sha256=Ug-0WeOuPj1jbAxwtv1ZMlOjjLLD63ZklTyWrZVe6u8,3201
|
|
6
6
|
pipecat/adapters/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
pipecat/adapters/schemas/direct_function.py,sha256=v2E8eXd3vfbG_6V8U_T8j_PuFJdDhErGFLEWifb-PDQ,10398
|
|
8
8
|
pipecat/adapters/schemas/function_schema.py,sha256=ePXU6mmMTcLCh7Jn5hXpyn-Lc2G7rigjBLjnf1XOBBI,2590
|
|
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
|
-
pipecat/adapters/services/anthropic_adapter.py,sha256=
|
|
12
|
-
pipecat/adapters/services/aws_nova_sonic_adapter.py,sha256=
|
|
13
|
-
pipecat/adapters/services/bedrock_adapter.py,sha256=
|
|
14
|
-
pipecat/adapters/services/gemini_adapter.py,sha256=
|
|
15
|
-
pipecat/adapters/services/open_ai_adapter.py,sha256=
|
|
16
|
-
pipecat/adapters/services/open_ai_realtime_adapter.py,sha256=
|
|
11
|
+
pipecat/adapters/services/anthropic_adapter.py,sha256=8-i9asJVDqs3QvF0u0d-xWI1ok3h1asmH5XYzc9P6g4,14225
|
|
12
|
+
pipecat/adapters/services/aws_nova_sonic_adapter.py,sha256=Qu5SDWbIFuhMoAZK0imAcPRsr9sI4gAUAgDf9iPbMrM,3592
|
|
13
|
+
pipecat/adapters/services/bedrock_adapter.py,sha256=XzV0aaFBdxNxVVCElbIRfRpxoQRwe6XgYLAgUFzTCcI,3426
|
|
14
|
+
pipecat/adapters/services/gemini_adapter.py,sha256=TZl5ITbWBOxMgMpoYb4GN4DAYOWFTrEGwwliszFNaj0,11746
|
|
15
|
+
pipecat/adapters/services/open_ai_adapter.py,sha256=44mQD5m5RS3bxF-xXa56meJSlRpPpW7FvgfXp5YBhBk,4368
|
|
16
|
+
pipecat/adapters/services/open_ai_realtime_adapter.py,sha256=VTGlynwVwtEl4OxMMSFaa12ZELwHzI1lPPWK2QiFPGo,3344
|
|
17
17
|
pipecat/audio/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
18
|
-
pipecat/audio/utils.py,sha256=
|
|
18
|
+
pipecat/audio/utils.py,sha256=RVm0NrjHYY5xhUIOEdKAqM2VsTDkMi1Sv0hIi49QYyI,10729
|
|
19
|
+
pipecat/audio/dtmf/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
20
|
+
pipecat/audio/dtmf/types.py,sha256=5Djj7p89eEYBLp6wnVzAxHLWHYTphKcXlJgo5exqf0M,1071
|
|
21
|
+
pipecat/audio/dtmf/utils.py,sha256=bZNHnjU2zdQBDm02xrUoZXaMtzyxJInqEhDEj0soPdE,2238
|
|
19
22
|
pipecat/audio/filters/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
23
|
+
pipecat/audio/filters/aic_filter.py,sha256=sayAgOaCd2Joc8Hy3KazFu-rD-r0X5pjkNIX6uWA9JE,7521
|
|
20
24
|
pipecat/audio/filters/base_audio_filter.py,sha256=gVsDRRQwK7FUh7pVmh0p-x6mVBLT5yte1zIqLcWcPjY,2165
|
|
21
25
|
pipecat/audio/filters/koala_filter.py,sha256=KHruKNpQp12wmSjYVaIxvgSbcrDb0MalqugwtzaVSKQ,3680
|
|
22
26
|
pipecat/audio/filters/krisp_filter.py,sha256=EZ88cNnV7sfHWAy-97iCh2pi2MAxIDeitVbvfk0rFD4,4872
|
|
@@ -51,11 +55,13 @@ pipecat/clocks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
51
55
|
pipecat/clocks/base_clock.py,sha256=PuTmCtPKz5VG0VxhN5cyhbvduEBnfNPgA6GLAu1eSns,929
|
|
52
56
|
pipecat/clocks/system_clock.py,sha256=ht6TdDAn0JVXEmhLdt5igcHMQOkKO4YHNuOjuKcxkUU,1315
|
|
53
57
|
pipecat/extensions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
58
|
+
pipecat/extensions/ivr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
59
|
+
pipecat/extensions/ivr/ivr_navigator.py,sha256=SBz7RhM7I3bU5uBABEzBMdNK6PtP7Fb5Tqj4zpzPcG4,20100
|
|
54
60
|
pipecat/extensions/voicemail/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
55
61
|
pipecat/extensions/voicemail/voicemail_detector.py,sha256=g3L1m3cPJzsadeB5a8WRC9klH0D8m7xfPgB2YEaL6Do,29983
|
|
56
62
|
pipecat/frames/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
57
63
|
pipecat/frames/frames.proto,sha256=JXZm3VXLR8zMOUcOuhVoe2mhM3MQIQGMJXLopdJO_5Y,839
|
|
58
|
-
pipecat/frames/frames.py,sha256=
|
|
64
|
+
pipecat/frames/frames.py,sha256=2T_l8fLlG7uKIdCx2SxNhY3X5WHI-94YK1a7kxsQbiU,44294
|
|
59
65
|
pipecat/frames/protobufs/frames_pb2.py,sha256=VHgGV_W7qQ4sfQK6RHb5_DggLm3PiSYMr6aBZ8_p1cQ,2590
|
|
60
66
|
pipecat/metrics/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
61
67
|
pipecat/metrics/metrics.py,sha256=bdZNciEtLTtA-xgoKDz2RJAy6fKrXkTwz3pryVHzc2M,2713
|
|
@@ -70,18 +76,20 @@ pipecat/observers/loggers/user_bot_latency_log_observer.py,sha256=nolAJ1WcfhL1Iy
|
|
|
70
76
|
pipecat/pipeline/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
71
77
|
pipecat/pipeline/base_pipeline.py,sha256=JLIktUmF9lSDqd2Cyrlxr0FSk8DM7DRuv8doEKYNqY8,417
|
|
72
78
|
pipecat/pipeline/base_task.py,sha256=cnyD4wLtE5iQmLl8vG7oiXkx7AOLxhLzcSkDeC3pL-Q,2922
|
|
73
|
-
pipecat/pipeline/
|
|
79
|
+
pipecat/pipeline/llm_switcher.py,sha256=_L-_Yo2im7KlXcJBAhmv-oT33ZD6EjkAvBQFXr4BFeY,2861
|
|
80
|
+
pipecat/pipeline/parallel_pipeline.py,sha256=1HdG0zWgbnrnRf6_-akkOTI5TB6fvOelx1DClX2glFc,6553
|
|
74
81
|
pipecat/pipeline/pipeline.py,sha256=FVXHUwBch4D8MXQYrCE_So7e3gVxl-ELOLj1u_H_-8c,7560
|
|
75
82
|
pipecat/pipeline/runner.py,sha256=H8EudaQGZP3HF2EcpCwWW056WanmvkHeIq48bFHVsck,4473
|
|
83
|
+
pipecat/pipeline/service_switcher.py,sha256=GjqtBtMSyKa0XtjYa1_requMztPRQsbWDPyZbHJVkSE,5338
|
|
76
84
|
pipecat/pipeline/sync_parallel_pipeline.py,sha256=dZ17GoY2q8cHwNr9zPOM-TdiC4ERe9oGEkMEV9-YDtI,10654
|
|
77
|
-
pipecat/pipeline/task.py,sha256=
|
|
78
|
-
pipecat/pipeline/task_observer.py,sha256=
|
|
85
|
+
pipecat/pipeline/task.py,sha256=s87JozSQvdB2sLQs9fSuiEXvB62NxZn_rqY-XFbtrwo,34110
|
|
86
|
+
pipecat/pipeline/task_observer.py,sha256=DswTNgdV1bS9buKNt-E5T5vNptffhjeqoD75YNmP1GQ,6835
|
|
79
87
|
pipecat/pipeline/to_be_updated/merge_pipeline.py,sha256=jLEWdufIW3z1xZhdoLowdJ_SGz018DQw8JYGwlBYvE4,1845
|
|
80
88
|
pipecat/processors/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
81
89
|
pipecat/processors/async_generator.py,sha256=qPOZxk5eOad_NrF_Z06vWZ6deXIxb9AKZKYO2e5pkJs,2385
|
|
82
90
|
pipecat/processors/consumer_processor.py,sha256=DrWCKnfblknZJ0bLmR_unIeJ1axQw4IPUn2IB3KLGGA,3228
|
|
83
|
-
pipecat/processors/dtmf_aggregator.py,sha256=
|
|
84
|
-
pipecat/processors/frame_processor.py,sha256=
|
|
91
|
+
pipecat/processors/dtmf_aggregator.py,sha256=D9Ld0fTxi7lDneTV2MBf1kN6yzlnkK-xlNvUIIxPJ68,6861
|
|
92
|
+
pipecat/processors/frame_processor.py,sha256=VlU1h01FUilQ9UGzn7uuXELtNaASwbiMQxPChySJ7_g,29727
|
|
85
93
|
pipecat/processors/idle_frame_processor.py,sha256=z8AuhGap61lA5K35P6XCaOpn4kkmK_9NZNppbpQxheU,3124
|
|
86
94
|
pipecat/processors/logger.py,sha256=VGNwxQSc_F0rS3KBmfqas7f5aFyRQKfeljozOxfGXk4,2393
|
|
87
95
|
pipecat/processors/producer_processor.py,sha256=iIIOHZd77APvUGP7JqFbznAHUnCULcq_qYiSEjwXHcc,3265
|
|
@@ -90,11 +98,13 @@ pipecat/processors/transcript_processor.py,sha256=CG9yej6WOiy_HhagNXjxkISHkHii0J
|
|
|
90
98
|
pipecat/processors/two_stage_user_idle_processor.py,sha256=uf2aZh_lfW-eMxmFogP3R4taAJ1yXOSqjKsR7oXtD0Y,2938
|
|
91
99
|
pipecat/processors/user_idle_processor.py,sha256=mGYv6UYxU7Qbgg4pTuGxDmZxnlyEtwMWaXtrQ9_fvaY,7969
|
|
92
100
|
pipecat/processors/aggregators/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
93
|
-
pipecat/processors/aggregators/dtmf_aggregator.py,sha256=
|
|
101
|
+
pipecat/processors/aggregators/dtmf_aggregator.py,sha256=Vv5FKKt6NNH4tnPZT2MQBKijmekEhBDTrg4hESCeIMI,5324
|
|
94
102
|
pipecat/processors/aggregators/gated.py,sha256=tii0sRrBkRW6y9Xq5iTWPnqlOEejU4VqPIPtdOa61pc,3073
|
|
95
103
|
pipecat/processors/aggregators/gated_openai_llm_context.py,sha256=cr6MT8J6SpPzZbppKPOKe3_pt_5qXC9g6a4wvZDyrec,3005
|
|
96
|
-
pipecat/processors/aggregators/
|
|
97
|
-
pipecat/processors/aggregators/
|
|
104
|
+
pipecat/processors/aggregators/llm_context.py,sha256=eDf1cQElcISLx3onaA9LCWuepzb2G_JGszLzpNXggXo,9723
|
|
105
|
+
pipecat/processors/aggregators/llm_response.py,sha256=0w2jvDFUV6KM4K9TPe7j6UOPKF_p_vYX7SSfFnD1DIU,47559
|
|
106
|
+
pipecat/processors/aggregators/llm_response_universal.py,sha256=fBnB3rZVdxj4iEKIWcnR7yTpqyKupbcg7IUv6XVxrDQ,34287
|
|
107
|
+
pipecat/processors/aggregators/openai_llm_context.py,sha256=cC8DXdVPERRN04i0i-1Ys6kusvnbMALeH-Z8Pu5K684,12999
|
|
98
108
|
pipecat/processors/aggregators/sentence.py,sha256=E7e3knfQl6HEGpYMKPklF1aO_gOn-rr7SnynErwfkQk,2235
|
|
99
109
|
pipecat/processors/aggregators/user_response.py,sha256=Jw_54IVZ47S_GU3P_SSU4L2l5J7AiehzU1L5JwiaRJo,1784
|
|
100
110
|
pipecat/processors/aggregators/vision_image_frame.py,sha256=ZG1NM91wrU-XRs8G5ColChbJY2a_xxfQZSiquUpHXeI,2163
|
|
@@ -105,59 +115,59 @@ pipecat/processors/filters/frame_filter.py,sha256=ZPtHToASfbbtwAdrnQH8POKIvT8hF0
|
|
|
105
115
|
pipecat/processors/filters/function_filter.py,sha256=QNQZBIe1gzSPNI_4Zg2fgyeUhX-AmbIMp7r_XWNhwjU,2400
|
|
106
116
|
pipecat/processors/filters/identity_filter.py,sha256=YNQWNNnuHivNwJa71Gc7A6ZHHq5Zw_kvuNrq9LUKK44,1418
|
|
107
117
|
pipecat/processors/filters/null_filter.py,sha256=CourFfNXyhaesksiBuXxv5-mFSDpy6e9bOJ04p3iK40,1467
|
|
108
|
-
pipecat/processors/filters/stt_mute_filter.py,sha256=
|
|
118
|
+
pipecat/processors/filters/stt_mute_filter.py,sha256=BP1PX2Ka80ZZV1Mpp4OH9xA3V6cntsseQ7VUnXREWnw,9356
|
|
109
119
|
pipecat/processors/filters/wake_check_filter.py,sha256=EKOuw_DCK4EWJ794xS8Xza-QQImD-pjgWYp0wdyvHjI,5099
|
|
110
120
|
pipecat/processors/filters/wake_notifier_filter.py,sha256=1yV3Tw8OROCS97nuZNs4igcNvRQyYu1RG2gNvYMWxKc,2077
|
|
111
121
|
pipecat/processors/frameworks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
112
122
|
pipecat/processors/frameworks/langchain.py,sha256=8MIbF1erctaylZ_xSgbFOXabmqZRKsmDGYSXEx-79eQ,3911
|
|
113
|
-
pipecat/processors/frameworks/rtvi.py,sha256=
|
|
123
|
+
pipecat/processors/frameworks/rtvi.py,sha256=frqm5LGdAfFgiHXSGl514AU9jwCx9HR44sbb3jzhya8,57210
|
|
114
124
|
pipecat/processors/gstreamer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
115
125
|
pipecat/processors/gstreamer/pipeline_source.py,sha256=eXckOY1rQeSBjSfLs8EFEkdlTZEq94osOTFWeNh6C4Y,9765
|
|
116
126
|
pipecat/processors/metrics/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
117
127
|
pipecat/processors/metrics/frame_processor_metrics.py,sha256=8X0qRbYqfr8YJoIjp5RKqDxHf8Vlt4OCWcIW9SYaiZo,6665
|
|
118
|
-
pipecat/processors/metrics/sentry.py,sha256=
|
|
128
|
+
pipecat/processors/metrics/sentry.py,sha256=Gts-b-H3EDFUvv-qn44e9pSDAWUKk72tr7tEfutxxK0,4911
|
|
119
129
|
pipecat/runner/__init__.py,sha256=iJh4vFMGNQYi_ATVGXJDU4rOJwI-1Y6fmkyV18-ddAE,64
|
|
120
|
-
pipecat/runner/daily.py,sha256=
|
|
130
|
+
pipecat/runner/daily.py,sha256=9vQ4TWYBE5gt6mZJ3PjRe17M2__7JL1S9cbDWMIX79Q,7868
|
|
121
131
|
pipecat/runner/livekit.py,sha256=in-2Io3FUZV-VcZZ-gQCx9L1WnKp5sHqmm7tDYlFNl4,4582
|
|
122
|
-
pipecat/runner/run.py,sha256=
|
|
132
|
+
pipecat/runner/run.py,sha256=qY3Tj-sNRnhg_MrgyzbF78LriH1hh68ENnJMZi1sZAE,18815
|
|
123
133
|
pipecat/runner/types.py,sha256=iG9A1ox1ePXiEo2bWANsi6RxpGOb5n_Am5O3enbojBM,1599
|
|
124
|
-
pipecat/runner/utils.py,sha256=
|
|
134
|
+
pipecat/runner/utils.py,sha256=TLf5NfNFm7i4yFcNE58vDT8T-D9gbuPdtGryaHRWnIM,17722
|
|
125
135
|
pipecat/serializers/__init__.py,sha256=OV61GQX5ZVU7l7Dt7UTBdv2wUF7ZvtbCoXryo7nnoGY,734
|
|
126
|
-
pipecat/serializers/asterisk.py,sha256=
|
|
136
|
+
pipecat/serializers/asterisk.py,sha256=bPuGuLiCf04_H0d9Gc-5BpEtqD9BRNWnpZZq5MZ1fDY,6091
|
|
127
137
|
pipecat/serializers/base_serializer.py,sha256=OyBUZccs2ZT9mfkBbq2tGsUJMvci6o-j90Cl1sicPaI,2030
|
|
128
138
|
pipecat/serializers/convox.py,sha256=MXCLhV6GMnoP8bI6-EVrObhrftEyTGOmzVeIU5ywmPo,9536
|
|
129
|
-
pipecat/serializers/exotel.py,sha256=
|
|
139
|
+
pipecat/serializers/exotel.py,sha256=U08EQeRzfW6O2P5mKeCjTy1Ur9KoTjVty3MehmVBEC0,5939
|
|
130
140
|
pipecat/serializers/genesys.py,sha256=5g6_F-OIWSNmStgc6-bDT5mDQkCHHKxcOWSb-F4s2-A,3564
|
|
131
141
|
pipecat/serializers/livekit.py,sha256=caVZlVJGV-SmEXE_H7i3DRo1RvC9FgGCVqi8IYGrpEo,2552
|
|
132
|
-
pipecat/serializers/plivo.py,sha256=
|
|
142
|
+
pipecat/serializers/plivo.py,sha256=_1qYc5AQmCO8qTgMcvN5mK6lBcgjsrtdOEzgEo_r_x4,9242
|
|
133
143
|
pipecat/serializers/protobuf.py,sha256=h0UgVvIa3LXxtpbeQUq0tCGicGbDHxjiY6EdxXJO0_s,5162
|
|
134
|
-
pipecat/serializers/telnyx.py,sha256
|
|
135
|
-
pipecat/serializers/twilio.py,sha256=
|
|
136
|
-
pipecat/services/__init__.py,sha256=
|
|
144
|
+
pipecat/serializers/telnyx.py,sha256=9JiU_Ii9d3_-5xOzXAOdQwTn9WEuT3dtKb2iGH8GeY4,10857
|
|
145
|
+
pipecat/serializers/twilio.py,sha256=Eujl7fCImuJWkbgW9yrIaM2BICwNXzUalmb5RUyVKiA,9763
|
|
146
|
+
pipecat/services/__init__.py,sha256=8e3Ta-8_BOPozhDB3l0GJkNXs5PWhib6yqZQUof2Kvw,1209
|
|
137
147
|
pipecat/services/ai_service.py,sha256=mck03zv_-NZ39jhHR3hT_Qu5s6s_JzQ88lpiCtRV87w,5980
|
|
138
148
|
pipecat/services/ai_services.py,sha256=_RrDWfM8adV17atzY9RxK0nXRVM5kbUkKrvN90GAWYM,795
|
|
139
149
|
pipecat/services/image_service.py,sha256=tqJun4nYeyN_PaWqTdF_CFsOiqBf3XX7R4et5Y07mEU,2357
|
|
140
|
-
pipecat/services/llm_service.py,sha256=
|
|
150
|
+
pipecat/services/llm_service.py,sha256=KapuWbSUceKmNUOYmItBjVUbpwb3byegu6FmnQ2wuV0,25041
|
|
141
151
|
pipecat/services/mcp_service.py,sha256=OYftGfdfGlDmjsWbF2b3CuMhPw8B1jcgaZUUYZPIA_o,14298
|
|
142
152
|
pipecat/services/openai.py,sha256=fg5-MIvwqgKTN6i5Kp7GD6XUvMRo3nlughuNt9QqLGA,27546
|
|
143
153
|
pipecat/services/stt_service.py,sha256=tShjVEl374j1Sc3qsdhTuWaT-8NJsAn-3yFw0XLRm4A,11163
|
|
144
|
-
pipecat/services/tts_service.py,sha256=
|
|
154
|
+
pipecat/services/tts_service.py,sha256=7OYTKrMLxsdfGGb4g8WfgeXEiZWxObFScLwhED2dVmM,34734
|
|
145
155
|
pipecat/services/vision_service.py,sha256=dtI3U5RX30R6i97d6Rh7bVMqeh5ogWuwnM9j6djeXQ8,2519
|
|
146
156
|
pipecat/services/websocket_service.py,sha256=AWv7CL6G_XAh815xVaKNPpjP5escp8Q880SYHG7kCoI,5745
|
|
147
157
|
pipecat/services/anthropic/__init__.py,sha256=NfRQFoNZcUHsJA4mggeLalEmgM08TZdBjkRRjmyp6jE,261
|
|
148
|
-
pipecat/services/anthropic/llm.py,sha256=
|
|
158
|
+
pipecat/services/anthropic/llm.py,sha256=OdfqpNO6BbbUUeSPENQxTyahNQNST9oXDypLVRUDLT8,43734
|
|
149
159
|
pipecat/services/assemblyai/__init__.py,sha256=2gso9D1m2vigu0E1NuAYwKCQSvuHWk3UR_5-J8KhBVM,263
|
|
150
160
|
pipecat/services/assemblyai/models.py,sha256=7XFho7D4zhjThRXvDCjV8FBYoVlDbBb-88L0YaJ3JZo,3812
|
|
151
161
|
pipecat/services/assemblyai/stt.py,sha256=1xodklhxfXvHJi-S0oHim7VFuygu6jQ3tbiWbhycYtg,11580
|
|
152
162
|
pipecat/services/asyncai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
153
|
-
pipecat/services/asyncai/tts.py,sha256=
|
|
163
|
+
pipecat/services/asyncai/tts.py,sha256=a5QiYgoHuZZLSiLhawYSJG0TMY5z9_nAj7g3NnoaFWk,16930
|
|
154
164
|
pipecat/services/aws/__init__.py,sha256=oCnvskCqC7mQpi-y3Pem-6OzJIuMMgHNUAgd3MfxD90,297
|
|
155
|
-
pipecat/services/aws/llm.py,sha256=
|
|
165
|
+
pipecat/services/aws/llm.py,sha256=mSize896Cvvc1ZVTNKce2KiHNwwbpwPAoYKJnyQ4VhA,45995
|
|
156
166
|
pipecat/services/aws/stt.py,sha256=c-V1ud3I_lBflEuMncx67QBBH1hlQ2WP_KUiLM1NZt0,21235
|
|
157
|
-
pipecat/services/aws/tts.py,sha256=
|
|
167
|
+
pipecat/services/aws/tts.py,sha256=36Ag_joiE1ggK2hTZJNFC23fCyWTLSPBY400nNKAscQ,11188
|
|
158
168
|
pipecat/services/aws/utils.py,sha256=gw7H_C4PpPfm-cNuCthnArB03RqwF1_lxJAZJtojRuY,13905
|
|
159
169
|
pipecat/services/aws_nova_sonic/__init__.py,sha256=NxNyDI4MaTs9usTYBEjL5pZ6iJfMbKYajwJh3c2EVv4,48
|
|
160
|
-
pipecat/services/aws_nova_sonic/aws.py,sha256=
|
|
170
|
+
pipecat/services/aws_nova_sonic/aws.py,sha256=43zmiBpASUtHAPw9YmB8VgsQGwLXboAZa8WHRB3v9qU,44714
|
|
161
171
|
pipecat/services/aws_nova_sonic/context.py,sha256=c5_m9YWEXxWXVS1nnCaYksDfPEsXga9LTWsuq1Mce2w,13067
|
|
162
172
|
pipecat/services/aws_nova_sonic/frames.py,sha256=IB399YEgmdd5n5IaCmRTJlvl6DCV9mZv7WABx_5LCRg,644
|
|
163
173
|
pipecat/services/aws_nova_sonic/ready.wav,sha256=pxdKxZtYRV2IVv63v7K1EPkxyV_OxocMkaXbKsHfby0,23484
|
|
@@ -169,43 +179,43 @@ pipecat/services/azure/stt.py,sha256=POhS5XTS-Z0SlKJDdGf18eR_5Nvbq0SnjG3R2xRcykg
|
|
|
169
179
|
pipecat/services/azure/tts.py,sha256=ytgXcYvdVkshC30K88ZGbYFtK8SmSV22h9jQEYKf9ew,19233
|
|
170
180
|
pipecat/services/cartesia/__init__.py,sha256=vzh0jBnfPwWdxFfV-tu0x1HFoOTgr9s91GYmD-CJUtY,284
|
|
171
181
|
pipecat/services/cartesia/stt.py,sha256=mwGF_SOpo021q2y5tpwNgR78DOOqPXrygWgSoBnfd-M,12187
|
|
172
|
-
pipecat/services/cartesia/tts.py,sha256=
|
|
182
|
+
pipecat/services/cartesia/tts.py,sha256=H62upEaL1VsSyqITgLFRW1QPQeKXJNKlOczZPpSoHHo,24240
|
|
173
183
|
pipecat/services/cerebras/__init__.py,sha256=5zBmqq9Zfcl-HC7ylekVS5qrRedbl1mAeEwUT-T-c_o,259
|
|
174
|
-
pipecat/services/cerebras/llm.py,sha256
|
|
184
|
+
pipecat/services/cerebras/llm.py,sha256=-yzSe_6YDGigwzES-LZS4vNXMPugmvsIYEpTySyr5nA,3047
|
|
175
185
|
pipecat/services/deepgram/__init__.py,sha256=cOnxjla0rhsRdpC_UWoN8mXaX3kL3hFlnp9OjDeuC7I,284
|
|
176
|
-
pipecat/services/deepgram/stt.py,sha256=
|
|
186
|
+
pipecat/services/deepgram/stt.py,sha256=IvdKvo23PxhKoWTJDxuK4Uoo0wCtkFGAE_QrMUoGdYM,13732
|
|
177
187
|
pipecat/services/deepgram/tts.py,sha256=H_2WCJEx3_L4ytrHHRNkA-6GKTd1coou_vvTfiEodpQ,3745
|
|
178
188
|
pipecat/services/deepseek/__init__.py,sha256=bU5z_oNGzgrF_YpsD9pYIMtEibeZFaUobbRjJ9WcYyE,259
|
|
179
|
-
pipecat/services/deepseek/llm.py,sha256=
|
|
189
|
+
pipecat/services/deepseek/llm.py,sha256=5KjpU2blmhUTM3LcRE1ymdsk6OmoFkIzeQgyNOGwQh8,3112
|
|
180
190
|
pipecat/services/elevenlabs/__init__.py,sha256=FgA--iiHyoart9xZZGWTTrBaEjmFxJuugESjPXihI7A,263
|
|
181
191
|
pipecat/services/elevenlabs/tts.py,sha256=RZ9thg_kFWk1xhfmW047Pk0FjtWdkgnRMiGYFv3_cWk,42777
|
|
182
192
|
pipecat/services/fal/__init__.py,sha256=z_kfZETvUcKy68Lyvni4B-RtdkOvz3J3eh6sFDVKq6M,278
|
|
183
193
|
pipecat/services/fal/image.py,sha256=vArKLKrIGoZfw_xeZY_E7zbUzfzVsScj-R7mOmVqjRQ,4585
|
|
184
194
|
pipecat/services/fal/stt.py,sha256=-5tw7N8srBJTS0Q65SN4csmLkIB6cLHR9pXKimxg55o,9678
|
|
185
195
|
pipecat/services/fireworks/__init__.py,sha256=-YCe9iOzvUmbNSQOtpbzG6xMxT69KTIC1oqgAVoykQ8,261
|
|
186
|
-
pipecat/services/fireworks/llm.py,sha256=
|
|
196
|
+
pipecat/services/fireworks/llm.py,sha256=IzzMYDXDoDnvJ5S7Trbw7I4Tcv2vPX7w2T6jk3Agvlw,3153
|
|
187
197
|
pipecat/services/fish/__init__.py,sha256=zXTvCM-fv0baT3uSV3FSGMyQKmNFDfj_Ka24LodPyHc,251
|
|
188
|
-
pipecat/services/fish/tts.py,sha256=
|
|
198
|
+
pipecat/services/fish/tts.py,sha256=nWX09MQp0-plUCGFKVkj4oxOmSh6y2qP2UBPXNuWcx8,11969
|
|
189
199
|
pipecat/services/gemini_multimodal_live/__init__.py,sha256=dcl6OwNkW6ZjpgCvUeRu-W3n2pZ-89TUA-flpSrgnbs,87
|
|
190
200
|
pipecat/services/gemini_multimodal_live/events.py,sha256=Srpqr3wVeE1aeprgY1CGseDUAkiia1HB-D2sP2tj3Tc,15088
|
|
191
201
|
pipecat/services/gemini_multimodal_live/file_api.py,sha256=w7_tpZ9hoZlxdZNAv1lbvxsto5mJzTJU5_1ioMyvUsQ,7162
|
|
192
|
-
pipecat/services/gemini_multimodal_live/gemini.py,sha256=
|
|
202
|
+
pipecat/services/gemini_multimodal_live/gemini.py,sha256=5_21tldinWMyyqeMFR4Id9uP2zGrM1JwDZerFzuaPGg,55082
|
|
193
203
|
pipecat/services/gladia/__init__.py,sha256=RhyPSWKluyK0keEVAOfHffTAhWo5hmytozf4a17p954,255
|
|
194
|
-
pipecat/services/gladia/config.py,sha256=
|
|
195
|
-
pipecat/services/gladia/stt.py,sha256=
|
|
204
|
+
pipecat/services/gladia/config.py,sha256=rRn_TXGA7_DgKVWMQ6OvFZAoR1mpQoXu_LQBj3a-_EY,7088
|
|
205
|
+
pipecat/services/gladia/stt.py,sha256=chmmDSCdbkKlPQ3ZUqjLKU7aKbCw8tUFm-kZPa7s_uU,25520
|
|
196
206
|
pipecat/services/google/__init__.py,sha256=6cH89Hqf5NVIqW4tvILdssxvJFQe7vYc2FYTuwEW5xg,464
|
|
197
207
|
pipecat/services/google/frames.py,sha256=_HHljqYg7x0wh6nTRLqKaavThuMxkKFsDeLAFgVutmU,2277
|
|
198
208
|
pipecat/services/google/google.py,sha256=D_GWyJQxnJmJ0sM8SLwcxom5e8snF3W3IhsEjTM7Uqg,507
|
|
199
209
|
pipecat/services/google/image.py,sha256=LQYIctDIB31udYvk3meC9EXTY7VDdWb_veCTFEltTRU,4674
|
|
200
|
-
pipecat/services/google/llm.py,sha256=
|
|
201
|
-
pipecat/services/google/llm_openai.py,sha256=
|
|
210
|
+
pipecat/services/google/llm.py,sha256=bpMTf8eA5s_qdV5kziBh2dkHm9Nzq2MD3Hrp_NR0AIk,39950
|
|
211
|
+
pipecat/services/google/llm_openai.py,sha256=CiyeRXG8t_e6A-kzAmvEGzQdvv_9v2ln96ccVr8vYrM,7505
|
|
202
212
|
pipecat/services/google/llm_vertex.py,sha256=yqs8pqUCTgRj5wvQFHPJbGduoIaXjaqPym5x-lh5LhI,5032
|
|
203
213
|
pipecat/services/google/rtvi.py,sha256=PZb1yVny5YG7_XmJRXPzs3iYapeQ4XHreFN1v6KwTGM,3014
|
|
204
214
|
pipecat/services/google/stt.py,sha256=1vKZNEKZ-KLKp_7lA_VijznSqTwYRFYK1sDn2qteKtI,32814
|
|
205
215
|
pipecat/services/google/test-google-chirp.py,sha256=ji6ta7WDgKMu9yeKovuIVRlcMuk8S6XIyzIokHQY80E,1437
|
|
206
216
|
pipecat/services/google/tts.py,sha256=S_JSPqzLABfuyHLRppNiDmq2g9OFcnJOrfysVg3OHbY,32038
|
|
207
217
|
pipecat/services/grok/__init__.py,sha256=PyaTSnqwxd8jdF5aFTe3lWM-TBhfDyUu9ahRl6nPS-4,251
|
|
208
|
-
pipecat/services/grok/llm.py,sha256=
|
|
218
|
+
pipecat/services/grok/llm.py,sha256=UwCWCiqGcDy_1T8Xo904CdXyAT7QfAQn3H_awtuxIcU,7409
|
|
209
219
|
pipecat/services/groq/__init__.py,sha256=jelL30bti_CbU6-1bZUTfJxACLi4h9HfMlpSV09aAQY,299
|
|
210
220
|
pipecat/services/groq/llm.py,sha256=1XB-R7NmlqVp_xUHzAfP_nIEnGYVYR_gR2tVrWmMWAA,1829
|
|
211
221
|
pipecat/services/groq/stt.py,sha256=1yWW7b4f6YKdD2dYXmoSJrTgwyYrRsKw9_XnU3Of7wU,2435
|
|
@@ -221,22 +231,22 @@ pipecat/services/inworld/tts.py,sha256=YkutLqQ22EMQ_c72n_7P1UmuTifjaT4q4u1avhQED
|
|
|
221
231
|
pipecat/services/lmnt/__init__.py,sha256=wb1p5pg2fAvA5fupVFoHqAEig8OlnHHzi6RjgT4smhs,251
|
|
222
232
|
pipecat/services/lmnt/tts.py,sha256=zaG-IVJ76WhV0Wg8Kfmq_b4JBmRc4IW2498_Cn03kfE,10682
|
|
223
233
|
pipecat/services/mem0/__init__.py,sha256=IF5kd9cSXnZzS6kyoH_5sMy0j9NiPFYIPlIaVkGBgI8,257
|
|
224
|
-
pipecat/services/mem0/memory.py,sha256=
|
|
234
|
+
pipecat/services/mem0/memory.py,sha256=y_sscFYjWKnuB0hAjKPtmkPWQM_yalEccGv2qRDLgxE,10539
|
|
225
235
|
pipecat/services/minimax/__init__.py,sha256=rfHd18ccf-oCytmkKFSyZ1tV-FWglM1D-iKNkA2_sxc,110
|
|
226
236
|
pipecat/services/minimax/tts.py,sha256=AmYOJWJncp1G-k48dUDXiEcsu9ZHJHVuMovfLQGBstk,12812
|
|
227
237
|
pipecat/services/mistral/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
228
|
-
pipecat/services/mistral/llm.py,sha256=
|
|
238
|
+
pipecat/services/mistral/llm.py,sha256=A8C1BL6YXqS94NR9wAvo6I1tJbc7cO3nGQ6PqbHJkek,7433
|
|
229
239
|
pipecat/services/moondream/__init__.py,sha256=FBRSr8-vXhD7YyXcqOfjX7VFq3XcujwX3kp_MOs9vzg,267
|
|
230
240
|
pipecat/services/moondream/vision.py,sha256=4-IBnSbc_Y35gf4elIT3ZzcYBmZ7tLVZya6dLu-uP-s,4250
|
|
231
241
|
pipecat/services/neuphonic/__init__.py,sha256=31acn0fpeH6Zfan6kKDy4SVa9NXyeHjBl5DSZSYNRTs,261
|
|
232
242
|
pipecat/services/neuphonic/tts.py,sha256=GoYGN77pKc7ZuOp4SQ9B44A3Wz95uhXcOHkm_i8v7tY,20354
|
|
233
243
|
pipecat/services/nim/__init__.py,sha256=bRubOujNmtaBTSBgd3BBXP5fClzbn09ajYPmmYZsJpA,249
|
|
234
|
-
pipecat/services/nim/llm.py,sha256=
|
|
244
|
+
pipecat/services/nim/llm.py,sha256=o4WPGI6kOmSiMV7WwOZ0cNEAoq9hW4Aqs2R8X7c9i94,4427
|
|
235
245
|
pipecat/services/ollama/__init__.py,sha256=aw-25zYsR8LR74OFFlMKMTnJjaKwOzdPWVsClueNRkI,255
|
|
236
246
|
pipecat/services/ollama/llm.py,sha256=rfpG92LRHGJlpENKhF6ld8CLVS9DxlKW-WRVNldOIGs,1605
|
|
237
247
|
pipecat/services/openai/__init__.py,sha256=A7_P9FgSIRzkFsmFVC22I3JfYZk3rtVCrzAkt-hSNGk,330
|
|
238
|
-
pipecat/services/openai/base_llm.py,sha256=
|
|
239
|
-
pipecat/services/openai/image.py,sha256=
|
|
248
|
+
pipecat/services/openai/base_llm.py,sha256=HM-rbApehW8_mDiaKuvRmcKlJOgi6Z0zUa_yKwa_Qog,18847
|
|
249
|
+
pipecat/services/openai/image.py,sha256=3e3h-dVQ6DQuQE7fp8akXwRMd-oYOdGuZg7RCOjHu9A,2994
|
|
240
250
|
pipecat/services/openai/llm.py,sha256=_aKtz1VebSFUUenT3tH6mBW9pSCm65_u45cDu_dkTzs,7396
|
|
241
251
|
pipecat/services/openai/stt.py,sha256=Idf0k73kxFyDgNRBt62MFpoKKNsBV9bwvJteJ6MGWzQ,2419
|
|
242
252
|
pipecat/services/openai/tts.py,sha256=W0ot5rB8K6LfVYBdOl8Yalx0NAa_R2JaBTAanPX6vzQ,5753
|
|
@@ -245,43 +255,43 @@ pipecat/services/openai_realtime_beta/azure.py,sha256=BuZRQ4dKT139zAWjlwVqa8XbMs
|
|
|
245
255
|
pipecat/services/openai_realtime_beta/context.py,sha256=pV1GO-ylQqyATVnfYOa4pSR2-QXpvQfSCuRRETVtmE0,10799
|
|
246
256
|
pipecat/services/openai_realtime_beta/events.py,sha256=ipltnxRrpJbZ3zGhdXvA5F5xRbtx4-UZJUBJAxQBkWU,30516
|
|
247
257
|
pipecat/services/openai_realtime_beta/frames.py,sha256=dQrGu5FErvozPvlyvDADj8_ZiG8bclYAc2jQt5NE6aE,942
|
|
248
|
-
pipecat/services/openai_realtime_beta/openai.py,sha256=
|
|
258
|
+
pipecat/services/openai_realtime_beta/openai.py,sha256=nBUT__MCmAHlVl4NqO1elkXXnOzStZN60GlyTJBzZ2I,32532
|
|
249
259
|
pipecat/services/openpipe/__init__.py,sha256=skCnH03aR4OvAuTOD4zoQWrRseC6Fi0AljZwv6EUUQM,259
|
|
250
|
-
pipecat/services/openpipe/llm.py,sha256=
|
|
260
|
+
pipecat/services/openpipe/llm.py,sha256=nOo0uZ5BFjZoMPyn2De-M8yvRNhxueOKStrmsAAuR20,3928
|
|
251
261
|
pipecat/services/openrouter/__init__.py,sha256=TEyNHtRkoRt6qse4jBNVEPKXCkqmT-xtQ0XB-zFe_jE,263
|
|
252
262
|
pipecat/services/openrouter/llm.py,sha256=4_YrBbotynRw9BBXc2OD9KrHoC5fF90_q1cCxTNGtMg,2165
|
|
253
263
|
pipecat/services/perplexity/__init__.py,sha256=Qf0gyJWhkk7D0ehYf24vwtalOrcrp98aGaj5XuApdsA,263
|
|
254
|
-
pipecat/services/perplexity/llm.py,sha256=
|
|
264
|
+
pipecat/services/perplexity/llm.py,sha256=uwd5eLchE26BK9fJSWx9yZB6IXRxAd-3jW3AYvJlHc4,5752
|
|
255
265
|
pipecat/services/piper/__init__.py,sha256=BNqnIk6pG2DVvJ0uI2ZB93M3uXX_0B1ByfO7dnKjsBY,253
|
|
256
266
|
pipecat/services/piper/tts.py,sha256=WURnz54hTaoHHoc2cJTTQe9yV3jSoQlM25J-Ozj0O24,3992
|
|
257
267
|
pipecat/services/playht/__init__.py,sha256=Ko1WjLQtTaHvZAgCuONeRkkXRbrCuRx53C296VLa2YY,255
|
|
258
|
-
pipecat/services/playht/tts.py,sha256=
|
|
268
|
+
pipecat/services/playht/tts.py,sha256=zvPZCVzcfNSXf5a-ZFQyV_s0dreF92muZYpXbPWaRnA,22056
|
|
259
269
|
pipecat/services/qwen/__init__.py,sha256=gS81Y-9gy_ke17m-2Tt-8mDrawcFNZ15_i0OnT-HYyg,251
|
|
260
270
|
pipecat/services/qwen/llm.py,sha256=X6GOaoKBmQzEI8n-GO2bu4AFdhNFXt6wf7DMMwJ0QFo,1969
|
|
261
271
|
pipecat/services/rime/__init__.py,sha256=lK26ZYuDZS51OybSVPAx6rt710UA1ZBP31wPL1_VeLg,251
|
|
262
|
-
pipecat/services/rime/tts.py,sha256=
|
|
272
|
+
pipecat/services/rime/tts.py,sha256=XHMSnQUi7gMtWF42u4rBVv6oBDor4KkwkL7O-Sj9MPo,20819
|
|
263
273
|
pipecat/services/riva/__init__.py,sha256=rObSsj504O_TMXhPBg_ymqKslZBhovlR-A0aaRZ0O6A,276
|
|
264
274
|
pipecat/services/riva/stt.py,sha256=dtg8toijmexWB3uipw0EQ7ov3DFgHj40kFFv1Zadmmc,25116
|
|
265
275
|
pipecat/services/riva/tts.py,sha256=idbqx3I2NlWCXtrIFsjEaYapxA3BLIA14ai3aMBh-2w,8158
|
|
266
276
|
pipecat/services/sambanova/__init__.py,sha256=oTXExLic-qTcsfsiWmssf3Elclf3IIWoN41_2IpoF18,128
|
|
267
|
-
pipecat/services/sambanova/llm.py,sha256=
|
|
277
|
+
pipecat/services/sambanova/llm.py,sha256=5XVfPLEk__W8ykFqLdV95ZUhlGGkAaJwmbciLdZYtTc,8976
|
|
268
278
|
pipecat/services/sambanova/stt.py,sha256=ZZgEZ7WQjLFHbCko-3LNTtVajjtfUvbtVLtFcaNadVQ,2536
|
|
269
279
|
pipecat/services/sarvam/__init__.py,sha256=rfHd18ccf-oCytmkKFSyZ1tV-FWglM1D-iKNkA2_sxc,110
|
|
270
|
-
pipecat/services/sarvam/tts.py,sha256=
|
|
280
|
+
pipecat/services/sarvam/tts.py,sha256=H7tKV7WAdefJ_JwVwSX6rPQ5m4RmdnflQnxOML-DgFY,24444
|
|
271
281
|
pipecat/services/simli/__init__.py,sha256=cbDcqOaGsEgKbGYKpJ1Vv7LN4ZjOWA04sE84WW5vgQI,257
|
|
272
282
|
pipecat/services/simli/video.py,sha256=fVMYsCE5epH9rTdhN_tyPPJw7W6TCMHCOe2akKHWduw,8330
|
|
273
283
|
pipecat/services/soniox/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
274
284
|
pipecat/services/soniox/stt.py,sha256=AhJF2YOzmqgB80x22jocgzr3neYCBMyxzP_WjkYR9Gc,15441
|
|
275
285
|
pipecat/services/speechmatics/__init__.py,sha256=Jgq1fqrZVkpWC21D79L1cn5Ub8PnYgnnCaqC5pOlbIc,89
|
|
276
|
-
pipecat/services/speechmatics/stt.py,sha256=
|
|
286
|
+
pipecat/services/speechmatics/stt.py,sha256=tw2Fo-Kjcp45EplaTrHtKwjvLL35GKVt0K-pzU9MUtM,44251
|
|
277
287
|
pipecat/services/tavus/__init__.py,sha256=SNyyi2Xq6tXIihDG2Bwvmg6Srbd-uWd1RwG-NKWcPuI,257
|
|
278
|
-
pipecat/services/tavus/video.py,sha256=
|
|
288
|
+
pipecat/services/tavus/video.py,sha256=67WX49Th7v6xRIPoTpvbe15CB84OD9ax2ta9jL0fWiQ,10714
|
|
279
289
|
pipecat/services/together/__init__.py,sha256=hNMycJDDf3CLiL9WA9fwvMdYphyDWLv0OabYIMgvC1c,259
|
|
280
290
|
pipecat/services/together/llm.py,sha256=VSayO-U6g9Ld0xK9CXRQPUsd5gWJKtiA8qDAyXgsSkE,1958
|
|
281
291
|
pipecat/services/ultravox/__init__.py,sha256=EoHCSXI2o0DFQslELgkhAGZtxDj63gZi-9ZEhXljaKE,259
|
|
282
292
|
pipecat/services/ultravox/stt.py,sha256=uCQm_-LbycXdXRV6IE1a6Mymis6tyww7V8PnPzAQtx8,16586
|
|
283
293
|
pipecat/services/vistaar/__init__.py,sha256=UFfSWFN5rbzl6NN-E_OH_MFaSYodZWNlenAU0wk-rAI,110
|
|
284
|
-
pipecat/services/vistaar/llm.py,sha256=
|
|
294
|
+
pipecat/services/vistaar/llm.py,sha256=CwPPZuv5ulB-2hrH65-uMGBNlAXA3Kf_rzcYIeEF-ME,17274
|
|
285
295
|
pipecat/services/whisper/__init__.py,sha256=smADmw0Fv98k7cGRuHTEcljKTO2WdZqLpJd0qsTCwH8,281
|
|
286
296
|
pipecat/services/whisper/base_stt.py,sha256=VhslESPnYIeVbmnQTzmlZPV35TH49duxYTvJe0epNnE,7850
|
|
287
297
|
pipecat/services/whisper/stt.py,sha256=9Qd56vWMzg3LtHikQnfgyMtl4odE6BCHDbpAn3HSWjw,17480
|
|
@@ -295,24 +305,41 @@ pipecat/tests/utils.py,sha256=iqGJLNpwIJVZL0urG9GXZI3UJoaPDKsUCqWGa8ibOOU,7902
|
|
|
295
305
|
pipecat/transcriptions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
296
306
|
pipecat/transcriptions/language.py,sha256=cVZH5gMvV8C3TjQzdsUPWx9q7QE11mcLBol_qFdypBU,7807
|
|
297
307
|
pipecat/transports/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
298
|
-
pipecat/transports/base_input.py,sha256=
|
|
299
|
-
pipecat/transports/base_output.py,sha256=
|
|
308
|
+
pipecat/transports/base_input.py,sha256=xrMiH-nr0Yp2tnJK2wP8UurH-6W6wV3G9h2_svUcpuQ,21108
|
|
309
|
+
pipecat/transports/base_output.py,sha256=GrAMKRVkjtouf_DsK2Ay1zyxEn5cd6nDZP5h3WeVZwo,35076
|
|
300
310
|
pipecat/transports/base_transport.py,sha256=JlNiH0DysTfr6azwHauJqY_Z9HJC702O29Q0qrsLrg4,7530
|
|
311
|
+
pipecat/transports/daily/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
312
|
+
pipecat/transports/daily/transport.py,sha256=ATjja3DcF2tYU8tQTNsnvwvk-t8BXO2yRyWQelTF0W0,85583
|
|
313
|
+
pipecat/transports/daily/utils.py,sha256=NJzmtr7sFMkGCbJAWNvCrPyG6qikJC26UPhdgGaVxP4,14848
|
|
314
|
+
pipecat/transports/livekit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
315
|
+
pipecat/transports/livekit/transport.py,sha256=4RMlP4Wqx3mUBa8tY14HzucAG2SrO6tQn7V354djPws,37622
|
|
301
316
|
pipecat/transports/local/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
302
317
|
pipecat/transports/local/audio.py,sha256=U-g35RSZpZV0fOFrmRXAj_Y3gKHRc6SDhKaZv1q-4u0,7447
|
|
303
318
|
pipecat/transports/local/tk.py,sha256=TXHuoytbGbpSPEaIl-lt421ZSFbL0ulowfQFqh8bhNE,9072
|
|
304
319
|
pipecat/transports/network/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
305
|
-
pipecat/transports/network/fastapi_websocket.py,sha256=
|
|
306
|
-
pipecat/transports/network/small_webrtc.py,sha256=
|
|
307
|
-
pipecat/transports/network/webrtc_connection.py,sha256=
|
|
308
|
-
pipecat/transports/network/websocket_client.py,sha256=
|
|
309
|
-
pipecat/transports/network/websocket_server.py,sha256=
|
|
320
|
+
pipecat/transports/network/fastapi_websocket.py,sha256=3Qz0C6qwo1IV8K3LygpbWkIXFkSZnPVj_G4gk4c2Bzg,734
|
|
321
|
+
pipecat/transports/network/small_webrtc.py,sha256=kbIbFqV3NnaM2aLXAVknwzrpy7jW4-3qRUuf5g6dZ2k,721
|
|
322
|
+
pipecat/transports/network/webrtc_connection.py,sha256=Cii3XrmpQik4n8UuuN14XqfjhP7Vu5ThdxsA-MMS638,694
|
|
323
|
+
pipecat/transports/network/websocket_client.py,sha256=UKhQEfJ77rKbW4wcw0YOdRQouLg92L4IhbA2F1pYQ8M,707
|
|
324
|
+
pipecat/transports/network/websocket_server.py,sha256=3LZj546cSX4DT2E3-mkqlFJ1RWfQJcOf3RHsHpARTzs,691
|
|
310
325
|
pipecat/transports/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
311
|
-
pipecat/transports/services/daily.py,sha256=
|
|
312
|
-
pipecat/transports/services/livekit.py,sha256=
|
|
313
|
-
pipecat/transports/services/tavus.py,sha256=
|
|
326
|
+
pipecat/transports/services/daily.py,sha256=WoEeY1zq4jXo_G7EZgDMzcevS0EdY9HMHSH7g-Eyqbk,679
|
|
327
|
+
pipecat/transports/services/livekit.py,sha256=GnEYNj30j6twsZQamx_VvPzzdDB_5u8vexAJV4UNwEQ,697
|
|
328
|
+
pipecat/transports/services/tavus.py,sha256=R-IK2MO1ES1NcYbMYfvsG_LceXlYhpMA0xkVbQcrwTk,712
|
|
314
329
|
pipecat/transports/services/helpers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
315
|
-
pipecat/transports/services/helpers/daily_rest.py,sha256=
|
|
330
|
+
pipecat/transports/services/helpers/daily_rest.py,sha256=jzt_PNuQ1N1YR2_zRrM0wNs01fHmClLf1utNKn_FT8Q,554
|
|
331
|
+
pipecat/transports/smallwebrtc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
332
|
+
pipecat/transports/smallwebrtc/connection.py,sha256=pM3iIEtXa2bfRMZmRR4jlJu1HE5GCkgNppFxQfDeWz4,24408
|
|
333
|
+
pipecat/transports/smallwebrtc/transport.py,sha256=fBd09AdI6n85fqhhuF9crWF0rWHeL66j3MOBOVKVyVY,34474
|
|
334
|
+
pipecat/transports/tavus/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
335
|
+
pipecat/transports/tavus/transport.py,sha256=kEHfIxqi_q4mwtRk_4Njj0q8K6z9ugB5-WvkJsNjElU,28228
|
|
336
|
+
pipecat/transports/websocket/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
337
|
+
pipecat/transports/websocket/client.py,sha256=EgoGjrmUTUP7MiY5S3KVzrbrxrfSENsv9E_wm9zDlho,16798
|
|
338
|
+
pipecat/transports/websocket/fastapi.py,sha256=cEIAL2-ERd1mL2-RdBQnFmuMs6kxIjyvax9P9Ov9tpU,19660
|
|
339
|
+
pipecat/transports/websocket/server.py,sha256=jNA9jsMGEkmusK4lVij1-dSZD-ihQjn7fB1H_Hl4BMY,18191
|
|
340
|
+
pipecat/transports/whatsapp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
341
|
+
pipecat/transports/whatsapp/api.py,sha256=JJprm293kEaV32x1IOHQ8Ub79ovtUize32lZlLO6tHw,10948
|
|
342
|
+
pipecat/transports/whatsapp/client.py,sha256=mz0PPnkyyY0jZ4B_avhIPnMFm6MiaAR6jchYOGEUbn4,15281
|
|
316
343
|
pipecat/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
317
344
|
pipecat/utils/base_object.py,sha256=62e5_0R_rcQe-JdzUM0h1wtv1okw-0LPyG78ZKkDyzE,5963
|
|
318
345
|
pipecat/utils/logger_config.py,sha256=5-RmvReZIINeqSXz3ALhEIiMZ_azmpOxnlIkdyCjWWk,5606
|
|
@@ -337,7 +364,7 @@ pipecat/utils/tracing/service_decorators.py,sha256=HwDCqLGijhYD3F8nxDuQmEw-YkRw0
|
|
|
337
364
|
pipecat/utils/tracing/setup.py,sha256=7TEgPNpq6M8lww8OQvf0P9FzYc5A30xICGklVA-fua0,2892
|
|
338
365
|
pipecat/utils/tracing/turn_context_provider.py,sha256=ikon3plFOx0XbMrH6DdeHttNpb-U0gzMZIm3bWLc9eI,2485
|
|
339
366
|
pipecat/utils/tracing/turn_trace_observer.py,sha256=dma16SBJpYSOE58YDWy89QzHyQFc_9gQZszKeWixuwc,9725
|
|
340
|
-
dv_pipecat_ai-0.0.82.
|
|
341
|
-
dv_pipecat_ai-0.0.82.
|
|
342
|
-
dv_pipecat_ai-0.0.82.
|
|
343
|
-
dv_pipecat_ai-0.0.82.
|
|
367
|
+
dv_pipecat_ai-0.0.82.dev857.dist-info/METADATA,sha256=jIoMduEyMAIzGMNkLs_duD4O14Kp9IRfktgOd2SqquI,32639
|
|
368
|
+
dv_pipecat_ai-0.0.82.dev857.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
369
|
+
dv_pipecat_ai-0.0.82.dev857.dist-info/top_level.txt,sha256=kQzG20CxGf-nSsHmtXHx3hY2-8zHA3jYg8jk0TajqXc,8
|
|
370
|
+
dv_pipecat_ai-0.0.82.dev857.dist-info/RECORD,,
|
|
@@ -11,21 +11,46 @@ adapters that handle tool format conversion and standardization.
|
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
13
|
from abc import ABC, abstractmethod
|
|
14
|
-
from typing import Any,
|
|
14
|
+
from typing import Any, Dict, Generic, List, TypeVar
|
|
15
15
|
|
|
16
16
|
from loguru import logger
|
|
17
17
|
|
|
18
18
|
from pipecat.adapters.schemas.tools_schema import ToolsSchema
|
|
19
|
+
from pipecat.processors.aggregators.llm_context import LLMContext, NotGiven
|
|
19
20
|
|
|
21
|
+
# Should be a TypedDict
|
|
22
|
+
TLLMInvocationParams = TypeVar("TLLMInvocationParams", bound=dict[str, Any])
|
|
20
23
|
|
|
21
|
-
|
|
24
|
+
|
|
25
|
+
class BaseLLMAdapter(ABC, Generic[TLLMInvocationParams]):
|
|
22
26
|
"""Abstract base class for LLM provider adapters.
|
|
23
27
|
|
|
24
|
-
Provides a standard interface for converting
|
|
25
|
-
|
|
26
|
-
|
|
28
|
+
Provides a standard interface for converting to provider-specific formats.
|
|
29
|
+
|
|
30
|
+
Handles:
|
|
31
|
+
|
|
32
|
+
- Extracting provider-specific parameters for LLM invocation from a
|
|
33
|
+
universal LLM context
|
|
34
|
+
- Converting standardized tools schema to provider-specific tool formats.
|
|
35
|
+
- Extracting messages from the LLM context for the purposes of logging
|
|
36
|
+
about the specific provider.
|
|
37
|
+
|
|
38
|
+
Subclasses must implement provider-specific conversion logic.
|
|
27
39
|
"""
|
|
28
40
|
|
|
41
|
+
@abstractmethod
|
|
42
|
+
def get_llm_invocation_params(self, context: LLMContext, **kwargs) -> TLLMInvocationParams:
|
|
43
|
+
"""Get provider-specific LLM invocation parameters from a universal LLM context.
|
|
44
|
+
|
|
45
|
+
Args:
|
|
46
|
+
context: The LLM context containing messages, tools, etc.
|
|
47
|
+
**kwargs: Additional provider-specific arguments that subclasses can use.
|
|
48
|
+
|
|
49
|
+
Returns:
|
|
50
|
+
Provider-specific parameters for invoking the LLM.
|
|
51
|
+
"""
|
|
52
|
+
pass
|
|
53
|
+
|
|
29
54
|
@abstractmethod
|
|
30
55
|
def to_provider_tools_format(self, tools_schema: ToolsSchema) -> List[Any]:
|
|
31
56
|
"""Convert tools schema to the provider's specific format.
|
|
@@ -38,7 +63,20 @@ class BaseLLMAdapter(ABC):
|
|
|
38
63
|
"""
|
|
39
64
|
pass
|
|
40
65
|
|
|
41
|
-
|
|
66
|
+
@abstractmethod
|
|
67
|
+
def get_messages_for_logging(self, context: LLMContext) -> List[Dict[str, Any]]:
|
|
68
|
+
"""Get messages from a universal LLM context in a format ready for logging about this provider.
|
|
69
|
+
|
|
70
|
+
Args:
|
|
71
|
+
context: The LLM context containing messages.
|
|
72
|
+
|
|
73
|
+
Returns:
|
|
74
|
+
List of messages in a format ready for logging about this
|
|
75
|
+
provider.
|
|
76
|
+
"""
|
|
77
|
+
pass
|
|
78
|
+
|
|
79
|
+
def from_standard_tools(self, tools: Any) -> List[Any] | NotGiven:
|
|
42
80
|
"""Convert tools from standard format to provider format.
|
|
43
81
|
|
|
44
82
|
Args:
|