Skip to content

agile-learning-institute/stage0_fran

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stage0_fran

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.

Contributing

Prerequisites

Optional

Folder structure for source code

/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

Install Dependencies

pipenv install

Run Unit Testing

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.

{re}start the containerized database and run the API locally

NOTE: Not Functional till stage0 developer edition is created

pipenv run start

Run the API locally (assumes database is already running)

pipenv run local

Build and run the server Container

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

Run StepCI end-2-end testing

NOTE: Assumes the API is running at localhost:8580

pipenv run stepci

Additional Automation

See the fran_model README for information on additional pipenv scripts.

API Testing with CURL

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.

About

Fran the Facilitator DIscord Bot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published