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

Properties of a GenerateContentRequest.

Package

@google-ai/generativelanguage

Properties

contents

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

GenerateContentRequest contents

generationConfig

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

GenerateContentRequest generationConfig

model

model?: (string|null);

GenerateContentRequest model

safetySettings

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

GenerateContentRequest safetySettings