Skip to content

This repo contains an implementation of biochatter for MeTTa

License

Notifications You must be signed in to change notification settings

iCog-Labs-Dev/biochatter-metta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BioChatter MeTTa

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 :
  1. Install required dependencies
    pip install -r requirements.txt
  2. Create .env file and add required environment variable
    touch .env && \
    echo OPENAI_API_KEY="<your_api_key>" > .env
  3. Run main.py
    python3 main.py

Repository structure:

  • 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.

About

This repo contains an implementation of biochatter for MeTTa

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages