An open API service indexing awesome lists of open source software.

https://github.com/nextgenailabs/genaimindmapflowbuilder

GenAI Mind Map Flow Builder is a Generative AI tool that creates intelligent mind maps from diverse data sources like PDFs, SQL, CSV, media files, and websites. It visualizes core ideas and relationships using Gen AI LLM models from OpenAI and Google Gemini. Built with FastAPI and ReactJS.
https://github.com/nextgenailabs/genaimindmapflowbuilder

fastapi flow-builder generative-ai google-gemini knowledge-extraction llm mindmap openai pdf-to-mindmap python reactjs second-brain

Last synced: about 2 months ago
JSON representation

GenAI Mind Map Flow Builder is a Generative AI tool that creates intelligent mind maps from diverse data sources like PDFs, SQL, CSV, media files, and websites. It visualizes core ideas and relationships using Gen AI LLM models from OpenAI and Google Gemini. Built with FastAPI and ReactJS.

Awesome Lists containing this project

README

          

# ๐Ÿง  GenAI Mind Map Flow Builder (Gnosis)

**GenAI Mind Map Flow Builder** is a cutting-edge, AI-powered tool designed to convert complex, multi-format data into structured, interactive mind maps. Powered by LLMs like OpenAI GPT-4o and Google Gemini, it allows users to process, query, visualize, and summarize knowledge extracted from diverse sources.

