LiveModelParams interface Stay organized with collections Save and categorize content based on your preferences.
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 togetLiveGenerativeModel().
Signature:
exportinterfaceLiveModelParamsProperties
| 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[];Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-28 UTC.