Class ConverseTokensRequest
Inherited Members
Namespace: Glitch9.AIDevKit.AmazonAws
Assembly: Glitch9.AIDevKit.Provider.AmazonAws.dll
Syntax
public class ConverseTokensRequest
Properties
| Edit this page View SourceAdditionalModelRequestFields
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 |
Messages
Optional. An array of messages to count tokens for.
Declaration
[JsonProperty("messages")]
public ConverseMessage[] Messages { get; set; }
Property Value
| Type | Description |
|---|---|
| ConverseMessage[] |
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[] |
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 |