Insight AI is a full-stack platform that uses Generative AI to automate qualitative market research.
It dramatically reduces the time and cost of traditional methods by conducting AI-driven interviews, generating real-time summaries, and enabling deep insight discovery through an interactive Q&A bot.
- Dynamic AI Interviews — Conducts automated, adaptive conversational interviews 24/7.
- Real-Time Summarization — Instantly generates AI-powered summaries for interviews and projects.
- RAG-Powered Q&A Bot — Ask complex questions in plain language and get context-aware answers from your research data.
- Vector Database Integration — Uses ChromaDB for efficient Retrieval-Augmented Generation (RAG).
- Accessibility Focused — Integrated Text-to-Speech (TTS) for all AI responses.
- Project Dashboard — A central hub to create, manage, and share research projects.
| Layer | Technology |
|---|---|
| Frontend | HTML5, CSS3, Vanilla JavaScript, Tailwind CSS, Chart.js |
| Backend | FastAPI, LangChain, Groq (Llama 3.1), SQLAlchemy |
| Databases | MySQL, ChromaDB |
- Frontend (SPA) → The user-facing application for project management and AI interaction.
- Backend (FastAPI) → The core API for business logic, LLM orchestration, and database management.
- LLM Service (LangChain & Groq) → Powers all generative AI tasks, from interviews to Q&A.
- Databases (MySQL & ChromaDB) →
- MySQL stores project and user data.
- ChromaDB manages vector embeddings for RAG-based insights.
insight-ai/backend/app/__init__.py- Makes the 'app' directory a Python packagecrud.py- Handles database create, read, update, delete operationsdatabase.py- Configures the connection to the MySQL databasellm_service.py- Contains all logic for interacting with the LLM (LangChain, Groq)main.py- The main FastAPI application file, defines API endpointsmodels.py- Defines SQLAlchemy ORM models and Pydantic schemasvector_db_service.py- Manages interactions with the ChromaDB vector database
.env- Stores environment variables like API keys (not in version control)requirements.txt- Lists all Python dependencies for the backend
frontend/index.html- The main project dashboard pageapp.js- JavaScript for the main dashboardinterview.html- The page for conducting an AI interviewchat.js- JavaScript for the interview chat interfaceqa_bot.html- The page for the question-answering botqa_bot.js- JavaScript for the Q&A bot interfacestyle.css- Shared CSS for all frontend pages
README.md- The main project documentation file for your repository
git clone https://github.com/your-username/insight-ai.git cd insight-ai/backend
python -m venv venv
venv\Scripts\activate
source venv/bin/activate
pip install -r requirements.txt
GROQ_API_KEY="your_api_key_here"
uvicorn app.main:app --reload
- Create Project — Define your research goals on the dashboard.
- Share Link — Distribute the generated interview link to participants.
- Monitor Progress — Track completed interviews and AI summaries in real-time.
- Analyze Insights — Use the Q&A bot to explore your qualitative data.
- Sync Summaries — Push processed summaries to the vector DB for RAG queries.
- Ask Questions — Query your research data conversationally and get instant, insightful answers.