Chunking by Sentences Script
Snippet
Artificial Intelligence
Intermediate
Snippets are pieces of workflows. You can copy and paste them directly into any Tray workflow.
New to snippets? Watch this video
For more details please see our Snippet Documentation
- On this page
- Chunking by Sentences Script
- About this Snippet
About this SnippetCopy
Copy
Chunking by sentences is a simple method for retrieval augmented generation pipelines. Use this script to easily setup your chunking logic. It allows you to easily update your chunk size so you can refine your chunking strategy in a way that optimizes for your use case and data sets.