diff --git a/packages/cdk/lib/rag-knowledge-base-stack.ts b/packages/cdk/lib/rag-knowledge-base-stack.ts index 488e8c4e..e440d3e2 100644 --- a/packages/cdk/lib/rag-knowledge-base-stack.ts +++ b/packages/cdk/lib/rag-knowledge-base-stack.ts @@ -287,7 +287,7 @@ export class RagKnowledgeBaseStack extends Stack { dataSourceConfiguration: { s3Configuration: { bucketArn: `arn:aws:s3:::${dataSourceBucket.bucketName}`, - inclusionPrefixes: ['docs'], + inclusionPrefixes: ['docs/'], }, type: 'S3', },