Search Results for

    Show / Hide Table of Contents

    Class ConverseTokensRequest

    Inheritance
    object
    ConverseTokensRequest
    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 ConverseTokensRequest

    Properties

    | Edit this page View Source

    AdditionalModelRequestFields

    Optional. The additionalModelRequestFields of Converse input request to count tokens for. Use this field when you want to pass additional parameters that the model supports.

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

    Messages

    Optional. An array of messages to count tokens for.

    Declaration
    [JsonProperty("messages")]
    public ConverseMessage[] Messages { get; set; }
    Property Value
    Type Description
    ConverseMessage[]
    | Edit this page View Source

    System

    Optional. The system content blocks to count tokens for. System content provides instructions or context to the model about how it should behave or respond. The token count will include any system content provided.

    Declaration
    [JsonProperty("system")]
    public ContentBlock[] System { get; set; }
    Property Value
    Type Description
    ContentBlock[]
    | Edit this page View Source

    ToolConfig

    Optional. The toolConfig of Converse input request to count tokens for. Configuration information for the tools that the model can use when generating a response.

    Declaration
    [JsonProperty("toolConfig")]
    public ToolConfiguration ToolConfig { get; set; }
    Property Value
    Type Description
    ToolConfiguration

    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