Search Results for

    Show / Hide Table of Contents

    Class AmazonTitanTextResponse.Result

    Inheritance
    object
    AmazonTitanTextResponse.Result
    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 AmazonTitanTextResponse.Result

    Properties

    | Edit this page View Source

    CompletionReason

    Required. The reason the response finished being generated. The following reasons are possible:

    FINISHED -The response was fully generated. LENGTH -The response was truncated because of the response length you set. STOP_CRITERIA_MET -The response was truncated because the stop criteria was reached. RAG_QUERY_WHEN_RAG_DISABLED -The feature is disabled and cannot complete the query. CONTENT_FILTERED -The contents were filtered or removed by the content filter applied.

    Declaration
    [JsonProperty("completionReason")]
    public string CompletionReason { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    OutputText

    Required. The text in the response.

    Declaration
    [JsonProperty("outputText")]
    public string OutputText { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    TokenCount

    Required. The number of tokens in the response.

    Declaration
    [JsonProperty("tokenCount")]
    public int TokenCount { get; set; }
    Property Value
    Type Description
    int

    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