You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After running this application I noticed that there are 12 entries in the vector_store table, but the page_number field (in the metadata column) for all the entries is shown as 10.
`vector_store=# select metadata from vector_store;
metadata
After running this application I noticed that there are 12 entries in the vector_store table, but the page_number field (in the metadata column) for all the entries is shown as 10.
`vector_store=# select metadata from vector_store;
metadata
{"file_name": "/target/classes/data/medicaid-wa-faqs.pdf", "page_number": 10}
{"file_name": "/target/classes/data/medicaid-wa-faqs.pdf", "page_number": 10}
{"file_name": "/target/classes/data/medicaid-wa-faqs.pdf", "page_number": 10}
{"file_name": "/target/classes/data/medicaid-wa-faqs.pdf", "page_number": 10}
{"file_name": "/target/classes/data/medicaid-wa-faqs.pdf", "page_number": 10}
{"file_name": "/target/classes/data/medicaid-wa-faqs.pdf", "page_number": 10}
{"file_name": "/target/classes/data/medicaid-wa-faqs.pdf", "page_number": 10}
{"file_name": "/target/classes/data/medicaid-wa-faqs.pdf", "page_number": 10}
{"file_name": "/target/classes/data/medicaid-wa-faqs.pdf", "page_number": 10}
{"file_name": "/target/classes/data/medicaid-wa-faqs.pdf", "page_number": 10}
{"file_name": "/target/classes/data/medicaid-wa-faqs.pdf", "page_number": 10}
{"file_name": "/target/classes/data/medicaid-wa-faqs.pdf", "page_number": 10}
(12 rows)`
Looks like the doSplitDocuments method in the TextSplitter class is generating this incorrect page_number for all the documents.
The text was updated successfully, but these errors were encountered: