dv-pipecat-ai 0.0.85.dev814__py3-none-any.whl → 0.0.85.dev817__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.85.dev814.dist-info → dv_pipecat_ai-0.0.85.dev817.dist-info}/METADATA +1 -1
- {dv_pipecat_ai-0.0.85.dev814.dist-info → dv_pipecat_ai-0.0.85.dev817.dist-info}/RECORD +7 -7
- pipecat/frames/frames.py +96 -0
- pipecat/services/tts_service.py +2 -0
- {dv_pipecat_ai-0.0.85.dev814.dist-info → dv_pipecat_ai-0.0.85.dev817.dist-info}/WHEEL +0 -0
- {dv_pipecat_ai-0.0.85.dev814.dist-info → dv_pipecat_ai-0.0.85.dev817.dist-info}/licenses/LICENSE +0 -0
- {dv_pipecat_ai-0.0.85.dev814.dist-info → dv_pipecat_ai-0.0.85.dev817.dist-info}/top_level.txt +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
dv_pipecat_ai-0.0.85.
|
|
1
|
+
dv_pipecat_ai-0.0.85.dev817.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
|
|
@@ -79,7 +79,7 @@ pipecat/extensions/voicemail/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NM
|
|
|
79
79
|
pipecat/extensions/voicemail/voicemail_detector.py,sha256=JxmU2752iWP_1_GmzZReNESUTFAeyEa4XBPL20_C208,30004
|
|
80
80
|
pipecat/frames/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
81
81
|
pipecat/frames/frames.proto,sha256=JXZm3VXLR8zMOUcOuhVoe2mhM3MQIQGMJXLopdJO_5Y,839
|
|
82
|
-
pipecat/frames/frames.py,sha256=
|
|
82
|
+
pipecat/frames/frames.py,sha256=_GbvjOe1HRDSVCTqF5nvRaA-oCFrtyWfl457Uq0qkGw,49229
|
|
83
83
|
pipecat/frames/protobufs/frames_pb2.py,sha256=VHgGV_W7qQ4sfQK6RHb5_DggLm3PiSYMr6aBZ8_p1cQ,2590
|
|
84
84
|
pipecat/metrics/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
85
85
|
pipecat/metrics/metrics.py,sha256=bdZNciEtLTtA-xgoKDz2RJAy6fKrXkTwz3pryVHzc2M,2713
|
|
@@ -171,7 +171,7 @@ pipecat/services/image_service.py,sha256=tqJun4nYeyN_PaWqTdF_CFsOiqBf3XX7R4et5Y0
|
|
|
171
171
|
pipecat/services/llm_service.py,sha256=39y9tjrusTr8Zr9sFlg9xz86CXpy39FiyLtsbcbsu8g,25379
|
|
172
172
|
pipecat/services/mcp_service.py,sha256=yS48Uj5qD4jnhYYhs9Kw1aa1cjdYIwxYYjzCc_u6M0o,14345
|
|
173
173
|
pipecat/services/stt_service.py,sha256=oBZ34DLvAoAzYMsWQqywkwy2Wjh_Rjh32k-d7CjffBI,12982
|
|
174
|
-
pipecat/services/tts_service.py,sha256=
|
|
174
|
+
pipecat/services/tts_service.py,sha256=C1qYmewQ7qzEGd5SyUIISBjknnlhMJzUZ5lRgJgwhII,36540
|
|
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
|
|
@@ -414,7 +414,7 @@ pipecat/utils/tracing/service_decorators.py,sha256=fwzxFpi8DJl6BJbK74G0UEB4ccMJg
|
|
|
414
414
|
pipecat/utils/tracing/setup.py,sha256=7TEgPNpq6M8lww8OQvf0P9FzYc5A30xICGklVA-fua0,2892
|
|
415
415
|
pipecat/utils/tracing/turn_context_provider.py,sha256=ikon3plFOx0XbMrH6DdeHttNpb-U0gzMZIm3bWLc9eI,2485
|
|
416
416
|
pipecat/utils/tracing/turn_trace_observer.py,sha256=dma16SBJpYSOE58YDWy89QzHyQFc_9gQZszKeWixuwc,9725
|
|
417
|
-
dv_pipecat_ai-0.0.85.
|
|
418
|
-
dv_pipecat_ai-0.0.85.
|
|
419
|
-
dv_pipecat_ai-0.0.85.
|
|
420
|
-
dv_pipecat_ai-0.0.85.
|
|
417
|
+
dv_pipecat_ai-0.0.85.dev817.dist-info/METADATA,sha256=BSBtWkhHZw70V_Qw09i39w-n-lmz5SCc8wc3tbxcSno,32875
|
|
418
|
+
dv_pipecat_ai-0.0.85.dev817.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
419
|
+
dv_pipecat_ai-0.0.85.dev817.dist-info/top_level.txt,sha256=kQzG20CxGf-nSsHmtXHx3hY2-8zHA3jYg8jk0TajqXc,8
|
|
420
|
+
dv_pipecat_ai-0.0.85.dev817.dist-info/RECORD,,
|
pipecat/frames/frames.py
CHANGED
|
@@ -1355,6 +1355,102 @@ class EndDTMFCaptureFrame(SystemFrame):
|
|
|
1355
1355
|
pass
|
|
1356
1356
|
|
|
1357
1357
|
|
|
1358
|
+
# Task frames
|
|
1359
|
+
#
|
|
1360
|
+
|
|
1361
|
+
|
|
1362
|
+
@dataclass
|
|
1363
|
+
class TaskFrame(SystemFrame):
|
|
1364
|
+
"""Base frame for task frames.
|
|
1365
|
+
|
|
1366
|
+
This is a base class for frames that are meant to be sent and handled
|
|
1367
|
+
upstream by the pipeline task. This might result in a corresponding frame
|
|
1368
|
+
sent downstream (e.g. `InterruptionTaskFrame` / `InterruptionFrame` or
|
|
1369
|
+
`EndTaskFrame` / `EndFrame`).
|
|
1370
|
+
|
|
1371
|
+
"""
|
|
1372
|
+
|
|
1373
|
+
pass
|
|
1374
|
+
|
|
1375
|
+
|
|
1376
|
+
@dataclass
|
|
1377
|
+
class EndTaskFrame(TaskFrame):
|
|
1378
|
+
"""Frame to request graceful pipeline task closure.
|
|
1379
|
+
|
|
1380
|
+
This is used to notify the pipeline task that the pipeline should be
|
|
1381
|
+
closed nicely (flushing all the queued frames) by pushing an EndFrame
|
|
1382
|
+
downstream. This frame should be pushed upstream.
|
|
1383
|
+
"""
|
|
1384
|
+
|
|
1385
|
+
pass
|
|
1386
|
+
|
|
1387
|
+
|
|
1388
|
+
@dataclass
|
|
1389
|
+
class CancelTaskFrame(TaskFrame):
|
|
1390
|
+
"""Frame to request immediate pipeline task cancellation.
|
|
1391
|
+
|
|
1392
|
+
This is used to notify the pipeline task that the pipeline should be
|
|
1393
|
+
stopped immediately by pushing a CancelFrame downstream. This frame
|
|
1394
|
+
should be pushed upstream.
|
|
1395
|
+
"""
|
|
1396
|
+
|
|
1397
|
+
pass
|
|
1398
|
+
|
|
1399
|
+
|
|
1400
|
+
@dataclass
|
|
1401
|
+
class StopTaskFrame(TaskFrame):
|
|
1402
|
+
"""Frame to request pipeline task stop while keeping processors running.
|
|
1403
|
+
|
|
1404
|
+
This is used to notify the pipeline task that it should be stopped as
|
|
1405
|
+
soon as possible (flushing all the queued frames) but that the pipeline
|
|
1406
|
+
processors should be kept in a running state. This frame should be pushed
|
|
1407
|
+
upstream.
|
|
1408
|
+
"""
|
|
1409
|
+
|
|
1410
|
+
pass
|
|
1411
|
+
|
|
1412
|
+
|
|
1413
|
+
@dataclass
|
|
1414
|
+
class InterruptionTaskFrame(TaskFrame):
|
|
1415
|
+
"""Frame indicating the bot should be interrupted.
|
|
1416
|
+
|
|
1417
|
+
Emitted when the bot should be interrupted. This will mainly cause the
|
|
1418
|
+
same actions as if the user interrupted except that the
|
|
1419
|
+
UserStartedSpeakingFrame and UserStoppedSpeakingFrame won't be generated.
|
|
1420
|
+
This frame should be pushed upstream.
|
|
1421
|
+
"""
|
|
1422
|
+
|
|
1423
|
+
pass
|
|
1424
|
+
|
|
1425
|
+
|
|
1426
|
+
@dataclass
|
|
1427
|
+
class BotInterruptionFrame(InterruptionTaskFrame):
|
|
1428
|
+
"""Frame indicating the bot should be interrupted.
|
|
1429
|
+
|
|
1430
|
+
.. deprecated:: 0.0.85
|
|
1431
|
+
This frame is deprecated and will be removed in a future version.
|
|
1432
|
+
Instead, use `InterruptionTaskFrame`.
|
|
1433
|
+
|
|
1434
|
+
Emitted when the bot should be interrupted. This will mainly cause the
|
|
1435
|
+
same actions as if the user interrupted except that the
|
|
1436
|
+
UserStartedSpeakingFrame and UserStoppedSpeakingFrame won't be generated.
|
|
1437
|
+
This frame should be pushed upstream.
|
|
1438
|
+
"""
|
|
1439
|
+
|
|
1440
|
+
def __post_init__(self):
|
|
1441
|
+
super().__post_init__()
|
|
1442
|
+
import warnings
|
|
1443
|
+
|
|
1444
|
+
with warnings.catch_warnings():
|
|
1445
|
+
warnings.simplefilter("always")
|
|
1446
|
+
warnings.warn(
|
|
1447
|
+
"BotInterruptionFrame is deprecated and will be removed in a future version. "
|
|
1448
|
+
"Instead, use InterruptionTaskFrame.",
|
|
1449
|
+
DeprecationWarning,
|
|
1450
|
+
stacklevel=2,
|
|
1451
|
+
)
|
|
1452
|
+
|
|
1453
|
+
|
|
1358
1454
|
#
|
|
1359
1455
|
# Control frames
|
|
1360
1456
|
#
|
pipecat/services/tts_service.py
CHANGED
|
@@ -12,6 +12,7 @@ from typing import (
|
|
|
12
12
|
Any,
|
|
13
13
|
AsyncGenerator,
|
|
14
14
|
AsyncIterator,
|
|
15
|
+
Callable,
|
|
15
16
|
Dict,
|
|
16
17
|
List,
|
|
17
18
|
Mapping,
|
|
@@ -127,6 +128,7 @@ class TTSService(AIService):
|
|
|
127
128
|
|
|
128
129
|
.. deprecated:: 0.0.59
|
|
129
130
|
Use `text_filters` instead, which allows multiple filters.
|
|
131
|
+
text_formatter: Optional callable receiving text and language code, returning formatted text.
|
|
130
132
|
|
|
131
133
|
transport_destination: Destination for generated audio frames.
|
|
132
134
|
**kwargs: Additional arguments passed to the parent AIService.
|
|
File without changes
|
{dv_pipecat_ai-0.0.85.dev814.dist-info → dv_pipecat_ai-0.0.85.dev817.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
{dv_pipecat_ai-0.0.85.dev814.dist-info → dv_pipecat_ai-0.0.85.dev817.dist-info}/top_level.txt
RENAMED
|
File without changes
|