-
Make sure you've setup and initialized your Database.
-
Make sure you've deployed your retrieval service, and are running a connection to it locally on 127.0.0.1:8080.
-
Make sure you have Python 3.11+ installed
-
Set up Application Default Credentials:
gcloud auth application-default login
-
Change into the
langchain_tools_demo
directory:cd langchain_tools_demo
-
Install the dependencies using
pip
. You may wish to do this in a venv:pip install -r requirements.txt
-
Start the application with:
python main.py
Note: for hot reloading of the app use:
uvicorn main:app --host 0.0.0.0 --reload
-
View app at
http://localhost:8081/