docs-devsite/ai.liveservercontent.md
Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference
{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
An incremental content update from the model.
<b>Signature:</b>
export interface LiveServerContent
| Property | Type | Description |
|---|---|---|
| inputTranscription | Transcription | <b><i>(Public Preview)</i></b> Transcription of the audio that was input to the model. |
| interrupted | boolean | <b><i>(Public Preview)</i></b> Indicates whether the model was interrupted by the client. An interruption occurs when the client sends a message before the model finishes it's turn. This is <code>undefined</code> if the model was not interrupted. |
| modelTurn | Content | <b><i>(Public Preview)</i></b> The content that the model has generated as part of the current conversation with the user. |
| outputTranscription | Transcription | <b><i>(Public Preview)</i></b> Transcription of the audio output from the model. |
| turnComplete | boolean | <b><i>(Public Preview)</i></b> Indicates whether the turn is complete. This is <code>undefined</code> if the turn is not complete. |
| type | 'serverContent' | <b><i>(Public Preview)</i></b> |
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Transcription of the audio that was input to the model.
<b>Signature:</b>
inputTranscription?: Transcription;
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Indicates whether the model was interrupted by the client. An interruption occurs when the client sends a message before the model finishes it's turn. This is undefined if the model was not interrupted.
<b>Signature:</b>
interrupted?: boolean;
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
The content that the model has generated as part of the current conversation with the user.
<b>Signature:</b>
modelTurn?: Content;
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Transcription of the audio output from the model.
<b>Signature:</b>
outputTranscription?: Transcription;
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Indicates whether the turn is complete. This is undefined if the turn is not complete.
<b>Signature:</b>
turnComplete?: boolean;
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
<b>Signature:</b>
type: 'serverContent';