Search Results for

    Show / Hide Table of Contents

    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
    object
    GoogleGeminiRequest
    GenerateAnswerRequest
    Implements
    IJsonRequest
    Inherited Members
    GoogleGeminiRequest.Model
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.Google
    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
    Type Description
    AnswerStyle
    | Edit this page View Source

    Contents

    Declaration
    [JsonProperty("contents")]
    public List<GeminiContent> Contents { get; set; }
    Property Value
    Type Description
    List<GeminiContent>
    | Edit this page View Source

    InlinePassages

    Declaration
    [JsonProperty("inlinePassages")]
    public GroundingPassages InlinePassages { get; set; }
    Property Value
    Type Description
    GroundingPassages
    | Edit this page View Source

    SafetySettings

    Declaration
    [JsonProperty("safetySettings")]
    public List<SafetySetting> SafetySettings { get; set; }
    Property Value
    Type Description
    List<SafetySetting>
    | Edit this page View Source

    SemanticRetriever

    Declaration
    [JsonProperty("semanticRetriever")]
    public SemanticRetrieverConfig SemanticRetriever { get; set; }
    Property Value
    Type Description
    SemanticRetrieverConfig
    | Edit this page View Source

    Temperature

    Declaration
    [JsonProperty("temperature")]
    public double Temperature { get; set; }
    Property Value
    Type Description
    double

    Implements

    IJsonRequest

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation