A Guide to migrating from RTVIClient to PipecatClient
RTVIClient
and the new PipecatClient
. For specific code updates, refer to the platform-specific migration guides.
RTVIClient
to PipecatClient
.connect()
method. For convenience in typical setups where the connection information is obtained from an API endpoint that also launches the server-side bot, we’ve introduced startBot()
for hitting the endpoint and returning the response as well as startBotAndConnect()
which does both the fetching and connecting and assumes the response contains the necessary connection details.registerFunctionCallHandler()
, appendToContext()
, sendClientMessage()
, and sendClientRequest()
for more details.