## ๐Ÿ“บ Watch Demo on YouTube
[![IMAGE ALT TEXT HERE](https://img.youtube.com/vi/sxvKbQI7Wl0/0.jpg)](https://youtu.be/sxvKbQI7Wl0)
---

## ๐Ÿš€ Key Features

### ๐Ÿ”— **Multi-Source Data Integration**
- Upload or connect multiple data sources including:
- Documents, csv, web pages, databases, images, audio, and video
- Add unlimited data sources in one flow
- Reuse and interlink previous answers

### ๐Ÿง  **AI-Powered Mind Map Generation**
- Uses OpenAI GPT-4o and Google Gemini to:
- Extract data insights and visualize them with graph and dataframes (tables)
- Ask multiple questions on multiple data sources
- Generate mind maps automatically for single data source
- Prepare PDF Report for the entire flow

### ๐Ÿงญ **Two Mind Map Modes**
- **Automatic Mode**:
- Upload any one source
- Mind map and summaries are auto-generated with dataframes and graph visualization
- **Manual Mode**:
- Upload/connect multiple sources as you can
- AI suggests follow-up questions based on context
- You can:
- Ask Answers on follow-up questions
- Ask your own questions
- Generate PDF report
- AI replies in a 3-part format:
1. ๐Ÿงพ **Answer**
2. ๐Ÿ“Š **Data Table / DataFrame (if applicable)**
3. ๐ŸŒ **Graph (if applicable)**

### ๐Ÿ” **Cross-Source Questioning**
- Ask questions across:
- Multiple sources
- Previous AI responses
- Link insights between different data nodes

### ๐Ÿ“š **Mind Map to Report**
- Export entire flow as an AI-generated structured PDF report (Insights will be generated)
- Auto-capture questions, answers, tables, graphs, and source traceability

### ๐Ÿ“ค **Export Options**
- Download/share mind maps as images or JSON
- Export complete flow as a detailed report (PDF)
- Print-friendly visualization

---

## ๐Ÿ“ Supported Data Sources

| Category | Supported Formats |
|---------------|-------------------|
| **Documents** | `.pdf`, `.docx`, `.txt`, `.md` |
| **Spreadsheets** | `.csv` |
| **Presentations** | `.pptx` |
| **Images** | `.jpg`, `.jpeg`, `.png`, `.webp`, `.svg` |
| **Audio** | `.wav`, `.mp3`, `.aac`, `.ogg`, `.flac`, `.mpeg`, `.aiff` |
| **Video** | `.mp4`, `.webm`, `.wmv`, `.flv`, `.mov`, `.3gpp`, etc. |
| **Web Pages** | Web URLs, HTML files |
| **YouTube** | Public YouTube Video links|
| **Databases** | SQL (MySQL, PostgreSQL, SQLite), etc

---

## ๐Ÿ–ผ๏ธ Screenshots

### ๐Ÿ  Landing Page
![Landing Page](./screenshots/image1.png)
![Landing Page](./screenshots/image2.png)
![Landing Page](./screenshots/image3.png)

### ๐Ÿ“ Create Flow & Add Sources
![Add Sources](./screenshots/image4.png)
![Add Sources](./screenshots/image5.png)
![Add Sources](./screenshots/image6.png)

### ๐Ÿ‘ค Choose Agent / Persona
![Choose Agent](./screenshots/image7.png)

### ๐Ÿค– Follow-Up Questions & AI Responses
![Follow-Up Questions](./screenshots/image8.png)
![Follow-Up Questions](./screenshots/image9.png)

### โ“ Custom Q&A Interface
![Custom Questions](./screenshots/image10.png)
![Custom Questions](./screenshots/image11.png)

### โž• Add More Sources & Continue Flow
![More Sources](./screenshots/image12.png)
![More Sources](./screenshots/image13.png)
![More Sources](./screenshots/image14.png)
![More Sources](./screenshots/image15.png)

### ๐Ÿ” Ask Questions on Previous Responses
![Follow-up on Previous Nodes](./screenshots/image16.png)
![Follow-up on Previous Nodes](./screenshots/image17.png)

### ๐Ÿงฉ Visualize Complete Mind Map Flow
![Full Mind Map Flow](./screenshots/image18.png)

### ๐Ÿงพ Summarize Complete Flow
![Flow Summary](./screenshots/image19.png)
![Flow Summary](./screenshots/image20.png)

### โšก Auto Mind Map from PDFs, Videos, and More
![Auto Mind Mapping](./screenshots/image21.png)
![Auto Mind Mapping](./screenshots/image22.png)
![Auto Mind Mapping](./screenshots/image23.png)

---

## ๐Ÿ› ๏ธ Tech Stack

| Layer | Tech |
|--------------|------|
| **Frontend** | ReactJS, CSS |
| **Backend** | FastAPI (Python) |
| **AI Models**| OpenAI GPT-4o, Google Gemini Pro |
| **Storage** | Local File System, AWS S3 |
| **Database** | MongoDB, SQLite |
| **Vector Store** | ChromaDB (configurable) |

---

## โš™๏ธ Setup Instructions

### ๐Ÿ” Clone the Repository

```bash
git clone https://github.com/NextGenAILabs/GenAIMindMapFlowBuilder.git
cd GenAIMindMapFlowBuilder
```

### ๐Ÿ”ง Backend Setup (FastAPI + Poetry)

```bash
cd backend
python -m venv .venv
source .venv/bin/activate # or .venv\Scripts\activate (Windows)

pip install poetry
poetry install
uvicorn app:app --reload
```

### ๐Ÿ’ป Frontend Setup (React)

```bash
cd frontend
npm install
npm run dev
```

---

## ๐Ÿ” Environment Variables

Create a `.env` file inside the `backend/` folder:

```env
# .env
mongo_db_url=
openai_api_key=
gemini_api_key=
aws_access_key_id=
aws_secret_access_key=
bucket_name=
```

> Replace values with actual credentials.

---

## ๐Ÿงช Example Workflow

1. Upload a `.pdf`, connect a SQL database, or paste a URL
2. AI reads and summarizes data
3. System builds a visual mind map
4. Ask follow-ups, skip them, or ask custom questions
5. Explore answers (text + table + graph)
6. Export final report as a shareable PDF

---

## ๐Ÿค– AI Integration Details

| Model | Purpose |
|----------------|---------|
| **OpenAI GPT-4o** | NLP, summarization, Q&A, flow generation |
| **Google Gemini Pro** | Multimodal input (text, image, video), deeper analysis |

---

## ๐Ÿ’ก Inspirations

- [NotebookLM (Google)](https://notebooklm.google/)
- [Obsidian Mind Map Plugin](https://obsidian.md/)
- [Miro](https://miro.com/)
- [Whimsical](https://whimsical.com/)
- [Notion AI](https://www.notion.so/product/ai)

---

## ๐Ÿ“ LICENSE:
Creative Commons Licence
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.

---

## ๐Ÿ“ฌ Contact

๐Ÿ“ง **Email**: [nextgenailabs99@gmail.com](mailto:nextgenailabs99@gmail.com)