dv-pipecat-ai 0.0.82.dev62__py3-none-any.whl → 0.0.82.dev64__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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dv-pipecat-ai
3
- Version: 0.0.82.dev62
3
+ Version: 0.0.82.dev64
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
@@ -1,4 +1,4 @@
1
- dv_pipecat_ai-0.0.82.dev62.dist-info/licenses/LICENSE,sha256=DWY2QGf2eMCFhuu2ChairtT6CB7BEFffNVhXWc4Od08,1301
1
+ dv_pipecat_ai-0.0.82.dev64.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
@@ -74,7 +74,7 @@ pipecat/extensions/voicemail/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NM
74
74
  pipecat/extensions/voicemail/voicemail_detector.py,sha256=g3L1m3cPJzsadeB5a8WRC9klH0D8m7xfPgB2YEaL6Do,29983
75
75
  pipecat/frames/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
76
76
  pipecat/frames/frames.proto,sha256=JXZm3VXLR8zMOUcOuhVoe2mhM3MQIQGMJXLopdJO_5Y,839
77
- pipecat/frames/frames.py,sha256=mMXjaMd2dC6ILva3DWL2cyNeLTq8q_kpUs5RiHMCEVw,44812
77
+ pipecat/frames/frames.py,sha256=ASeOObRvTRwbFBCXOHVEiKyLZZjZLhfouXIBhccEsa0,45163
78
78
  pipecat/frames/protobufs/frames_pb2.py,sha256=VHgGV_W7qQ4sfQK6RHb5_DggLm3PiSYMr6aBZ8_p1cQ,2590
79
79
  pipecat/metrics/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
80
80
  pipecat/metrics/metrics.py,sha256=bdZNciEtLTtA-xgoKDz2RJAy6fKrXkTwz3pryVHzc2M,2713
@@ -150,7 +150,7 @@ pipecat/serializers/__init__.py,sha256=xcmbbR7YYU5C4HPbo2WVgPij-Bl_qlrLcnunCdpcZ
150
150
  pipecat/serializers/asterisk.py,sha256=bPuGuLiCf04_H0d9Gc-5BpEtqD9BRNWnpZZq5MZ1fDY,6091
151
151
  pipecat/serializers/base_serializer.py,sha256=OyBUZccs2ZT9mfkBbq2tGsUJMvci6o-j90Cl1sicPaI,2030
152
152
  pipecat/serializers/convox.py,sha256=Irby_iZywgBtevlxiC8nE2GY3eh4yNNRi2YC-0vnNTY,11155
153
- pipecat/serializers/custom.py,sha256=zoQqdwEQn_DX2sCA0EXYpi5Ly0T_6n0m5blaULep6r8,9268
153
+ pipecat/serializers/custom.py,sha256=O0gHTyoSb1AZ_tEmE9VgRViYckmsNzjwCAqt-Xc2CaM,9081
154
154
  pipecat/serializers/exotel.py,sha256=U08EQeRzfW6O2P5mKeCjTy1Ur9KoTjVty3MehmVBEC0,5939
155
155
  pipecat/serializers/livekit.py,sha256=caVZlVJGV-SmEXE_H7i3DRo1RvC9FgGCVqi8IYGrpEo,2552
156
156
  pipecat/serializers/plivo.py,sha256=9hJ8gvkVp1_sFx30ELWMJPMQQskwLKWsD49DALzAsRA,9410
@@ -377,7 +377,7 @@ pipecat/utils/tracing/service_decorators.py,sha256=HwDCqLGijhYD3F8nxDuQmEw-YkRw0
377
377
  pipecat/utils/tracing/setup.py,sha256=7TEgPNpq6M8lww8OQvf0P9FzYc5A30xICGklVA-fua0,2892
378
378
  pipecat/utils/tracing/turn_context_provider.py,sha256=ikon3plFOx0XbMrH6DdeHttNpb-U0gzMZIm3bWLc9eI,2485
379
379
  pipecat/utils/tracing/turn_trace_observer.py,sha256=dma16SBJpYSOE58YDWy89QzHyQFc_9gQZszKeWixuwc,9725
380
- dv_pipecat_ai-0.0.82.dev62.dist-info/METADATA,sha256=VWvXpWoDQRdJ7ofIc2CUNZlzvkRbXycp3EaMkn5AS4w,32638
381
- dv_pipecat_ai-0.0.82.dev62.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
382
- dv_pipecat_ai-0.0.82.dev62.dist-info/top_level.txt,sha256=kQzG20CxGf-nSsHmtXHx3hY2-8zHA3jYg8jk0TajqXc,8
383
- dv_pipecat_ai-0.0.82.dev62.dist-info/RECORD,,
380
+ dv_pipecat_ai-0.0.82.dev64.dist-info/METADATA,sha256=d0-ry0vIKL2kPx2yciY8SsoJp5vGN9HNz8zeHDDw6rQ,32638
381
+ dv_pipecat_ai-0.0.82.dev64.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
382
+ dv_pipecat_ai-0.0.82.dev64.dist-info/top_level.txt,sha256=kQzG20CxGf-nSsHmtXHx3hY2-8zHA3jYg8jk0TajqXc,8
383
+ dv_pipecat_ai-0.0.82.dev64.dist-info/RECORD,,
pipecat/frames/frames.py CHANGED
@@ -1575,6 +1575,19 @@ class StopUserIdleProcessorFrame(SystemFrame):
1575
1575
  pass
1576
1576
 
1577
1577
 
1578
+ @dataclass
1579
+ class ResetUserIdleProcessorFrame(SystemFrame):
1580
+ """Frame signalling the UserIdleProcessor to treat the user as active again.
1581
+
1582
+ Parameters:
1583
+ text: Optional transcription text that triggered the reset.
1584
+ is_final: Whether the transcription was marked final by STT.
1585
+ """
1586
+
1587
+ text: str = ""
1588
+ is_final: bool = False
1589
+
1590
+
1578
1591
  @dataclass
1579
1592
  class WaitForDTMFFrame(ControlFrame):
1580
1593
  """Frame to stop the UserIdleProcessor monitoring."""
@@ -165,14 +165,11 @@ class CustomFrameSerializer(FrameSerializer):
165
165
  return None
166
166
 
167
167
  payload = base64.b64encode(serialized_data).decode("ascii")
168
- frame_uuid = str(uuid.uuid4())
169
168
  answer = {
170
169
  "event": "media",
171
170
  "stream_sid": self._stream_sid,
172
171
  "media": {"payload": payload},
173
- "uuid": frame_uuid,
174
172
  }
175
- logger.debug(f"Sending media: {frame_uuid}")
176
173
 
177
174
  return json.dumps(answer)
178
175
 
@@ -214,7 +211,6 @@ class CustomFrameSerializer(FrameSerializer):
214
211
  except Exception as e:
215
212
  logger.error(f"Failed to decode base64 payload: {e}")
216
213
  return None
217
- logger.debug(f"Received uuid: {uuid}")
218
214
 
219
215
  # Convert audio based on codec
220
216
  if self._codec == "pcmu":