Spaces:
Runtime error
Runtime error
|
Download README.md from parardhadhar/Parardha-Insight-Engine: direct link, hf CLI and curl.
- Browser
- Download file 3.69 kB
-
https://huggingface.co/spaces/parardhadhar/Parardha-Insight-Engine/resolve/main/README.md
- Command line
-
hf download hf://spaces/parardhadhar/Parardha-Insight-Engine/README.md
-
curl -L -o README.md https://huggingface.co/spaces/parardhadhar/Parardha-Insight-Engine/resolve/main/README.md
3.69 kB
| title: Parardha Insight Engine | |
| emoji: ๐ | |
| colorFrom: red | |
| colorTo: red | |
| sdk: docker | |
| app_port: 8501 | |
| tags: | |
| - streamlit | |
| pinned: false | |
| short_description: Streamlit template space | |
| license: mit | |
| title: Parardha Insight Engine emoji: ๐ง colorFrom: blue colorTo: indigo sdk: streamlit sdk_version: 1.41.1 app_file: app.py pinned: false license: mit | |
| ๐ง Parardha's Insight Engine | |
| Experience the future of document interaction. > Insight Engine is a production-grade Retrieval-Augmented Generation (RAG) application that turns static PDFs into interactive, conversational knowledge bases. | |
| ๐๏ธ Architecture: How It Works | |
| Insight Engine doesn't just "guess" answers. It uses a sophisticated RAG Pipeline to ground every response in your actual data. | |
| graph TD | |
| subgraph Ingestion["1. Data Ingestion"] | |
| A[User Uploads PDF] -->|PyMuPDF| B(Text Extraction) | |
| B -->|Chunking| C(Text Chunks) | |
| end | |
| subgraph Embedding["2. Vector Embedding"] | |
| C -->|HuggingFace Model| D[Vector Embeddings] | |
| D -->|Store| E[(In-Memory Vector Index)] | |
| end | |
| subgraph Retrieval["3. Retrieval & Generation"] | |
| F[User Query] -->|Embed Query| G[Query Vector] | |
| G -->|Similarity Search| E | |
| E -->|Retrieve Top-k Context| H[Relevant Context] | |
| H -->|Context + Query| I[Llama 3.3 LLM (Groq)] | |
| I -->|Generates Answer| J[Final Response] | |
| end | |
| ๐ Key Features | |
| โก Blazing Fast Inference: Powered by Groq's LPU (Language Processing Unit) running Llama 3.3-70b, delivering near-instant responses. | |
| ๐ Private & Secure: Your documents are processed in-memory and never stored permanently on external servers. | |
| ๐ง Deep Understanding: Uses sentence-transformers/all-MiniLM-L6-v2 for high-fidelity semantic search, understanding the meaning behind your questions, not just keywords. | |
| ๐จ Glassmorphism UI: A custom-designed, aesthetic interface built on Streamlit that feels like a modern SaaS product. | |
| ๐ ๏ธ Tech Stack | |
| This project leverages the bleeding edge of the AI stack: | |
| Component | |
| Technology | |
| Why I Chose It | |
| LLM Inference | |
| Groq API | |
| The world's fastest inference engine for open-source models. | |
| Orchestration | |
| LlamaIndex | |
| The industry standard for connecting custom data to LLMs. | |
| Embeddings | |
| Hugging Face | |
| Local, high-performance vectorization (all-MiniLM-L6-v2). | |
| Frontend | |
| Streamlit | |
| Rapid deployment of data-centric web applications. | |
| Vector Store | |
| In-Memory | |
| Efficient, ephemeral storage for session-based interactions. | |
| ๐ฎ Future Roadmap | |
| I am actively working on the next version of Insight Engine. Here is what's coming: | |
| $$$$ | |
| Multi-Format Support: Support for .docx, .txt, and .csv files. | |
| $$$$ | |
| Citation Engine: The bot will highlight exactly where in the PDF it found the answer (e.g., "Found on Page 3"). | |
| $$$$ | |
| Persistent Memory: Users will be able to save their chat history and resume sessions later using a vector database like Pinecone or Weaviate. | |
| $$$$ | |
| Voice Mode: Speak to your documents instead of typing. | |
| ๐ป Getting Started (Local Development) | |
| Want to run this on your own machine? Follow these steps: | |
| 1. Clone the repository | |
| git clone [https://github.com/yourusername/insight-engine.git](https://github.com/yourusername/insight-engine.git) | |
| cd insight-engine | |
| 2. Create a virtual environment | |
| python -m venv venv | |
| source venv/bin/activate # On Windows use: venv\Scripts\activate | |
| 3. Install dependencies | |
| pip install -r requirements.txt | |
| 4. Set up your API Key | |
| Create a .env file in the root directory: | |
| GROQ_API_KEY=your_groq_api_key_here | |
| 5. Run the application | |
| streamlit run app.py | |
| ๐ค Connect | |
| Parardha - AI Researcher & Full Stack Developer | |
| <div align="center"> | |
| <small>Built with โค๏ธ using Python</small> | |
| </div> |