SearchModelFactory.KnowledgeBaseModel(String) Method

Definition

Specifies the connection parameters for the model to use for query planning. Please note this is the abstract base class. The derived classes available for instantiation are: KnowledgeBaseAzureOpenAIModel.

public static Azure.Search.Documents.Indexes.Models.KnowledgeBaseModel KnowledgeBaseModel(string kind = default);
static member KnowledgeBaseModel : string -> Azure.Search.Documents.Indexes.Models.KnowledgeBaseModel
Public Shared Function KnowledgeBaseModel (Optional kind As String = Nothing) As KnowledgeBaseModel

Parameters

kind
String

The AI model to be used for query planning.

Returns

A new KnowledgeBaseModel instance for mocking.

Applies to