add realtime livekit multimodal worker #309
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Context:
OpenAI released their Realtime S2S API at DevDay 2024. LiveKit supports this new API with the
MultimodalAgent
class.This Change:
This PR uses the quick start template provided by LiveKit to support a Multimodal S2S Agent that is more emotive for the 01 Light mobile app. This change uses the direct OpenAI API.
--multimodal
boolean flag in the CLI to run the Multimodal agent instead of the standard STT/TTSpyproject.toml
with the latest versions of livekit dependenciesnote: this requires an
OPENAI_API_KEY
that supports the new Realtime APITest:
Tested the Multimodal agent on v0.32 (current live production version) of 01 Light app on Android 14