Class GenerateAnswerRequest
Generates a response from the model given an input GenerateContentRequest.
Input capabilities differ between models, including tuned models.
See the model guide
and tuning guide for details.
Inheritance
GenerateAnswerRequest
Assembly: Glitch9.AIDevKit.Provider.Google.dll
Syntax
public class GenerateAnswerRequest : GoogleGeminiRequest, IJsonRequest
Properties
|
Edit this page
View Source
AnswerStyle
Declaration
[JsonProperty("answerStyle")]
public AnswerStyle AnswerStyle { get; set; }
Property Value
|
Edit this page
View Source
Contents
Declaration
[JsonProperty("contents")]
public List<GeminiContent> Contents { get; set; }
Property Value
|
Edit this page
View Source
InlinePassages
Declaration
[JsonProperty("inlinePassages")]
public GroundingPassages InlinePassages { get; set; }
Property Value
|
Edit this page
View Source
SafetySettings
Declaration
[JsonProperty("safetySettings")]
public List<SafetySetting> SafetySettings { get; set; }
Property Value
|
Edit this page
View Source
SemanticRetriever
Declaration
[JsonProperty("semanticRetriever")]
public SemanticRetrieverConfig SemanticRetriever { get; set; }
Property Value
|
Edit this page
View Source
Temperature
Declaration
[JsonProperty("temperature")]
public double Temperature { get; set; }
Property Value
Implements
Extension Methods