Release prep for 0.0.75 (#2169)
* Update CHANGELOG for 0.0.75 release * Add RTVI changes to CHANGELOG * Update CHANGELOG, add deprecation directives to rtvi.py --------- Co-authored-by: mattie ruth backman <mattieruth@gmail.com>
This commit is contained in:
24
CHANGELOG.md
24
CHANGELOG.md
@@ -5,7 +5,7 @@ All notable changes to **Pipecat** will be documented in this file.
|
|||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
## [Unreleased]
|
## [0.0.75] - 2025-07-08
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
@@ -25,6 +25,28 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
- Updated `RTVIObserver` and `RTVIProcessor` to match the new RTVI 1.0.0 protocol.
|
||||||
|
This includes:
|
||||||
|
|
||||||
|
- Deprecating support for all messages related to service configuaration and
|
||||||
|
actions.
|
||||||
|
- Adding support for obtaining and logging data about client, including its
|
||||||
|
RTVI version and optionally included system information (OS/browser/etc.)
|
||||||
|
- Adding support for handling the new `client-message` RTVI message through
|
||||||
|
either a `on_client_message` event handler or listening for a new
|
||||||
|
`RTVIClientMessageFrame`
|
||||||
|
- Adding support for responding to a `client-message` with a `server-response`
|
||||||
|
via either a direct call on the `RTVIProcessor` or via pushing a new
|
||||||
|
`RTVIServerResponseFrame`
|
||||||
|
- Adding built-in support for handling the new `append-to-context` RTVI message
|
||||||
|
which allows a client to add to the user or assistant llm context. No extra
|
||||||
|
code is required for supporting this behavior.
|
||||||
|
- Updating all JavaScript and React client RTVI examples to use versions 1.0.0
|
||||||
|
of the clients.
|
||||||
|
|
||||||
|
Get started migrating to RTVI protocol 1.0.0 by following the migration guide:
|
||||||
|
https://docs.pipecat.ai/client/migration-guide
|
||||||
|
|
||||||
- Refactored `AWSBedrockLLMService` and `AWSPollyTTSService` to work
|
- Refactored `AWSBedrockLLMService` and `AWSPollyTTSService` to work
|
||||||
asynchronously using `aioboto3` instead of the `boto3` library.
|
asynchronously using `aioboto3` instead of the `boto3` library.
|
||||||
|
|
||||||
|
|||||||
@@ -93,10 +93,9 @@ class RTVIServiceOption(BaseModel):
|
|||||||
Defines a configurable option that can be set for an RTVI service,
|
Defines a configurable option that can be set for an RTVI service,
|
||||||
including its name, type, and handler function.
|
including its name, type, and handler function.
|
||||||
|
|
||||||
DEPRECATED.
|
.. deprecated:: 0.0.75
|
||||||
|
Pipeline Configuration has been removed as part of the RTVI protocol 1.0.0.
|
||||||
Pipeline Configuration has been removed as part of the RTVI protocol 1.0.0.
|
Use custom client and server messages instead.
|
||||||
Use custom client and server messages instead.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
name: str
|
name: str
|
||||||
@@ -112,10 +111,9 @@ class RTVIService(BaseModel):
|
|||||||
Represents a service that can be configured and used within the RTVI protocol,
|
Represents a service that can be configured and used within the RTVI protocol,
|
||||||
containing a name and list of configurable options.
|
containing a name and list of configurable options.
|
||||||
|
|
||||||
DEPRECATED.
|
.. deprecated:: 0.0.75
|
||||||
|
Pipeline Configuration has been removed as part of the RTVI protocol 1.0.0.
|
||||||
Pipeline Configuration has been removed as part of the RTVI protocol 1.0.0.
|
Use custom client and server messages instead.
|
||||||
Use custom client and server messages instead.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
name: str
|
name: str
|
||||||
@@ -135,10 +133,9 @@ class RTVIActionArgumentData(BaseModel):
|
|||||||
|
|
||||||
Contains the name and value of an argument passed to an RTVI action.
|
Contains the name and value of an argument passed to an RTVI action.
|
||||||
|
|
||||||
DEPRECATED.
|
.. deprecated:: 0.0.75
|
||||||
|
Actions have been removed as part of the RTVI protocol 1.0.0.
|
||||||
Actions have been removed as part of the RTVI protocol 1.0.0.
|
Use custom client and server messages instead.
|
||||||
Use custom client and server messages instead.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
name: str
|
name: str
|
||||||
@@ -150,10 +147,9 @@ class RTVIActionArgument(BaseModel):
|
|||||||
|
|
||||||
Specifies the name and expected type of an argument for an RTVI action.
|
Specifies the name and expected type of an argument for an RTVI action.
|
||||||
|
|
||||||
DEPRECATED.
|
.. deprecated:: 0.0.75
|
||||||
|
Actions have been removed as part of the RTVI protocol 1.0.0.
|
||||||
Actions have been removed as part of the RTVI protocol 1.0.0.
|
Use custom client and server messages instead.
|
||||||
Use custom client and server messages instead.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
name: str
|
name: str
|
||||||
@@ -166,10 +162,9 @@ class RTVIAction(BaseModel):
|
|||||||
Represents an action that can be executed within the RTVI protocol,
|
Represents an action that can be executed within the RTVI protocol,
|
||||||
including its service, name, arguments, and handler function.
|
including its service, name, arguments, and handler function.
|
||||||
|
|
||||||
DEPRECATED.
|
.. deprecated:: 0.0.75
|
||||||
|
Actions have been removed as part of the RTVI protocol 1.0.0.
|
||||||
Actions have been removed as part of the RTVI protocol 1.0.0.
|
Use custom client and server messages instead.
|
||||||
Use custom client and server messages instead.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
service: str
|
service: str
|
||||||
@@ -194,10 +189,9 @@ class RTVIServiceOptionConfig(BaseModel):
|
|||||||
|
|
||||||
Contains the name and value to set for a specific service option.
|
Contains the name and value to set for a specific service option.
|
||||||
|
|
||||||
DEPRECATED.
|
.. deprecated:: 0.0.75
|
||||||
|
Pipeline Configuration has been removed as part of the RTVI protocol 1.0.0.
|
||||||
Pipeline Configuration has been removed as part of the RTVI protocol 1.0.0.
|
Use custom client and server messages instead.
|
||||||
Use custom client and server messages instead.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
name: str
|
name: str
|
||||||
@@ -209,10 +203,9 @@ class RTVIServiceConfig(BaseModel):
|
|||||||
|
|
||||||
Contains the service name and list of option configurations to apply.
|
Contains the service name and list of option configurations to apply.
|
||||||
|
|
||||||
DEPRECATED.
|
.. deprecated:: 0.0.75
|
||||||
|
Pipeline Configuration has been removed as part of the RTVI protocol 1.0.0.
|
||||||
Pipeline Configuration has been removed as part of the RTVI protocol 1.0.0.
|
Use custom client and server messages instead.
|
||||||
Use custom client and server messages instead.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
service: str
|
service: str
|
||||||
@@ -224,10 +217,9 @@ class RTVIConfig(BaseModel):
|
|||||||
|
|
||||||
Contains the full configuration for all RTVI services.
|
Contains the full configuration for all RTVI services.
|
||||||
|
|
||||||
DEPRECATED.
|
.. deprecated:: 0.0.75
|
||||||
|
Pipeline Configuration has been removed as part of the RTVI protocol 1.0.0.
|
||||||
Pipeline Configuration has been removed as part of the RTVI protocol 1.0.0.
|
Use custom client and server messages instead.
|
||||||
Use custom client and server messages instead.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
config: List[RTVIServiceConfig]
|
config: List[RTVIServiceConfig]
|
||||||
@@ -244,10 +236,9 @@ class RTVIUpdateConfig(BaseModel):
|
|||||||
|
|
||||||
Contains new configuration settings and whether to interrupt the bot.
|
Contains new configuration settings and whether to interrupt the bot.
|
||||||
|
|
||||||
DEPRECATED.
|
.. deprecated:: 0.0.75
|
||||||
|
Pipeline Configuration has been removed as part of the RTVI protocol 1.0.0.
|
||||||
Pipeline Configuration has been removed as part of the RTVI protocol 1.0.0.
|
Use custom client and server messages instead.
|
||||||
Use custom client and server messages instead.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
config: List[RTVIServiceConfig]
|
config: List[RTVIServiceConfig]
|
||||||
@@ -259,10 +250,9 @@ class RTVIActionRunArgument(BaseModel):
|
|||||||
|
|
||||||
Contains the name and value of an argument to pass to an action.
|
Contains the name and value of an argument to pass to an action.
|
||||||
|
|
||||||
DEPRECATED.
|
.. deprecated:: 0.0.75
|
||||||
|
Actions have been removed as part of the RTVI protocol 1.0.0.
|
||||||
Actions have been removed as part of the RTVI protocol 1.0.0.
|
Use custom client and server messages instead.
|
||||||
Use custom client and server messages instead.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
name: str
|
name: str
|
||||||
@@ -274,10 +264,9 @@ class RTVIActionRun(BaseModel):
|
|||||||
|
|
||||||
Contains the service, action name, and optional arguments.
|
Contains the service, action name, and optional arguments.
|
||||||
|
|
||||||
DEPRECATED.
|
.. deprecated:: 0.0.75
|
||||||
|
Actions have been removed as part of the RTVI protocol 1.0.0.
|
||||||
Actions have been removed as part of the RTVI protocol 1.0.0.
|
Use custom client and server messages instead.
|
||||||
Use custom client and server messages instead.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
service: str
|
service: str
|
||||||
@@ -293,10 +282,9 @@ class RTVIActionFrame(DataFrame):
|
|||||||
rtvi_action_run: The action to execute.
|
rtvi_action_run: The action to execute.
|
||||||
message_id: Optional message ID for response correlation.
|
message_id: Optional message ID for response correlation.
|
||||||
|
|
||||||
DEPRECATED.
|
.. deprecated:: 0.0.75
|
||||||
|
Actions have been removed as part of the RTVI protocol 1.0.0.
|
||||||
Actions have been removed as part of the RTVI protocol 1.0.0.
|
Use custom client and server messages instead.
|
||||||
Use custom client and server messages instead.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
rtvi_action_run: RTVIActionRun
|
rtvi_action_run: RTVIActionRun
|
||||||
@@ -431,10 +419,9 @@ class RTVIDescribeConfigData(BaseModel):
|
|||||||
|
|
||||||
Contains the list of available services and their options.
|
Contains the list of available services and their options.
|
||||||
|
|
||||||
DEPRECATED.
|
.. deprecated:: 0.0.75
|
||||||
|
Pipeline Configuration has been removed as part of the RTVI protocol 1.0.0.
|
||||||
Pipeline Configuration has been removed as part of the RTVI protocol 1.0.0.
|
Use custom client and server messages instead.
|
||||||
Use custom client and server messages instead.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
config: List[RTVIService]
|
config: List[RTVIService]
|
||||||
@@ -445,10 +432,9 @@ class RTVIDescribeConfig(BaseModel):
|
|||||||
|
|
||||||
Sent in response to a describe-config request.
|
Sent in response to a describe-config request.
|
||||||
|
|
||||||
DEPRECATED.
|
.. deprecated:: 0.0.75
|
||||||
|
Pipeline Configuration has been removed as part of the RTVI protocol 1.0.0.
|
||||||
Pipeline Configuration has been removed as part of the RTVI protocol 1.0.0.
|
Use custom client and server messages instead.
|
||||||
Use custom client and server messages instead.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
label: RTVIMessageLiteral = RTVI_MESSAGE_LABEL
|
label: RTVIMessageLiteral = RTVI_MESSAGE_LABEL
|
||||||
@@ -462,10 +448,9 @@ class RTVIDescribeActionsData(BaseModel):
|
|||||||
|
|
||||||
Contains the list of available actions that can be executed.
|
Contains the list of available actions that can be executed.
|
||||||
|
|
||||||
DEPRECATED.
|
.. deprecated:: 0.0.75
|
||||||
|
Actions have been removed as part of the RTVI protocol 1.0.0.
|
||||||
Actions have been removed as part of the RTVI protocol 1.0.0.
|
Use custom client and server messages instead.
|
||||||
Use custom client and server messages instead.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
actions: List[RTVIAction]
|
actions: List[RTVIAction]
|
||||||
@@ -476,10 +461,9 @@ class RTVIDescribeActions(BaseModel):
|
|||||||
|
|
||||||
Sent in response to a describe-actions request.
|
Sent in response to a describe-actions request.
|
||||||
|
|
||||||
DEPRECATED.
|
.. deprecated:: 0.0.75
|
||||||
|
Actions have been removed as part of the RTVI protocol 1.0.0.
|
||||||
Actions have been removed as part of the RTVI protocol 1.0.0.
|
Use custom client and server messages instead.
|
||||||
Use custom client and server messages instead.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
label: RTVIMessageLiteral = RTVI_MESSAGE_LABEL
|
label: RTVIMessageLiteral = RTVI_MESSAGE_LABEL
|
||||||
@@ -493,10 +477,9 @@ class RTVIConfigResponse(BaseModel):
|
|||||||
|
|
||||||
Sent in response to a get-config request.
|
Sent in response to a get-config request.
|
||||||
|
|
||||||
DEPRECATED.
|
.. deprecated:: 0.0.75
|
||||||
|
Pipeline Configuration has been removed as part of the RTVI protocol 1.0.0.
|
||||||
Pipeline Configuration has been removed as part of the RTVI protocol 1.0.0.
|
Use custom client and server messages instead.
|
||||||
Use custom client and server messages instead.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
label: RTVIMessageLiteral = RTVI_MESSAGE_LABEL
|
label: RTVIMessageLiteral = RTVI_MESSAGE_LABEL
|
||||||
@@ -510,10 +493,9 @@ class RTVIActionResponseData(BaseModel):
|
|||||||
|
|
||||||
Contains the result of executing an action.
|
Contains the result of executing an action.
|
||||||
|
|
||||||
DEPRECATED.
|
.. deprecated:: 0.0.75
|
||||||
|
Actions have been removed as part of the RTVI protocol 1.0.0.
|
||||||
Actions have been removed as part of the RTVI protocol 1.0.0.
|
Use custom client and server messages instead.
|
||||||
Use custom client and server messages instead.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
result: ActionResult
|
result: ActionResult
|
||||||
@@ -524,10 +506,9 @@ class RTVIActionResponse(BaseModel):
|
|||||||
|
|
||||||
Sent after successfully executing an action.
|
Sent after successfully executing an action.
|
||||||
|
|
||||||
DEPRECATED.
|
.. deprecated:: 0.0.75
|
||||||
|
Actions have been removed as part of the RTVI protocol 1.0.0.
|
||||||
Actions have been removed as part of the RTVI protocol 1.0.0.
|
Use custom client and server messages instead.
|
||||||
Use custom client and server messages instead.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
label: RTVIMessageLiteral = RTVI_MESSAGE_LABEL
|
label: RTVIMessageLiteral = RTVI_MESSAGE_LABEL
|
||||||
@@ -1278,9 +1259,6 @@ class RTVIProcessor(FrameProcessor):
|
|||||||
function_name: Name of the function being called.
|
function_name: Name of the function being called.
|
||||||
llm: The LLM processor making the call.
|
llm: The LLM processor making the call.
|
||||||
context: The LLM context.
|
context: The LLM context.
|
||||||
|
|
||||||
Note:
|
|
||||||
This method is deprecated. Use handle_function_call() instead.
|
|
||||||
"""
|
"""
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user