Class for generative model APIs.

Constructors

Methods

Properties

apiKey: string
generationConfig: GenerationConfig
model: string
requestOptions: RequestOptions
safetySettings: SafetySetting[]
systemInstruction?: Content
toolConfig?: ToolConfig