Interface protos.google.ai.generativelanguage.v1beta.IGenerateContentRequest (2.3.0)

Properties of a GenerateContentRequest.

Package

@google-ai/generativelanguage

Properties

contents

contents?: (google.ai.generativelanguage.v1beta.IContent[]|null);

GenerateContentRequest contents

generationConfig

generationConfig?: (google.ai.generativelanguage.v1beta.IGenerationConfig|null);

GenerateContentRequest generationConfig

model

model?: (string|null);

GenerateContentRequest model

safetySettings

safetySettings?: (google.ai.generativelanguage.v1beta.ISafetySetting[]|null);

GenerateContentRequest safetySettings

systemInstruction

systemInstruction?: (google.ai.generativelanguage.v1beta.IContent|null);

GenerateContentRequest systemInstruction

toolConfig

toolConfig?: (google.ai.generativelanguage.v1beta.IToolConfig|null);

GenerateContentRequest toolConfig

tools

tools?: (google.ai.generativelanguage.v1beta.ITool[]|null);

GenerateContentRequest tools