Class PromptTokensDetails
- Namespace
- OpenAI
- Assembly
- OpenAI-DotNet.dll
public sealed class PromptTokensDetails
- Inheritance
-
PromptTokensDetails
- Inherited Members
-
Constructors
PromptTokensDetails()
public PromptTokensDetails()
Properties
AudioTokens
[JsonInclude]
[JsonPropertyName("audio_tokens")]
public int? AudioTokens { get; }
Property Value
- int?
CachedTokens
[JsonInclude]
[JsonPropertyName("cached_tokens")]
public int? CachedTokens { get; }
Property Value
- int?
ImageTokens
[JsonInclude]
[JsonPropertyName("image_tokens")]
public int? ImageTokens { get; }
Property Value
- int?
TextTokens
[JsonInclude]
[JsonPropertyName("text_tokens")]
public int? TextTokens { get; }
Property Value
- int?
Operators
operator +(PromptTokensDetails, PromptTokensDetails)
public static PromptTokensDetails operator +(PromptTokensDetails a, PromptTokensDetails b)
Parameters
a
PromptTokensDetails
b
PromptTokensDetails
Returns
- PromptTokensDetails