Firebase.AI.LiveSessionContent

Content generated by the model in a live session.

Summary

Inheritance

Inherits from: Firebase.AI.ILiveSessionMessage

Properties

Content
readonly ModelContent
The main content data of the response.
InputTranscription
readonly Transcription
The input transcription.
Interrupted
readonly bool
Whether generation was interrupted.
OutputTranscription
readonly Transcription
The output transcription.
TurnComplete
readonly bool
Whether the turn is complete.

Properties

Content

readonly ModelContent Firebase::AI::LiveSessionContent::Content

The main content data of the response.

This can be null if there was no content.

InputTranscription

readonly Transcription Firebase::AI::LiveSessionContent::InputTranscription

The input transcription.

Note that the transcription is independent to the Content, and doesn't imply any ordering between them.

Interrupted

readonly bool Firebase::AI::LiveSessionContent::Interrupted

Whether generation was interrupted.

If true, indicates that a client message has interrupted current model.

OutputTranscription

readonly Transcription Firebase::AI::LiveSessionContent::OutputTranscription

The output transcription.

Note that the transcription is independent to the Content, and doesn't imply any ordering between them.

TurnComplete

readonly bool Firebase::AI::LiveSessionContent::TurnComplete

Whether the turn is complete.

If true, indicates that the model is done generating.