Note

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

Access to this page requires authorization. You can try .

KnowledgeBaseRetrievalClient Class

Definition

Namespace:
Azure.Search.Documents.KnowledgeBases
Assembly:
Azure.Search.Documents.dll
Package:
Azure.Search.Documents v12.0.0
Package:
Azure.Search.Documents v12.1.0-beta.1
Source:
KnowledgeBaseRetrievalClient.cs
Source:
KnowledgeBaseRetrievalClient.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.

The KnowledgeBaseRetrievalClient.

public class KnowledgeBaseRetrievalClient
type KnowledgeBaseRetrievalClient = class
Public Class KnowledgeBaseRetrievalClient
Inheritance
KnowledgeBaseRetrievalClient

Constructors

Name Description
KnowledgeBaseRetrievalClient()

Initializes a new instance of KnowledgeBaseRetrievalClient for mocking.

KnowledgeBaseRetrievalClient(KnowledgeBaseRetrievalClientSettings)

Initializes a new instance of KnowledgeBaseRetrievalClient from a KnowledgeBaseRetrievalClientSettings.

KnowledgeBaseRetrievalClient(Uri, String, AzureKeyCredential, SearchClientOptions)

Initializes a new instance of KnowledgeBaseRetrievalClient.

KnowledgeBaseRetrievalClient(Uri, String, AzureKeyCredential)

Initializes a new instance of KnowledgeBaseRetrievalClient.

KnowledgeBaseRetrievalClient(Uri, String, TokenCredential, SearchClientOptions)

Initializes a new instance of KnowledgeBaseRetrievalClient.

KnowledgeBaseRetrievalClient(Uri, String, TokenCredential)

Initializes a new instance of KnowledgeBaseRetrievalClient.

Properties

Name Description
Endpoint

Gets the URI endpoint of the Search service. This is likely to be similar to "https://{search_service}.search.windows.net".

KnowledgeBaseName

Gets the name of the knowledge base.

Pipeline

The HTTP pipeline for sending and receiving REST requests and responses.

Methods

Name Description
Retrieve(KnowledgeBaseRetrievalRequest, String, CancellationToken)

KnowledgeBase retrieves relevant data from backing stores.

Retrieve(RequestContent, RequestContext)

KnowledgeBase retrieves relevant data from backing stores.

Retrieve(RequestContent, String, RequestContext)

[Protocol Method] KnowledgeBase retrieves relevant data from backing stores.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
RetrieveAsync(KnowledgeBaseRetrievalRequest, String, CancellationToken)

KnowledgeBase retrieves relevant data from backing stores.

RetrieveAsync(RequestContent, RequestContext)

KnowledgeBase retrieves relevant data from backing stores.

RetrieveAsync(RequestContent, String, RequestContext)

[Protocol Method] KnowledgeBase retrieves relevant data from backing stores.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.

Applies to


Feedback

Was this page helpful?