BaseParams interface

Base parameters for a number of methods.

Signature:

export interface BaseParams 

Properties

Property Type Description
generationConfig GenerationConfig
safetySettings SafetySetting[]

BaseParams.generationConfig

Signature:

generationConfig?: GenerationConfig;

BaseParams.safetySettings

Signature:

safetySettings?: SafetySetting[];