Skip to content

Prax860/Olly-AI

Repository files navigation

🤖 Olly — The Offline AI Data Whisperer

Talk to your database like it's ChatGPT — but fully offline.
Natural Language → SQL → Result
made for oil india as an internship project......


🧠 What is Olly?

Olly is a local-first AI chatbot that understands your questions in natural language, converts them to SQL, fetches relevant data from your PostgreSQL database, and gives back meaningful insights — all offline.
No APIs. No servers. No latency.

💬 “Show me all assets under AMC that expire this month”
Olly → SQL → JSON → Human-readable insights.


🚀 Tech Stack

Layer Technology
UI Next.js, Tailwind, ShadCN/UI
Database PostgreSQL
AI Engine Ollama with LLaMA 3.2
Container Docker (multi-service setup)
Optional UI Gradio or custom frontend shell

⚙️ Features

  • ✅ Offline — works without Internet
  • 🧠 Local LLM inference via LLaMA 3.2
  • 🗣️ Natural language → SQL conversion
  • 📊 Renders SQL results into readable format
  • 🔐 Privacy-safe for enterprise/internal tools
  • ✨ Smooth, modern animated UI (shadcn/ui)

🖼 UI Preview

Minimal, black-themed, modern interface with animated transitions.

UI Screenshot

🎨 Want to preview it? Run locally with Docker or open in Codespaces.


🧪 How it Works (Internally)

  • 💬 User Input → LLM prompt (with table context)
  • 📄 Olly (LLaMA3.2 via Ollama) returns SQL query
  • 🧵 Executes query using Sequelize/SQLAlchemy
  • 🔄 Formats result in a neat, plain answer
  • 🖥️ All running inside Dockerized services

🛡 Security

  • Runs fully offline on your machine
  • No external API calls
  • Your schema and data never leave your system

📝 License

MIT © prax860


“Olly doesn't search. Olly knows.”

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published