neokd / NeoGPT

Chat effortlessly, execute commands, and interpret code with Llama3, Phi3, and more - your local AI assistant. Enjoy seamless interaction while ensuring ultimate privacy
https://neogpt.dev
MIT License
68 stars 62 forks source link

Add support for reading Word, Excel, and PowerPoint files #196

Closed ayushmorbar closed 4 months ago

ayushmorbar commented 4 months ago

This pull request adds support for reading Word, Excel, and PowerPoint files in the read_file.py script. It includes changes to the read_file function to handle the new file types. Now, when a Word document (doc or docx), an Excel spreadsheet (xls or xlsx), or a PowerPoint presentation (ppt or pptx) is encountered, the content of the file is loaded and replaced in the user input string. This allows for processing and analysis of these file types within the script.

refer #195