Add CHANGELOG entry for the universal LLMContext machinery

This commit is contained in:
Paul Kompfner
2025-08-19 11:14:15 -04:00
parent 12064bd6e6
commit 566af71862

View File

@@ -16,6 +16,33 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added ### Added
- Added a new "universal" (LLM-agnostic) `LLMContext` and accompanying
`LLMContextAggregatorPair`, which will eventually replace `OpenAILLMContext`
(and the other under-the-hood contexts) and the other context aggregators.
The new universal `LLMContext` machinery allows a single context to be shared
between different LLMs, enabling scenarios like LLM failover.
From the developer's point of view, switching to using the new universal
context machinery will usually be a matter of going from this:
```python
context = OpenAILLMContext(messages, tools)
context_aggregator = llm.create_context_aggregator(context)
```
To this:
```python
context = LLMContext(messages, tools)
context_aggregator = LLMContextAggregatorPair(context)
```
To start, the universal `LLMContext` is supported with the following LLM
services:
- `OpenAILLMService`
- `GoogleLLMService`
- Added `pipecat.extensions.voicemail`, a module for detecting voicemail vs. - Added `pipecat.extensions.voicemail`, a module for detecting voicemail vs.
live conversation, primarily intended for use in outbound calling scenarios. live conversation, primarily intended for use in outbound calling scenarios.
The voicemail module is optimized for text LLMs only. The voicemail module is optimized for text LLMs only.