Skip to content

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

License

Notifications You must be signed in to change notification settings

longevity-genie/drugkg_endpoint

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published