Compartilhar via


ModelCapacityCalculatorWorkloadRequestParam Class

Definition

Dictionary, Model Capacity Calculator Workload Parameters.

public class ModelCapacityCalculatorWorkloadRequestParam : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CognitiveServices.Models.ModelCapacityCalculatorWorkloadRequestParam>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CognitiveServices.Models.ModelCapacityCalculatorWorkloadRequestParam>
type ModelCapacityCalculatorWorkloadRequestParam = class
    interface IJsonModel<ModelCapacityCalculatorWorkloadRequestParam>
    interface IPersistableModel<ModelCapacityCalculatorWorkloadRequestParam>
Public Class ModelCapacityCalculatorWorkloadRequestParam
Implements IJsonModel(Of ModelCapacityCalculatorWorkloadRequestParam), IPersistableModel(Of ModelCapacityCalculatorWorkloadRequestParam)
Inheritance
ModelCapacityCalculatorWorkloadRequestParam
Implements

Constructors

ModelCapacityCalculatorWorkloadRequestParam()

Initializes a new instance of ModelCapacityCalculatorWorkloadRequestParam.

Properties

AvgGeneratedTokens

Average generated tokens.

AvgPromptTokens

Average prompt tokens.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ModelCapacityCalculatorWorkloadRequestParam>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ModelCapacityCalculatorWorkloadRequestParam>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ModelCapacityCalculatorWorkloadRequestParam>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ModelCapacityCalculatorWorkloadRequestParam>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ModelCapacityCalculatorWorkloadRequestParam>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to