akshata29 / entaoai

Chat and Ask on your own data. Accelerator to quickly upload your own enterprise data and use OpenAI services to chat to that uploaded data and ask questions
MIT License
841 stars 254 forks source link

When uploading multiple files only first file is indexed. #16

Closed PrintsCharming closed 1 year ago

PrintsCharming commented 1 year ago

It appears that when uploading multiple files using Cognitive Services only the first file is indexed. All of the uploaded files successfully make it into the chatpdf container but the index only contains references to the first document.

akshata29 commented 1 year ago

Thank you. Fixed the issue, looks like it could still be applicable to all store, and the issue is tied to metadata can't have "-" (underscore). So assuming you had a file (possibly first one?) and with default name of the name of the first file as index and it setting that as index Name was causing the issue.

Closing the issue, let me know if you still run into that.