jqueguiner
25ff8ef37b
✨ (config.py): add new configuration options for lip-sync optimization, context adaptation, and additional context to enhance translation accuracy
...
♻️ (stt.py): increase default max buffer size from 5MB to 20MB to accommodate larger audio data
♻️ (stt.py): simplify audio sending logic by removing chunking and sending the entire buffered audio at once for improved performance
2025-06-05 16:51:29 -07:00
jqueguiner
02cc6f3d56
Enhance GladiaSTTService with reconnection and audio buffer management features
...
- Added parameters for maximum reconnection attempts, reconnection delay, and maximum audio buffer size.
- Implemented automatic reconnection logic with exponential backoff.
- Introduced audio buffer management to handle audio data efficiently, including trimming excess data.
- Updated connection handling to ensure proper cleanup and management of WebSocket connections.
- Enhanced audio sending logic to support buffered audio transmission after reconnections.
2025-06-03 03:16:57 -07:00
Aleix Conchillo Flaqué
a8aaeec52b
Merge pull request #1926 from pipecat-ai/aleix/pause-base-input-transport
...
handle StopFrame in base input transport and stop pushing frames
2025-05-30 08:27:20 -07:00
Mark Backman
ad7eec181e
Merge pull request #1923 from philipp-eisen/philipp/fix-ttfb_ms-implementation
...
Fix implementation of ttfb_ms metric
2025-05-30 11:03:42 -04:00
Aleix Conchillo Flaqué
b33897ffb9
SmallWebRTCTransport: don't initialize if a second StartFrame is received
2025-05-30 07:51:51 -07:00
Aleix Conchillo Flaqué
1c3d3f2f4b
WebsocketClientTransport: don't initialize if a second StartFrame is received
2025-05-30 07:51:51 -07:00
Aleix Conchillo Flaqué
9a5a1edb6b
WebsocketServerTransport: don't initialize if a second StartFrame is received
2025-05-30 07:51:51 -07:00
Aleix Conchillo Flaqué
f2eb869b02
FastAPIWebsocketTransport: don't initialize if a second StartFrame is received
2025-05-30 07:51:51 -07:00
Aleix Conchillo Flaqué
0c7e3cfcb2
LiveKitTransport: don't initialize if a second StartFrame is received
2025-05-30 07:51:51 -07:00
Aleix Conchillo Flaqué
24e19db29e
TavusTransport: don't initialize if a second StartFrame is received
2025-05-30 07:51:51 -07:00
Aleix Conchillo Flaqué
cad271068e
BaseInputTransport: handle StopFrame and pause pushing frames
2025-05-30 07:51:49 -07:00
Philipp Eisen
3425293115
Ensure correct formatting
2025-05-30 15:41:45 +02:00
Philipp Eisen
b712e6b9aa
Switch ttfb metric to use seconds instead
2025-05-30 11:13:26 +02:00
Martin Schweiger
b3652e6527
set vad_force_turn_endpoint to True by default
2025-05-30 17:07:54 +08:00
Philipp Eisen
bc97f397ef
Switch to using float instead of int, but keep ms
2025-05-30 10:27:20 +02:00
Martin Schweiger
e5da3f6e68
add tracing
2025-05-30 10:55:19 +08:00
Martin Schweiger
8400539acf
set formatted_finals true by default
2025-05-30 10:40:01 +08:00
Martin Schweiger
b5eac8dfed
add message to TranscriptionFrame result
2025-05-30 10:39:07 +08:00
Martin Schweiger
ba312b5591
Merge branch 'main' into m-ods/assemblyai-universal-streaming
2025-05-30 10:29:49 +08:00
Martin Schweiger
f23572b318
Merge branch 'main' into m-ods/assemblyai-universal-streaming
2025-05-30 10:11:02 +08:00
Martin Schweiger
db838634e7
fix: double finals bug
2025-05-30 10:00:31 +08:00
Martin Schweiger
7f2e848a5c
use FrameProcessor class methods
2025-05-30 09:40:46 +08:00
Martin Schweiger
096e854d50
remove .dict()
2025-05-30 09:31:20 +08:00
Martin Schweiger
3ffe8b3155
remove parse_obj
2025-05-30 09:29:51 +08:00
Mark Backman
a471f49b61
Merge pull request #1889 from pipecat-ai/mb/add-dtmf-aggregator
...
Add DTMFAggregator
2025-05-29 17:13:28 -04:00
Mark Backman
4d2a02f318
Refactor to create task on StartFrame, also cleanup
2025-05-29 17:10:54 -04:00
Mark Backman
0bec7db03b
Emit a BotInterruptionFrame when the first keypress of a sequence is received
2025-05-29 17:07:18 -04:00
Mark Backman
74827f983f
Add tests, improve frame timing
2025-05-29 17:07:18 -04:00
Mark Backman
0ed46f457e
Add DTMFAggregator
2025-05-29 17:07:17 -04:00
Aleix Conchillo Flaqué
36b731be73
Merge pull request #1915 from pipecat-ai/aleix/uvloop-event-loop
...
use uvloop as the new event loop on Linux and macOS
2025-05-29 14:06:44 -07:00
Aleix Conchillo Flaqué
62fbdd4e81
Merge pull request #1922 from pipecat-ai/aleix/output-transport-cleanup
...
output transports cleanup
2025-05-29 14:06:17 -07:00
Aleix Conchillo Flaqué
ca7b0650c2
examples: capture camera or screen. allow setting framerate
2025-05-29 13:16:44 -07:00
Aleix Conchillo Flaqué
67dd146038
output transports cleanup
2025-05-29 13:16:44 -07:00
Aleix Conchillo Flaqué
fb66df2efd
use uvloop as the new event loop on Linux and macOS
2025-05-29 11:24:21 -07:00
Aleix Conchillo Flaqué
d203789490
add STT result field to TranscriptionFrame/InterimTranscriptionFrame
2025-05-29 11:21:44 -07:00
Aleix Conchillo Flaqué
7ea0e31cd4
Merge pull request #1924 from pipecat-ai/aleix/new-examples-package
...
add new pipecat.examples package and make runner public
2025-05-29 11:18:22 -07:00
Mark Backman
803b3f2cc4
fix: update websocket_client to use FrameProcessorSetup
2025-05-29 14:02:47 -04:00
Aleix Conchillo Flaqué
1788ba6c5c
add new pipecat.examples package and make runner public
2025-05-29 10:43:12 -07:00
Philipp Eisen
5209bd3d9f
Fix implemetation of ttfb_ms metric
2025-05-29 19:24:04 +02:00
Aleix Conchillo Flaqué
5676920a6a
BaseOutputTransport/DailyTransport: allow sending DTMF keypress
2025-05-29 09:33:29 -07:00
Aleix Conchillo Flaqué
513221d9fd
added OutputDTMFUrgentFrame
2025-05-29 09:32:57 -07:00
Mark Backman
bee242b781
Safer check when using the no_operation tool
2025-05-29 10:25:20 -04:00
Mark Backman
fa1c98ff29
Add no_op tool to AWSBedrockLLMService
2025-05-29 10:25:19 -04:00
alexflorensa
0c2efb312c
fix(deepgram-stt) Set model name to Deepgram STT
2025-05-29 12:08:16 +02:00
Aleix Conchillo Flaqué
05ae3a1703
DailyTransport: expose start_transcription/stop_transcription
2025-05-28 11:21:26 -07:00
Filipi Fuchter
bf31bce440
Updated SmallWebRTCTransport to align with how other transports handle on_client_disconnected
2025-05-27 17:42:52 -07:00
Aleix Conchillo Flaqué
071a9307c9
transport(websocket): do not require a frame serializer
2025-05-27 17:42:52 -07:00
Aleix Conchillo Flaqué
ecf878e14d
DailyTransport: allow requesting video frames with any framerate
2025-05-27 17:42:50 -07:00
Aleix Conchillo Flaqué
4eed335bc7
PipelineTask: check if pipeline has already been cancelled
2025-05-27 17:40:39 -07:00
Aleix Conchillo Flaqué
2e57bb74d2
BaseObject: do not raise exception if event handler not registered
2025-05-27 17:40:35 -07:00