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

https://github.com/hiborn4/i4ideas_bot

i4Ideas is an AI-powered conversational assistant that helps users submit ideas by guiding them step-by-step through a natural chat interface. Instead of filling out complex forms or manually classifying their input, users simply describe their ideas β€” and the bot intelligently extracts the category, subcategory, loss type, tools used.
https://github.com/hiborn4/i4ideas_bot

Last synced: 12 months ago
JSON representation

i4Ideas is an AI-powered conversational assistant that helps users submit ideas by guiding them step-by-step through a natural chat interface. Instead of filling out complex forms or manually classifying their input, users simply describe their ideas β€” and the bot intelligently extracts the category, subcategory, loss type, tools used.

Awesome Lists containing this project

README

          

# πŸ€– i4Ideas Smart Submission Assistant

![I4Ideas Banner](/public/Selection_001.png)

---

## πŸ“˜ Overview

**i4Ideas** is a smart AI-powered assistant designed to help users submit innovative ideas effortlessly.

Instead of manually categorizing ideas into complex buckets like *Productivity*, *Non-Productive*, *Quality*, or *Safety*, this chatbot walks users through a friendly, conversational interface to automatically classify and record their ideas.

It extracts and validates:
- 🎯 Idea statement
- πŸš€ Implementation status
- πŸ“Š Category & Subcategory
- πŸ“‰ Loss type
- πŸ› οΈ Tools used
- 🧱 Rise Pillar classification
- πŸ“ˆ Before/After impact metrics

This solution is especially valuable for companies looking to capture employee innovation without burdening users with forms or technical taxonomies.

---

## πŸ–ΌοΈ Live Demo

https://github.com/user-attachments/assets/616a1fca-3c82-4331-bada-4927cd9aad61

---

## βš™οΈ Tech Stack

- πŸ’¬ **LangChain + Azure OpenAI GPT-4o**
- πŸ”§ **FastAPI** – backend logic and state handling
- πŸ—ƒοΈ **In-memory session tracking**
- πŸ“„ **Streamlit / Gradio** – for voice/text interface
- πŸ”Š **Whisper** (Azure) – voice-to-text transcription
- πŸŽ›οΈ **LangChain MessageHistory** – context-managed conversations

---

## πŸš€ Getting Started

![How It Works](/public/Selection_002.png)

### πŸ”§ Backend

1. **Install dependencies**
```bash
pip install -r requirements.txt
```

2. **Run backend**
```bash
cd backend
uvicorn app:app --reload
```

> The backend handles LLM calls, voice transcription, and state tracking.
> It also includes `utils/` for debugging, prompt engineering, and classification helpers.

---

### πŸ§‘β€πŸ’» Frontend

1. **Launch Streamlit UI**

```bash
cd backend
streamlit run app.py
```

> This launches a web interface with voice + text chat powered by Azure GPT and Whisper.

---

## πŸ’‘ Why i4Ideas?

Manual idea submission forms can be overwhelming β€” users are expected to understand internal terminologies, classifications, and hierarchy.

**i4Ideas** solves this by:

* ✨ Asking only one question at a time
* πŸ” Extracting structure from free-form text
* βœ… Verifying and summarizing user inputs
* πŸ“‹ Returning final structured data in JSON and Markdown table

---

## πŸ“ Project Structure

```bash
i4ideas/
β”œβ”€β”€ backend/
β”‚ β”œβ”€β”€ app.py # FastAPI app
β”‚ β”œβ”€β”€ flow.py # Conversation orchestration
β”‚ β”œβ”€β”€ prompts.py # Merged and contextual prompt management
β”‚ β”œβ”€β”€ utils/ # Support scripts
β”‚ β”œβ”€β”€ sessions/ # In-memory session tracking
β”‚ └── requirements.txt
β”œβ”€β”€ assets/
β”‚ β”œβ”€β”€ banner-1.png
β”‚ └── banner-2.png
└── README.md
```

---

## πŸ“ž Contact

Feel free to reach out if you want to:

* Customize this bot for your org
* Integrate it with internal innovation systems
* Enhance its logic with form exports, Slack support, or database storage

---

> Created with ❀️ using GPT‑4o and LangChain.

### βœ… What’s Included
- πŸ“· Placeholder for **two images** at the top
- ⏺ Placeholder for **video demo**
- πŸ“‚ Full folder structure
- πŸ”₯ Clear separation of frontend/backend usage
- πŸ’Ό Portfolio-quality description for **Upwork**, **Fiverr**, or clients