Share via


KnowledgeBaseAzureOpenAIModel Class

Definition

Specifies the Azure OpenAI resource used to do query planning.

public class KnowledgeBaseAzureOpenAIModel : Azure.Search.Documents.Indexes.Models.KnowledgeBaseModel, System.ClientModel.Primitives.IJsonModel<Azure.Search.Documents.Indexes.Models.KnowledgeBaseAzureOpenAIModel>, System.ClientModel.Primitives.IPersistableModel<Azure.Search.Documents.Indexes.Models.KnowledgeBaseAzureOpenAIModel>
type KnowledgeBaseAzureOpenAIModel = class
    inherit KnowledgeBaseModel
    interface IJsonModel<KnowledgeBaseAzureOpenAIModel>
    interface IPersistableModel<KnowledgeBaseAzureOpenAIModel>
Public Class KnowledgeBaseAzureOpenAIModel
Inherits KnowledgeBaseModel
Implements IJsonModel(Of KnowledgeBaseAzureOpenAIModel), IPersistableModel(Of KnowledgeBaseAzureOpenAIModel)
Inheritance
KnowledgeBaseAzureOpenAIModel
Implements

Constructors

Name Description
KnowledgeBaseAzureOpenAIModel(AzureOpenAIVectorizerParameters)

Initializes a new instance of KnowledgeBaseAzureOpenAIModel.

Properties

Name Description
AzureOpenAIParameters

Contains the parameters specific to Azure OpenAI model endpoint.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

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

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

IJsonModel<KnowledgeBaseAzureOpenAIModel>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<KnowledgeBaseModel>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from KnowledgeBaseModel)
IPersistableModel<KnowledgeBaseAzureOpenAIModel>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<KnowledgeBaseAzureOpenAIModel>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<KnowledgeBaseAzureOpenAIModel>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<KnowledgeBaseModel>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from KnowledgeBaseModel)

Applies to