Firebase. AI. LiveGenerativeModel
A live, generative AI model for real-time interaction.
Summary
See the Cloud documentation for more details about the low-latency, two-way interactions that use text, audio, and video input, with audio and text output.
Warning: For FirebaseAI, Live Model is in Public Preview, which means that the feature is not subject to any SLA or deprecation policy and could change in backwards-incompatible ways.
Public functions | |
---|---|
ConnectAsync(CancellationToken cancellationToken) | async Task< LiveSession > Establishes a connection to a live generation service. |
Public functions
ConnectAsync
async Task< LiveSession > ConnectAsync( CancellationToken cancellationToken )
Establishes a connection to a live generation service.
This function handles the WebSocket connection setup and returns an LiveSession
object that can be used to communicate with the service.
Details | |||
---|---|---|---|
Parameters |
| ||
Returns | The LiveSession, once it is established. |