Back to Firebase Js Sdk

LiveModelParams interface

docs-devsite/ai.livemodelparams.md

12.12.12.7 KB
Original Source

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 %}

LiveModelParams 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.

Params passed to getLiveGenerativeModel()<!-- -->.

<b>Signature:</b>

typescript
export interface LiveModelParams 

Properties

PropertyTypeDescription
generationConfigLiveGenerationConfig<b><i>(Public Preview)</i></b>
modelstring<b><i>(Public Preview)</i></b>
systemInstructionstring | Part | Content<b><i>(Public Preview)</i></b>
toolConfigToolConfig<b><i>(Public Preview)</i></b>
toolsTool<!-- -->[]<b><i>(Public Preview)</i></b>

LiveModelParams.generationConfig

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>

typescript
generationConfig?: LiveGenerationConfig;

LiveModelParams.model

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>

typescript
model: string;

LiveModelParams.systemInstruction

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>

typescript
systemInstruction?: string | Part | Content;

LiveModelParams.toolConfig

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>

typescript
toolConfig?: ToolConfig;

LiveModelParams.tools

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>

typescript
tools?: Tool[];