Overview
Amazon Kendra is an intelligent search service provided by Amazon Web Services (AWS). It utilizes advanced natural language processing (NLP) and machine learning algorithms to enable powerful search capabilities across various data sources within an organization. Kendra is designed to help users find the information they need quickly and accurately, improving productivity and decision-making. With Kendra, users can search across a wide range of content types, including documents, FAQs, knowledge bases, manuals, and websites. It supports multiple languages and can understand complex queries, synonyms, and contextual meanings to provide highly relevant search results. This will help you getting started with the Amazon Kendraretriever
. For detailed documentation of all AWSKendraRetriever
features and configurations head to the API reference.
Integration details
Retriever | Source | Package |
---|---|---|
AWSKendraRetriever | Various AWS resources | @langchain/aws |
Setup
You’ll need an AWS account and an Amazon Kendra instance to get started. See this tutorial from AWS for more information. If you want to get automated tracing from individual queries, you can also set your LangSmith API key by uncommenting below:Installation
This retriever lives in the@langchain/aws
package:
Instantiation
Now we can instantiate our retriever:Usage
Use within a chain
Like other retrievers, theAWSKendraRetriever
can be incorporated into LLM applications via chains.
We will need a LLM or chat model:
API reference
For detailed documentation of allAmazonKendraRetriever
features and configurations head to the API reference.