你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

KnowledgeBaseRetrievalClient Class

Definition

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, CancellationToken)

KnowledgeBase retrieves relevant data from backing stores.

Retrieve(KnowledgeBaseRetrievalRequest, String, CancellationToken)

KnowledgeBase retrieves relevant data from backing stores.

Retrieve(RequestContent, 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, CancellationToken)

KnowledgeBase retrieves relevant data from backing stores.

RetrieveAsync(KnowledgeBaseRetrievalRequest, String, CancellationToken)

KnowledgeBase retrieves relevant data from backing stores.

RetrieveAsync(RequestContent, 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