Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QUESTION] Ingesting Excel Files #2111

Open
Likhitha075 opened this issue Oct 28, 2024 · 3 comments
Open

[QUESTION] Ingesting Excel Files #2111

Likhitha075 opened this issue Oct 28, 2024 · 3 comments
Labels
question Further information is requested

Comments

@Likhitha075
Copy link

Question

When I attempt to upload an Excel file, I encounter an encoding-related error. I've attached it for reference. How can I upload Excel files to privateGPT like I do with other files? Are any code changes necessary, considering that Llama supports PandasExcelReader as well?
image

@Likhitha075 Likhitha075 added the question Further information is requested label Oct 28, 2024
@jaluma
Copy link
Collaborator

jaluma commented Nov 4, 2024

Can you try to resaving in another encoding and reuploading? Using UTF-8 should work without any issue

@Likhitha075
Copy link
Author

Likhitha075 commented Nov 4, 2024

I’ve tried using a different encoding format, but the issue persists.
The error is as follows:
'UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 663: character maps to undefined'

@jaluma
Copy link
Collaborator

jaluma commented Nov 11, 2024

Can you try to save using other format xlsx vs xls? It should work without problem. Are there any non-ascii char in the document?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants