Skip to content

Latest commit

 

History

History
36 lines (30 loc) · 902 Bytes

README.md

File metadata and controls

36 lines (30 loc) · 902 Bytes

biocypher_endpoint

Endpoint for KG-RAG AI assistant based on just-agents and fastAPI libraries

Cloning the repo

Clone the project with dependencies:

git clone --recurse-submodules https://github.com/winternewt/drugkg_endpoint.git

Deploying the docker environment

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

Setting up python backend and library

micromamba create -f environment.yaml
micromamba activate drugkg_endpoint

Starting REST APIs

python index.py