Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 681 Bytes

README.md

File metadata and controls

29 lines (24 loc) · 681 Bytes

Setting up the backend service

To setup the backend service, begin by installing the virutal environment in the bakcend folder:

pip install virtualenv
virtualenv venv --python=python3.9

To activate the virtual environment (macOS), execute the following command:

source ./venv/bin/activate

Install the necessary packages by either executing pip install -r requirements.txt or the following commands:

pip install Flask
pip install Flask-RESTful
pip install Flask-JWT
pip install -U flask-cors
pip install langchain
pip install flask_caching
pip install pypdf
pip install openai
pip install "unstructured[all-docs]"
pip install tiktoken

OpenAI