Skip to content

Lamb-Project/lamb_2024

Repository files navigation

about

This is a deprecated version of the LAMB project, a refactoring of the project has been published.

This implementation is described on the paper

Alier, M., Pereira, J., García-Peñalvo, F.J., Casañ, M.J. and Cabré, J., 2025. LAMB: An open-source software framework to create artificial intelligence assistants deployed and integrated into learning management systems. Computer Standards & Interfaces, 92, p.103940.
https://www.sciencedirect.com/science/article/pii/S0920548924001090
  • data -> folder of open webui database and internal workings
  • db -> chromadb folder
  • mockai -> Mockai API server

Docker-compose mahem explained

The docker compose assumes that

  1. The dockerfile is invocked on the ../LLMentor-container directory

on the ".." directory we have the folders

../
├── LLMentor-container/    # Docker Compose file location
├── open-webui/            # Modified version for TSugi login
│   └── backend/           # Volume for Open-WebUI container
├── LTI-LLPrimer-Bridge/   # Bridge for integration
└── tsugi/                 # Standard Tsugi with modified config.php from LTI-LLPrimer-Bridge
    └── .docker_data/
        └── mysql/         # Volume for DB (Tsugi) container

Then it should go as this

Ports and containers

Host Port Container Container Port
8008 Chroma 8000
8080 Open-WebUI 8080
5002 MockAI 5002
33306 DB (Tsugi) 3306
8888 Web (Tsugi) 80

Host persistent data

Host Path Container Container Volume
./db Chroma /chroma/chroma/
../open-webui/backend Open-WebUI /app/backend
./mockai MockAI /app
../tsugi/.docker_data/mysql DB (Tsugi) /var/lib/mysql
../tsugi Web (Tsugi) /var/www/html/tsugi

Relevant docker-compose adn setup aspects

.env variables

  • OPENAI_API_KEY= "your fire trucking key"
  • CHROMADB_HOST=chroma

LTI_SECRET -> Used to authenticate LTI Tool for ltibridge security

      OPEN_WEBUI_HOST network address from the container orchestration system 
      LTI_SECRET: secreet shared by open-webui ltibridge and tsugi
      WEBUI_HTML_BASE: -> web adress for open-webui outside the container

the docker compose contains tsugi db passwords you might want to change

      MYSQL_ROOT_PASSWORD: tsugi_root_pw
      MYSQL_DATABASE: tsugi
      MYSQL_USER: ltiuser
      MYSQL_PASSWORD: ltipassword

This passwords need to match in the tsugi config.php file

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •