dv-pipecat-ai 0.0.85.dev824__py3-none-any.whl → 0.0.85.dev825__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.85.dev824
3
+ Version: 0.0.85.dev825
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.85.dev824.dist-info/licenses/LICENSE,sha256=DWY2QGf2eMCFhuu2ChairtT6CB7BEFffNVhXWc4Od08,1301
1
+ dv_pipecat_ai-0.0.85.dev825.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
@@ -352,7 +352,7 @@ pipecat/tests/utils.py,sha256=DEHDQV8uhCuKIqoHUPGVdUoCiKqTCG9zv5GqLXWWwvY,7870
352
352
  pipecat/transcriptions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
353
353
  pipecat/transcriptions/language.py,sha256=-mWI1MiZbasuoqZTOBH69dAmoM7-UJzWq9rSCcrnmh4,8228
354
354
  pipecat/transports/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
355
- pipecat/transports/base_input.py,sha256=BDex3CfCefwXyjK0M_FBXYEjqXYKUKR5ODtxcRp66uI,20086
355
+ pipecat/transports/base_input.py,sha256=WGtoXXlF3GIjYgjtYnAgi8nZozd5abNlGNjwRnz8FRs,20138
356
356
  pipecat/transports/base_output.py,sha256=mNlIOo7tETlbYPbDyOtA2H-TkBGFKmjuCMDzQUtiwmk,35423
357
357
  pipecat/transports/base_transport.py,sha256=JlNiH0DysTfr6azwHauJqY_Z9HJC702O29Q0qrsLrg4,7530
358
358
  pipecat/transports/daily/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -415,7 +415,7 @@ pipecat/utils/tracing/service_decorators.py,sha256=fwzxFpi8DJl6BJbK74G0UEB4ccMJg
415
415
  pipecat/utils/tracing/setup.py,sha256=7TEgPNpq6M8lww8OQvf0P9FzYc5A30xICGklVA-fua0,2892
416
416
  pipecat/utils/tracing/turn_context_provider.py,sha256=ikon3plFOx0XbMrH6DdeHttNpb-U0gzMZIm3bWLc9eI,2485
417
417
  pipecat/utils/tracing/turn_trace_observer.py,sha256=dma16SBJpYSOE58YDWy89QzHyQFc_9gQZszKeWixuwc,9725
418
- dv_pipecat_ai-0.0.85.dev824.dist-info/METADATA,sha256=uKWtJ_kdcJbjQXBfvv2_jUlyrmLwFG7YVWXKZYTZFo8,32924
419
- dv_pipecat_ai-0.0.85.dev824.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
420
- dv_pipecat_ai-0.0.85.dev824.dist-info/top_level.txt,sha256=kQzG20CxGf-nSsHmtXHx3hY2-8zHA3jYg8jk0TajqXc,8
421
- dv_pipecat_ai-0.0.85.dev824.dist-info/RECORD,,
418
+ dv_pipecat_ai-0.0.85.dev825.dist-info/METADATA,sha256=9do57Wuqp0n9sMyV0YkeHfibkx3w57ANLCiGI7Pbzsk,32924
419
+ dv_pipecat_ai-0.0.85.dev825.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
420
+ dv_pipecat_ai-0.0.85.dev825.dist-info/top_level.txt,sha256=kQzG20CxGf-nSsHmtXHx3hY2-8zHA3jYg8jk0TajqXc,8
421
+ dv_pipecat_ai-0.0.85.dev825.dist-info/RECORD,,
@@ -297,6 +297,17 @@ class BaseInputTransport(FrameProcessor):
297
297
  elif isinstance(frame, EmulateUserStoppedSpeakingFrame):
298
298
  self.logger.debug("Emulating user stopped speaking")
299
299
  await self._handle_user_interruption(VADState.QUIET, emulated=True)
300
+ elif isinstance(frame, VADParamsUpdateFrame):
301
+ if self.vad_analyzer:
302
+ self.vad_analyzer.set_params(frame.params)
303
+ speech_frame = SpeechControlParamsFrame(
304
+ vad_params=frame.params,
305
+ turn_params=self._params.turn_analyzer.params
306
+ if self._params.turn_analyzer
307
+ else None,
308
+ )
309
+ await self.push_frame(speech_frame)
310
+ await self.push_frame(frame, direction)
300
311
  # All other system frames
301
312
  elif isinstance(frame, SystemFrame):
302
313
  await self.push_frame(frame, direction)
@@ -309,16 +320,6 @@ class BaseInputTransport(FrameProcessor):
309
320
  elif isinstance(frame, StopFrame):
310
321
  await self.push_frame(frame, direction)
311
322
  await self.pause(frame)
312
- elif isinstance(frame, VADParamsUpdateFrame):
313
- if self.vad_analyzer:
314
- self.vad_analyzer.set_params(frame.params)
315
- speech_frame = SpeechControlParamsFrame(
316
- vad_params=frame.params,
317
- turn_params=self._params.turn_analyzer.params
318
- if self._params.turn_analyzer
319
- else None,
320
- )
321
- await self.push_frame(speech_frame)
322
323
  elif isinstance(frame, FilterUpdateSettingsFrame) and self._params.audio_in_filter:
323
324
  await self._params.audio_in_filter.process_frame(frame)
324
325
  # Other frames