From f6912c0f9a45efcb9e3d375985c11618aad36a18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Conchillo=20Flaqu=C3=A9?= Date: Fri, 14 Feb 2025 15:44:13 -0800 Subject: [PATCH] utils: don't consider colon an end of sentence --- CHANGELOG.md | 2 ++ src/pipecat/utils/string.py | 4 ++-- tests/test_utils_string.py | 2 -- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c8590e665..0201fdc23 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -56,6 +56,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- We don't consider a colon `:` and end of sentence any more. + - Updated `DailyTransport` to respect the `audio_in_stream_on_start` field, ensuring it only starts receiving the audio input if it is enabled. diff --git a/src/pipecat/utils/string.py b/src/pipecat/utils/string.py index c269c5e57..916dfad41 100644 --- a/src/pipecat/utils/string.py +++ b/src/pipecat/utils/string.py @@ -13,8 +13,8 @@ ENDOFSENTENCE_PATTERN_STR = r""" (?