Class CountTokensInput
The input value for token counting. The value should be either an InvokeModel or Converse request body.
Inherited Members
Namespace: Glitch9.AIDevKit.AmazonAws
Assembly: Glitch9.AIDevKit.Provider.AmazonAws.dll
Syntax
public class CountTokensInput
Remarks
This data type is a UNION, so only one of the following members can be specified when used or returned.
Properties
| Edit this page View SourceConverse
Optional. A Converse request for which to count tokens. Use this field when you want to count tokens for a conversation-based input that would be sent to the Converse operation.
Declaration
[JsonProperty("converse")]
public ConverseTokensRequest Converse { get; set; }
Property Value
| Type | Description |
|---|---|
| ConverseTokensRequest |