Interface AmazonKnowledgeBaseRetrieverArgs

Interface for the arguments required to initialize an AmazonKnowledgeBaseRetriever instance.

interface AmazonKnowledgeBaseRetrieverArgs {
    knowledgeBaseId: string;
    region: string;
    topK: number;
    clientOptions?: BedrockAgentRuntimeClientConfig;
    filter?: RetrievalFilter;
    overrideSearchType?: SearchType;
}

Properties

knowledgeBaseId: string
region: string
topK: number
clientOptions?: BedrockAgentRuntimeClientConfig
filter?: RetrievalFilter
overrideSearchType?: SearchType