Class BedrockUsage
Inherited Members
Namespace: Glitch9.AIDevKit.AmazonAws
Assembly: Glitch9.AIDevKit.Provider.AmazonAws.dll
Syntax
public sealed class BedrockUsage
Properties
| Edit this page View SourceCacheReadInputTokens
Optional. The number of input tokens read from the cache for the request. Valid Range: Minimum value of 0.
Declaration
[JsonProperty("cacheReadInputTokens")]
public int? CacheReadInputTokens { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
CacheWriteInputTokens
Optional. The number of input tokens written to the cache for the request. Valid Range: Minimum value of 0.
Declaration
[JsonProperty("cacheWriteInputTokens")]
public int? CacheWriteInputTokens { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
InputTokens
Required. The number of tokens sent in the request to the model. Valid Range: Minimum value of 0.
Declaration
[JsonProperty("inputTokens")]
public int InputTokens { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
OutputTokens
Required. The number of tokens that the model generated for the request. Valid Range: Minimum value of 0.
Declaration
[JsonProperty("outputTokens")]
public int OutputTokens { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
TotalTokens
Required. The total of input tokens and tokens generated by the model. Valid Range: Minimum value of 0.
Declaration
[JsonProperty("totalTokens")]
public int TotalTokens { get; set; }
Property Value
| Type | Description |
|---|---|
| int |