AI-Powered-Inventory-Search-Using-LLMs-for-SQL
AI-Powered Inventory Search Using LLMs for SQL allows users to query product databases using natural language. By leveraging large language models (LLMs), the system converts questions into SQL queries, providing real-time insights into inventory data without requiring technical expertise.
System Overview
What the project does
An AI‑driven web app that translates natural‑language inventory questions into accurate MySQL queries using the Google Gemini LLM, returning results instantly without users writing SQL.
Key features
Tech stack
Python 3.8+, Streamlit, LangChain, Google Gemini (google‑generativeai), PyMySQL, python‑dotenv, ChromaDB, HuggingFace Hub, MySQL/MariaDB.
Use case
Enables data analysts or business users to quickly retrieve and analyze inventory metrics (stock levels, pricing, revenue forecasts, etc.) without needing SQL expertise, ideal for fast decision‑making on large product datasets.
Architecture Details
This system integrates multiple components for a seamless automation flow. Structural interpretation based on project focus:
Backend Infrastructure
Core execution layer for robust data processing and API handling.
AI / Logic Core
Intelligent decisioning via models or logical workflow rules.
Tech Stack
Key Capabilities
- ▹ Custom workflow execution
- ▹ Data transformation and routing
- ▹ Extensible architecture