/longevity_gpts

restful backends for GPTs

Primary LanguagePythonApache License 2.0Apache-2.0

longevity_gpts

restful backends for GPTs build with ChatGPTBuilder

Setting up python backend and library

micromamba create -f environment.yaml
micromamba activate gpt_rest

Starting REST APIs

There is a package with its own REST API per each module as well as index.py where everything is connected together

micromamba activate gpt_rest
python index.py

You should fill in .env file to parametrize your host, port and other configuration

Installing packages locally

If it complains on non-finding local packages do:

pip install -e .

It will also dynamically react to all your code updates in submodules.

Database download

gene_lookup will not work without disgenet_2020.sqlite database. You should download it from https://www.disgenet.org/downloads and put it in genetics/data folder.