The AmazonKnowledgeBaseRetriever integration has been moved to the @langchain/aws package. Import from @langchain/aws instead.

Interface for the arguments required to initialize an AmazonKnowledgeBaseRetriever instance.

interface AmazonKnowledgeBaseRetrieverArgs {
    knowledgeBaseId: string;
    region: string;
    topK: number;
    clientOptions?: BedrockAgentRuntimeClientConfig;
}

Properties

knowledgeBaseId: string
region: string
topK: number
clientOptions?: BedrockAgentRuntimeClientConfig