Search Results for

    Show / Hide Table of Contents

    Class BedrockCountTokensRequest

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

    Properties

    | Edit this page View Source

    Input

    The input value for token counting. The value should be either an InvokeModel or Converse request body.

    Declaration
    public CountTokensInput Input { get; set; }
    Property Value
    Type Description
    CountTokensInput
    Remarks

    This data type is a UNION, so only one of the following members can be specified when used or returned.

    | Edit this page View Source

    Model

    The model to use for token counting. This should be the same model you plan to use for your actual InvokeModel or Converse requests.

    Declaration
    public string Model { get; set; }
    Property Value
    Type Description
    string

    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