Giter Club home page Giter Club logo

mindmapai's Introduction

MindMapAI

MindMapAI Logo

This repo is a fork of the AI and I Hackathon: Co-Creativity between Humans and LLMs, organized by fortiss and the partners: Start2 Group, LMU Munich, DFKI, and Humane AI Net.

Prerequisites

Ensure you have Docker and Docker Compose installed on your machine. You can download them from:

To run locally you will need docker installed!

You also need the following environment variables set:

  • OPENAI_API_KEY - an OpenAI access key.
  • SSL_KEY - a valid OpenSSL certificate key
  • SSL_CERTIFICATE - a valid OpenSSL certificate

Create a .env file where you store your certificates and credentials in the root folder.

  1. Create a directory for the SSL certificate:

    mkdir certs
  2. Generate a self-signed SSL certificate and key:

    openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout certs/selfsigned.key -out certs/selfsigned.crt

In the .env file, you can reference the respective files.

Project Structure

Prompts

The prompts for the agents are located inside task-examples.

Frontend

The frontend for the hackathon is based on our poetry task, rewritten in ReactJS. The main idea of the task is that the user submits the theme/objective at the of the mindmap and then collaborotively (with AI) extends the mindmap. During the process. From the mindmap, our agent will create a text.

Model Selection

At the moment, the system supports two models gpt4-turbo and gpt4-o, which is located inside the folder model_template/models.

You can change between the two models by changing the value of the variable ai_model between OpenAIImageModel() and OpenAIModel() in the file model_template/model.py.

If you have time and want to add your own models to the system, feel free to do so by following the template located in the file basemodel.py and use the already existing model files as guidance.

Templates

The task_template and model_template folders contain template applications for deployment on the AI Builder infrastructure. They indicate how to implement a model and a task and supply most infrastructure necessary to minimise the requirements of a user to adopt their code. Details are provided in the respective README files.

Building, Running, and Stopping the Application

Building the Application

To build the application, run:

docker compose -f docker-compose_poetry.yaml build

from the root directory.

Building the Application

To run the application, run:

docker compose -f docker-compose_poetry.yaml up --force-recreate

from the root directory.

Stop the Application

To stop the application, run:

docker compose -f docker-compose_poetry.yaml down

from the root directory.

mindmapai's People

Stargazers

Simon Paul avatar  avatar michael.ch avatar

Watchers

Simon Paul avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.