Skip to content

iCog-Labs-Dev/biochatter-metta-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BioChatter MeTTa Server

This repo contains a backend API for the BioChatter MeTTa chat web application.

Supported OS: Linux & Mac

Follow these steps to run the API:

  1. Install required dependencies (preferably in a virtual environment):
    pip install -r requirements.txt
  2. Add your OpenAI API Key to env:
    export OPENAI_API_KEY=*****
  3. Create the database migrations:
    python manage.py makemigrations
  4. Run the migrations:
    python manage.py migrate
  5. Run the API in a dev server:
    python manage.py runserver

You can view the available routes in the urls.py module. You can test the api using the URL below:

http://127.0.0.1:8000/api/<route>

About

An API for the BioChatter MeTTa Web Application

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages