Search Results for

    Show / Hide Table of Contents

    Class ConverseResponse

    Inheritance
    object
    ConverseResponse
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.AmazonAws
    Assembly: Glitch9.AIDevKit.Provider.AmazonAws.dll
    Syntax
    public class ConverseResponse

    Properties

    | Edit this page View Source

    AdditionalModelResponseFields

    Optional. Additional fields in the response that are unique to the model.

    Declaration
    [JsonProperty("additionalModelResponseFields")]
    public JToken AdditionalModelResponseFields { get; set; }
    Property Value
    Type Description
    JToken
    | Edit this page View Source

    Metrics

    Optional. Metrics for the call to Converse.

    Declaration
    [JsonProperty("metrics")]
    public ConverseMetrics Metrics { get; set; }
    Property Value
    Type Description
    ConverseMetrics
    | Edit this page View Source

    Output

    Optional. The result from the call to Converse.

    Declaration
    [JsonProperty("output")]
    public ConverseOutput Output { get; set; }
    Property Value
    Type Description
    ConverseOutput
    | Edit this page View Source

    PerformanceConfig

    Optional. Model performance settings for the request.

    Declaration
    [JsonProperty("performanceConfig")]
    public PerformanceConfiguration PerformanceConfig { get; set; }
    Property Value
    Type Description
    PerformanceConfiguration
    | Edit this page View Source

    ServiceTier

    Optional. Specifies the processing tier configuration used for serving the request.

    Declaration
    [JsonProperty("serviceTier")]
    public BedrockServiceTier ServiceTier { get; set; }
    Property Value
    Type Description
    BedrockServiceTier
    | Edit this page View Source

    StopReason

    Optional. The reason why the model stopped generating output.

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

    Trace

    Optional. A trace object that contains information about the Guardrail behavior.

    Declaration
    [JsonProperty("trace")]
    public ConverseTrace Trace { get; set; }
    Property Value
    Type Description
    ConverseTrace
    | Edit this page View Source

    Usage

    Optional. The total number of tokens used in the call to Converse. The total includes the tokens input to the model and the tokens generated by the model.

    Declaration
    [JsonProperty("usage")]
    public BedrockUsage Usage { get; set; }
    Property Value
    Type Description
    BedrockUsage

    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