Language

VoiceAgentMaxOutputTokens Class

Definition

The VoiceAgentMaxOutputTokens represents integer value, or infinity.

public class VoiceAgentMaxOutputTokens : System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.Agents.VoiceAgentMaxOutputTokens>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.Agents.VoiceAgentMaxOutputTokens>
type VoiceAgentMaxOutputTokens = class
    interface IJsonModel<VoiceAgentMaxOutputTokens>
    interface IPersistableModel<VoiceAgentMaxOutputTokens>
Public Class VoiceAgentMaxOutputTokens
Implements IJsonModel(Of VoiceAgentMaxOutputTokens), IPersistableModel(Of VoiceAgentMaxOutputTokens)
Inheritance
VoiceAgentMaxOutputTokens
Implements

Constructors

Name Description
VoiceAgentMaxOutputTokens(Int32)

Creates an options class with a fixed number of tokens.

Properties

Name Description
Infinity

The convenience method to set VoiceAgentMaxOutputTokens to intfinity.

NumericValue

The numeric equivlant for the number of tokens.

Methods

Name Description
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

Name Description
Implicit(Int32 to VoiceAgentMaxOutputTokens)

Creates a ResponseMaxOutputTokensOptions class from an integer value.

Explicit Interface Implementations

Name Description
IJsonModel<VoiceAgentMaxOutputTokens>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<VoiceAgentMaxOutputTokens>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VoiceAgentMaxOutputTokens>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VoiceAgentMaxOutputTokens>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<VoiceAgentMaxOutputTokens>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to