Skip to content

Commit 54ad1c4

Browse files
author
Bob Strahan
committed
Update knowledge base chunking strategy to fixed-size with 8192 max tokens
1 parent 50b7ea0 commit 54ad1c4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

template.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,8 @@ Resources:
825825
pInputDocumentUploadFolderPrefix: ""
826826
pS3SyncScheduleExpression: "cron(0/30 * ? * * *)" # default is to sync documents every 30 minutes
827827
pCustomerManagedEncryptionKeyArn: !GetAtt CustomerManagedEncryptionKey.Arn
828-
pChunkingStrategy: 'No chunking'
828+
pChunkingStrategy: 'Fixed-size chunking'
829+
pMaxTokens: 8192
829830
pVectorStoreType: !Ref KnowledgeBaseVectorStore
830831
LogLevel: !Ref LogLevel
831832
PermissionsBoundaryArn: !Ref PermissionsBoundaryArn

0 commit comments

Comments
 (0)