chat-langchain icon indicating copy to clipboard operation
chat-langchain copied to clipboard

Windows Compatibility and Dependency Updates: Bash/Makefile Replacement, Error Fixes, and Requirements Update

Open joaocarlosleme opened this issue 2 years ago • 0 comments

This pull request enhances cross-platform compatibility, primarily targeting Windows users, resolves some errors, and updates some dependencies:

  1. Bash to Batch Conversion: Replaced the ingest.sh bash script with a Windows-compatible ingest.bat batch file, facilitating execution of the script for Windows users.

  2. 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 make command.

  3. Added environment variables: Added .env file to store OpenAI API Key and updated code to use it.

  4. Error Fixes: Addressed and fixed errors in the codebase to enable it to run, including updating requirements.txt.

  5. 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.

joaocarlosleme avatar Jul 22 '23 15:07 joaocarlosleme