Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

KnowledgeBaseAzureOpenAIModel Class

Definition

Namespace:
Azure.Search.Documents.Indexes.Models
Assembly:
Azure.Search.Documents.dll
Package:
Azure.Search.Documents v12.0.0
Package:
Azure.Search.Documents v12.1.0-beta.1
Source:
KnowledgeBaseAzureOpenAIModel.cs
Source:
KnowledgeBaseAzureOpenAIModel.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

Azure OpenAI parameters.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(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


Feedback

Was this page helpful?