Skip to content
 
 

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧠 GemMath AI – Solve Math with Gemma 2 🚀

GemMath AI is an intelligent Streamlit-powered assistant that solves numeric and symbolic math problems, handles logical reasoning, and performs real-time Wikipedia searches — all powered by Google Gemma 2 via Groq, LangChain, and SymPy.

🔍 Built for learners, engineers, and curious minds who want clear step-by-step answers to complex math and reasoning problems — right in their browser.


🚀 Features

Numeric & Symbolic Math Solver

  • Handles calculations like 12 + 5 * 3
  • Supports symbolic operations: differentiate, integrate, expand, solve, simplify, limit
  • Returns LaTeX-rendered step-by-step results using SymPy

🧠 Logical Reasoning Engine

  • Multi-step reasoning for logic problems like:
    "John is taller than Alice. Alice is taller than Bob. Who is the tallest?"

📚 Wikipedia Search Agent

  • Instant access to encyclopedic knowledge through LangChain + Wikipedia API

🌐 Beautiful Streamlit Interface

  • Clean and intuitive UI with tab-based navigation

🔐 Groq API Integration

  • Runs Gemma 2 (Gemma2-9b-It) blazing-fast via Groq's LLM inference

🛠️ Tech Stack

Layer Tools & Frameworks
💡 LLM Agent LangChain
⚙️ Backend Python, SymPy, Groq API
🧮 LLM Model Google Gemma 2 (Gemma2-9b-It) via Groq
🖼️ Frontend Streamlit
📚 Knowledge Wikipedia API

🧪 Live Demo

👉 Try it on Streamlit (Demo)

(Replace with your hosted app URL)


📸 Screenshots

Math Solver (Symbolic) Logical Reasoning
Math Demo Reasoning Demo

🧰 How to Run Locally

# Clone the repo
git clone https://github.com/YOUR-USERNAME/GemMath-AI.git
cd GemMath-AI

# Create virtual environment
python -m venv .venv
source .venv/bin/activate   # or .venv\Scripts\activate on Windows

# Install dependencies
pip install -r requirements.txt

# Run the app
streamlit run app.py

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages