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

Properties of a GenerateAnswerRequest.

Package

@google-ai/generativelanguage

Properties

answerStyle

answerStyle?: (google.ai.generativelanguage.v1beta.GenerateAnswerRequest.AnswerStyle|keyof typeof google.ai.generativelanguage.v1beta.GenerateAnswerRequest.AnswerStyle|null);

GenerateAnswerRequest answerStyle

contents

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

GenerateAnswerRequest contents

inlinePassages

inlinePassages?: (google.ai.generativelanguage.v1beta.IGroundingPassages|null);

GenerateAnswerRequest inlinePassages

model

model?: (string|null);

GenerateAnswerRequest model

safetySettings

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

GenerateAnswerRequest safetySettings

semanticRetriever

semanticRetriever?: (google.ai.generativelanguage.v1beta.ISemanticRetrieverConfig|null);

GenerateAnswerRequest semanticRetriever

temperature

temperature?: (number|null);

GenerateAnswerRequest temperature