Class CohereUsage
Inherited Members
Namespace: Glitch9.AIDevKit.Cohere
Assembly: Glitch9.AIDevKit.Provider.Cohere.dll
Syntax
public class CohereUsage
Properties
| Edit this page View SourceBilledUnits
Optional.
Declaration
[JsonProperty("billed_units")]
public CohereBilledUnits BilledUnits { get; set; }
Property Value
| Type | Description |
|---|---|
| CohereBilledUnits |
CachedTokens
Optional. The number of prompt tokens that hit the inference cache.
Declaration
[JsonProperty("cached_tokens")]
public double? CachedTokens { get; set; }
Property Value
| Type | Description |
|---|---|
| double? |
Tokens
Optional.
Declaration
[JsonProperty("tokens")]
public CohereUsage.TokenUsage Tokens { get; set; }
Property Value
| Type | Description |
|---|---|
| CohereUsage.TokenUsage |