Package version:
Creates an instance of KnowledgeRetrievalClient.
Example usage:
import { KnowledgeRetrievalClient, AzureKeyCredential } from "@azure/search-documents";
const knowledgeRetrievalClient = new KnowledgeRetrievalClient(
"<endpoint>",
"<knowledgeBaseName>",
new AzureKeyCredential("<apiKey>"),
);
The endpoint of the search service
The name of the knowledge base
Used to authenticate requests to the service.
Used to configure the Search client.
ReadonlyendpointThe endpoint of the search service
ReadonlyknowledgeThe name of the knowledge base
ReadonlypipelineA reference to the internal HTTP pipeline for use with raw requests
ReadonlyserviceThe service version to use when communicating with the service.
Optionaloptions: RetrieveKnowledgeOptions
Class used to perform operations against a knowledge base.