Closed VikR0001 closed 1 year ago
Yes, CSVs are supported and work as expected. Your error is occurring because the ingest
method accepts a folder of one or more files (not the path to a single file).
Try this and it should work:
llm.ingest('/Users/mypath/folder_with_csv/mfile.csv`)
I have added a check to ensure that the argument to ingest
is a folder not a file.
You should also be careful to ensure the input you supply conforms to what the model and use case expects and look at the examples in the documentation. For example, the ask
method expects a question, not a prompt like the one you're displaying.
Does
ingest
understand .csv format? I provided a .csv file with:I asked a question with this code:
I got this message:
Does ingest understand .csv files yet?