This repo contains an implementation of Natural Language Prompt to MeTTa Query conversion.
Note: This implementation only works in a linux environment.
- To run the examples, follow the steps below :
- Install required dependencies
pip install -r requirements.txt
- Create
.env
file and add required environment variabletouch .env && \ echo OPENAI_API_KEY="<your_api_key>" > .env
- Run
main.py
python3 main.py
bioatomspace_data_subset/
: Contains the sample MeTTa files from the Human BioAtomspace.biochatter/
: Contains the BioChatter package for converting NL prompts to MeTTa queries.biocypher_config/
: Contains the BioCypher schema configuration files.main.py
: This is the main module that imports the BioChatter package.