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[];