Cannot read info from the csv file using Auto-GPT #3162
Unanswered
mykhailoandriichuk
asked this question in
Q&A
Replies: 1 comment
-
I think the problem is the encoding of the file or a misformated csv. If the csv file is publically available it would be helpful if you share the link here. You can try out chardet to detect the encoding of the file: https://github.com/chardet/chardet |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Every time I try to read info using Auto-GPT I see this error:
NEXT ACTION: COMMAND = read_file ARGUMENTS = {'file': 'fedex URLs.csv'}
Enter 'y' to authorise command, 'y -N' to run N continuous commands, 'n' to exit program, or enter feedback for ...
Input:y
-=-=-=-=-=-=-= COMMAND AUTHORISED BY USER -=-=-=-=-=-=-=
SYSTEM: Command read_file returned: Error: 'utf-8' codec can't decode bytes in position 15-16: invalid continuation byte
THOUGHTS: The file fedex URLs.csv seems to have an encoding issue. I will try to read the file using the ISO-8859-1 encoding instead of the default utf-8 encoding.
I've been trying all possible formats - xls, xlsx, csv - nothing helps. Is there anyone who figuree out a workaround? I think the problem is the Auto-GPT cannot read utf-8, but I don't know what to do to fix this.
Beta Was this translation helpful? Give feedback.
All reactions