CSVReader parses the records, then RowChunking creates one chunk for each non-empty normalized row and records its logical row number in metadata.
1
Create a Python file
csv_row_chunking.py
2
Set up your virtual environment
3
Install dependencies
4
Export your OpenAI API key
5
Run PgVector
6
Run the script