-
Notifications
You must be signed in to change notification settings - Fork 963
Live API v1 #9205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dl/live
Are you sure you want to change the base?
Live API v1 #9205
Conversation
|
Size Report 1Affected Products
Test Logs |
Size Analysis Report 1Affected Products
Test Logs |
Adds support for the Public Preview Live API, with foundational methods to reach parity with Flutter, Android, and Unity.
API
LiveGenerativeModel
class establishes a WebSocket connection and configures aLiveSession
LiveSession
includes foundational methods for live content generation:receive()
,send()
,sendMediaChunks()
,sendMediaStream()
id
property toFunctionCall
andFunctionResponse
, which is used by the Google AI backend to map function responses to calls. This property won't be in Vertex AI responses.Testing
WebSocketHandler
to simulate server messages.