Files

2.7 KiB

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().

Signature:

export interface LiveModelParams 

Properties

Property Type Description
generationConfig LiveGenerationConfig (Public Preview)
model string (Public Preview)
systemInstruction string | Part | Content (Public Preview)
toolConfig ToolConfig (Public Preview)
tools Tool[] (Public Preview)

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.

Signature:

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.

Signature:

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.

Signature:

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.

Signature:

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.

Signature:

tools?: Tool[];