This repository contains Fran the Facilitator, an API and Echo Chatbot that supports creating, conducting, and recording Design Thinking workshops for stage0.
This system uses the Flask API framework, and the Stage0 Echo discord chat agent framework.
- Stage0 Developer Edition #TODO for now Docker
- Python
- Pipenv
- ollama
- Mongo Compass - if you want a way to look into the database
/stage0_fran Repo Root
│── 📁 docs OpenAPI Documentation
│── 📁 fran_model [Fran LLM](./fran_model/README.md) Model & Prompts
│── 📁 stage0_fran The Fran server
│ ├── 📁 agents ECHO Agents
│ ├── 📁 routes Flask routes
│ ├── 📁 services Business Services
│── 📁 tests Unittest for stage0_fran
│ ├── 📁 agents Test for Agents
│ ├── 📁 routes Test for Routes
│ ├── 📁 services Test for Services
│ ├── stepci.yaml API Black Box testing
│── README.md
pipenv install
pipenv run test
NOTE: This excludes the tests with a backing service i.e. testbacking_mentorhub_mongo_io.py which can be run in vscode with the mongodb backing database running.
pipenv run start
pipenv run local
This will build the new container, and {re}start the mongodb and API container together. NOTE: partially functional until stage0 developer edition is there
pipenv run container
NOTE: Assumes the API is running at localhost:8580
pipenv run stepci
See the fran_model README for information on additional pipenv scripts.
There are quite a few endpoints, see CURL_EXAMPLES for all of them.
The Dockerfile uses a 2-stage build, and supports both amd64 and arm64 architectures.