Skip to content

Latest commit

 

History

History
61 lines (43 loc) · 1.47 KB

vertexai.modelparams.md

File metadata and controls

61 lines (43 loc) · 1.47 KB

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

ModelParams interface

Params passed to getGenerativeModel().

Signature:

export interface ModelParams extends BaseParams 

Extends: BaseParams

Properties

Property Type Description
model string
systemInstruction string | Part | Content
toolConfig ToolConfig
tools Tool[]

ModelParams.model

Signature:

model: string;

ModelParams.systemInstruction

Signature:

systemInstruction?: string | Part | Content;

ModelParams.toolConfig

Signature:

toolConfig?: ToolConfig;

ModelParams.tools

Signature:

tools?: Tool[];