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 %} # LiveServerContent interface > 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. Signature: ```typescript export interface LiveServerContent ``` ## Properties | Property | Type | Description | | --- | --- | --- | | [inputTranscription](./ai.liveservercontent.md#liveservercontentinputtranscription) | [Transcription](./ai.transcription.md#transcription_interface) | (Public Preview) Transcription of the audio that was input to the model. | | [interrupted](./ai.liveservercontent.md#liveservercontentinterrupted) | boolean | (Public Preview) 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. | | [modelTurn](./ai.liveservercontent.md#liveservercontentmodelturn) | [Content](./ai.content.md#content_interface) | (Public Preview) The content that the model has generated as part of the current conversation with the user. | | [outputTranscription](./ai.liveservercontent.md#liveservercontentoutputtranscription) | [Transcription](./ai.transcription.md#transcription_interface) | (Public Preview) Transcription of the audio output from the model. | | [turnComplete](./ai.liveservercontent.md#liveservercontentturncomplete) | boolean | (Public Preview) Indicates whether the turn is complete. This is undefined if the turn is not complete. | | [type](./ai.liveservercontent.md#liveservercontenttype) | 'serverContent' | (Public Preview) | ## LiveServerContent.inputTranscription > 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. Signature: ```typescript inputTranscription?: Transcription; ``` ## LiveServerContent.interrupted > 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. Signature: ```typescript interrupted?: boolean; ``` ## LiveServerContent.modelTurn > 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. Signature: ```typescript modelTurn?: Content; ``` ## LiveServerContent.outputTranscription > 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. Signature: ```typescript outputTranscription?: Transcription; ``` ## LiveServerContent.turnComplete > 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. Signature: ```typescript turnComplete?: boolean; ``` ## LiveServerContent.type > 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. > Signature: ```typescript type: 'serverContent'; ```