Skip to main content
Fixed size chunking is a method of splitting documents into smaller chunks of a specified size, with optional overlap between chunks. This is useful when you want to process large documents in smaller, manageable pieces.
1

Create a Python file

fixed_size_chunking.py
2

Set up your virtual environment

3

Install dependencies

4

Run PgVector

5

Run the script

Fixed Size Chunking Params