Поделиться через


MAASModelConfig Class

Definition

MaaS model configuration. The API version would be selected by the service for querying the model.

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

Constructors

MAASModelConfig(String, String)

Initializes a new instance of MAASModelConfig.

Properties

ApiKey

API Key for MAAS model.

AzureEndpoint

Endpoint targetURI for MAAS model.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<MAASModelConfig>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MAASModelConfig>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<TargetModelConfig>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from TargetModelConfig)
IJsonModel<TargetModelConfig>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from TargetModelConfig)
IPersistableModel<MAASModelConfig>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MAASModelConfig>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MAASModelConfig>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<TargetModelConfig>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from TargetModelConfig)
IPersistableModel<TargetModelConfig>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from TargetModelConfig)
IPersistableModel<TargetModelConfig>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from TargetModelConfig)

Applies to