Find answers from the community

L
Li
Offline, last seen 3 months ago
Joined September 25, 2024
L
Li
·

CSV

Hello, I am new to Llama_index. I am working on a side project which is a RAG app. I have a few csv files and want to read/parse/clean the data, then embedding one field. May I know what is the best way to read a csv file and convert each row to an object? The first row is fieldname list. I tried SimpleDirectoryReader, but all the content of a row will be in the text field of a node. I searched here, only find this thread: https://discord.com/channels/1059199217496772688/1202932306982080572/1202932309754384384 . The bot suggested parsing the csv file and building Node manually. Is there any other better way? Thanks!
6 comments
L
W