Search Results for

    Show / Hide Table of Contents

    Class PromptFeedback

    A set of the feedback metadata the prompt specified in GenerateContentRequest.Contents.

    Inheritance
    object
    PromptFeedback
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Glitch9.AIDevKit
    Assembly: Glitch9.AIDevKit.dll
    Syntax
    public sealed class PromptFeedback

    Properties

    | Edit this page View Source

    BlockReason

    Declaration
    [JsonProperty("blockReason")]
    public FinishReason? BlockReason { get; set; }
    Property Value
    Type Description
    FinishReason?
    | Edit this page View Source

    SafetyRatings

    Declaration
    [JsonProperty("safetyRatings")]
    public SafetyRating[] SafetyRatings { get; set; }
    Property Value
    Type Description
    SafetyRating[]

    Methods

    | Edit this page View Source

    Safety(SafetyRating[])

    Declaration
    public static PromptFeedback Safety(SafetyRating[] SafetyRatings)
    Parameters
    Type Name Description
    SafetyRating[] SafetyRatings
    Returns
    Type Description
    PromptFeedback
    | Edit this page View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()

    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