Update CHANGELOG
This commit is contained in:
@@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
|
- Added OpenTelemetry tracing for `GeminiMultimodalLiveLLMService` and
|
||||||
|
`OpenAIRealtimeBetaLLMService`.
|
||||||
|
|
||||||
- Added `interruption_strategies` to `PipelineParams` using
|
- Added `interruption_strategies` to `PipelineParams` using
|
||||||
`MinWordsInterruptionStrategy` to specify minimum words required to interrupt
|
`MinWordsInterruptionStrategy` to specify minimum words required to interrupt
|
||||||
the bot when it's speaking. Use
|
the bot when it's speaking. Use
|
||||||
@@ -48,6 +51,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
`DailyTransport.stop_transcription()` to be able to start and stop Daily
|
`DailyTransport.stop_transcription()` to be able to start and stop Daily
|
||||||
transcription dynamically (maybe with different settings).
|
transcription dynamically (maybe with different settings).
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- Updated OpenTelemetry tracing attribute `metrics.ttfb_ms` to `metrics.ttfb`.
|
||||||
|
The attribute reports TTFB in seconds.
|
||||||
|
|
||||||
### Deprecated
|
### Deprecated
|
||||||
|
|
||||||
- `DailyTransport.send_dtmf()` is deprecated, push an `OutputDTMFFrame` or an
|
- `DailyTransport.send_dtmf()` is deprecated, push an `OutputDTMFFrame` or an
|
||||||
|
|||||||
@@ -761,9 +761,9 @@ def traced_gemini_live(operation: str) -> Callable:
|
|||||||
_add_token_usage_to_span(current_span, tokens)
|
_add_token_usage_to_span(current_span, tokens)
|
||||||
|
|
||||||
# Capture TTFB metric if available
|
# Capture TTFB metric if available
|
||||||
ttfb_ms = getattr(getattr(self, "_metrics", None), "ttfb_ms", None)
|
ttfb = getattr(getattr(self, "_metrics", None), "ttfb", None)
|
||||||
if ttfb_ms is not None:
|
if ttfb is not None:
|
||||||
current_span.set_attribute("metrics.ttfb_ms", ttfb_ms)
|
current_span.set_attribute("metrics.ttfb", ttfb)
|
||||||
|
|
||||||
# Run the original function
|
# Run the original function
|
||||||
result = await func(self, *args, **kwargs)
|
result = await func(self, *args, **kwargs)
|
||||||
@@ -979,9 +979,9 @@ def traced_openai_realtime(operation: str) -> Callable:
|
|||||||
_add_token_usage_to_span(current_span, tokens)
|
_add_token_usage_to_span(current_span, tokens)
|
||||||
|
|
||||||
# Capture TTFB metric if available
|
# Capture TTFB metric if available
|
||||||
ttfb_ms = getattr(getattr(self, "_metrics", None), "ttfb_ms", None)
|
ttfb = getattr(getattr(self, "_metrics", None), "ttfb", None)
|
||||||
if ttfb_ms is not None:
|
if ttfb is not None:
|
||||||
current_span.set_attribute("metrics.ttfb_ms", ttfb_ms)
|
current_span.set_attribute("metrics.ttfb", ttfb)
|
||||||
|
|
||||||
# Run the original function
|
# Run the original function
|
||||||
result = await func(self, *args, **kwargs)
|
result = await func(self, *args, **kwargs)
|
||||||
|
|||||||
Reference in New Issue
Block a user