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


DataGenerationConnectionInfo Class

Definition

Represents the connection info for the Azure resource to use during data generation as part of training a custom model.

public class DataGenerationConnectionInfo : System.ClientModel.Primitives.IJsonModel<Azure.AI.Language.Text.Authoring.DataGenerationConnectionInfo>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Language.Text.Authoring.DataGenerationConnectionInfo>
type DataGenerationConnectionInfo = class
    interface IJsonModel<DataGenerationConnectionInfo>
    interface IPersistableModel<DataGenerationConnectionInfo>
Public Class DataGenerationConnectionInfo
Implements IJsonModel(Of DataGenerationConnectionInfo), IPersistableModel(Of DataGenerationConnectionInfo)
Inheritance
DataGenerationConnectionInfo
Implements

Constructors

DataGenerationConnectionInfo(String, String)

Initializes a new instance of DataGenerationConnectionInfo.

Properties

DeploymentName

Deployment name of model to be used for synthetic data generation.

Kind

Connection type for data generation settings. Currently only supports Azure Open AI.

ResourceId

Resource ID for the data generation resource. Looks something like "/subscriptions/<SUBSCRIPTION-ID-GUID>/resourceGroups/<RG-NAME>/providers/Microsoft.CognitiveServices/accounts/<AOAI-ACCOUNT-NAME>".

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DataGenerationConnectionInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataGenerationConnectionInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataGenerationConnectionInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataGenerationConnectionInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataGenerationConnectionInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to