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