chatgpt-retrieval-plugin
chatgpt-retrieval-plugin copied to clipboard
Update file.py to support Windows & non-UTF-8 txt
updated extract_text_from_file to handle non-UTF-8 encoding in text and markdown files. updated extract_text_from_form_file to use proper temporary file handling so it works on Windows as well as on linux.
Should fix Issues #153 and #159 .