techleadhd / chatgpt-retrieval

1.65k stars 787 forks source link

The updated code allows you to place multiple files in the mydata folder and sync the files into the vector store #5

Closed pewekar closed 1 year ago

pewekar commented 1 year ago
rlustemberg commented 1 year ago

Interesting to use this approach on an Obsidian vault

techleadhd commented 1 year ago

Does the DirectoryLoader not work for mixed file formats? I thought it was using Unstructured (https://llama-hub-ui.vercel.app/l/file-unstructured) to bring in any file type.

Otherwise, this pull request is missing the update_index_if_needed function, .gitignore mentions a random file mydata/ChinaMarket.pdf...

(fyi - the preference is for this tutorial repo to remain simple & easy to read for newcomers, rather than being a full-featured solution.)