@cdklabs/generative-ai-cdk-constructs
@cdklabs/generative-ai-cdk-constructs / bedrock / GraphKnowledgeBaseProps
Properties for creating a Kendra Index Knowledge Base.
readonlyoptionaldescription:string
The description of the knowledge base.
- No description provided.
CommonKnowledgeBaseProps.description
readonlyembeddingModel:BedrockFoundationModel
The embeddings model for the knowledge base.
readonlyoptionalexistingRole:IRole
Existing IAM role with policy statements granting appropriate permissions to invoke the specific embeddings models. Any entity (e.g., an AWS service or application) that assumes this role will be able to invoke or use the specified embeddings model within the Bedrock service.
CommonKnowledgeBaseProps.existingRole
readonlyoptionalfieldMapping:VectorFieldMapping
The vector field mapping configuration.
- { metadataField: "AMAZON_BEDROCK_METADATA", textField: "AMAZON_BEDROCK_TEXT" }
readonlyoptionalgraph:INeptuneGraph
The Neptune Analytics vector store
- A new Neptune Analytics vector store is created
readonlyoptionalinstruction:string
A narrative description of the knowledge base.
A Bedrock Agent can use this instruction to determine if it should query this Knowledge Base.
- No description provided.
CommonKnowledgeBaseProps.instruction
readonlyoptionalname:string
The name of the knowledge base.