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

Properties of a GenerateContentRequest.

Package

@google-ai/generativelanguage

Properties

cachedContent

cachedContent?: (string|null);

GenerateContentRequest cachedContent

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