MaxResponseOutputTokensOption Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public class MaxResponseOutputTokensOption : System.ClientModel.Primitives.IJsonModel<Azure.AI.VoiceLive.MaxResponseOutputTokensOption>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.VoiceLive.MaxResponseOutputTokensOption>
type MaxResponseOutputTokensOption = class
interface IJsonModel<MaxResponseOutputTokensOption>
interface IPersistableModel<MaxResponseOutputTokensOption>
Public Class MaxResponseOutputTokensOption
Implements IJsonModel(Of MaxResponseOutputTokensOption), IPersistableModel(Of MaxResponseOutputTokensOption)
- Inheritance
-
MaxResponseOutputTokensOption
- Implements
Constructors
MaxResponseOutputTokensOption(Int32) |
Creates an options class with a fixed number of tokens. |
Properties
NumericValue |
The numeric equivlant for the number of tokens. |
Methods
CreateDefaultMaxTokensOption() |
Creates an options class with the default number of possible tokens. |
CreateInfiniteMaxTokensOption() |
Creates an options class with infinite tokens possible. |
CreateNumericMaxTokensOption(Int32) |
Creates an options class with a fixed number of tokens. |
Equals(Object) |
Equality operator. |
GetHashCode() |
Hash Code |
Operators
Implicit(Int32 to MaxResponseOutputTokensOption) |
Creates a ResponseMaxOutputTokensOptions class from an integer value. |
Explicit Interface Implementations
IJsonModel<MaxResponseOutputTokensOption>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<MaxResponseOutputTokensOption>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<MaxResponseOutputTokensOption>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<MaxResponseOutputTokensOption>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<MaxResponseOutputTokensOption>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |