chat-langchain
chat-langchain copied to clipboard
Windows Compatibility and Dependency Updates: Bash/Makefile Replacement, Error Fixes, and Requirements Update
This pull request enhances cross-platform compatibility, primarily targeting Windows users, resolves some errors, and updates some dependencies:
-
Bash to Batch Conversion: Replaced the
ingest.shbash script with a Windows-compatibleingest.batbatch file, facilitating execution of the script for Windows users. -
Makefile to Python Conversion: Replaced the Makefile with a Python script to start the server and format the code. This change allows all users, regardless of their platform, to start the server and format code without the need for the
makecommand. -
Added environment variables: Added
.envfile to store OpenAI API Key and updated code to use it. -
Error Fixes: Addressed and fixed errors in the codebase to enable it to run, including updating
requirements.txt. -
Updated README: To reflect changes and added directions to windows users.
These are the changes required to get it running on Windows and enhance the productivity of developers across all platforms. Please review the changes and provide feedback.