Endpoint for KG-RAG AI assistant based on just-agents and fastAPI libraries
Clone the project with dependencies:
git clone --recurse-submodules https://github.com/winternewt/drugkg_endpoint.git
Install latest docker and docker-compose from respective sites. If needed, you may use or refer to the provided script
install_docker_ubuntu.sh
Create environment variable file and populate the OPENAI_API_KEY with respective key
cp env.local.template .env.local
nano .env.local
Build the chat-ui and bring up the docker-compose environment:
docker-compose up --build
micromamba create -f environment.yaml
micromamba activate drugkg_endpoint
python index.py