HusseinBaghdadi/Math_Solver_LLM
0
๐ Gemma Math Solver Assistant
A powerful, interactive AI-driven web app built with Streamlit, LangChain, and Google Gemma 2 to answer your math problems, logical reasoning questions, and information queries swiftly and accurately.
๐ฅ Key Features
- ๐งฎ Accurate Math Solver: Solve complex mathematical problems accurately using LangChain's LLMMathChain.
- ๐ง Logical Reasoning: Detailed explanations and step-by-step logical reasoning provided by customized prompts.
- ๐ Wikipedia Integration: Instantly fetch relevant information from Wikipedia.
- ๐จ Interactive UI: Clean, easy-to-use interface powered by Streamlit.
- ๐ Google Gemma 2: Leverage the power of Google's Gemma2-9b-It for powerful AI-driven responses.
โ๏ธ Tech Stack
- Streamlit: Interactive web app frontend
- LangChain: Building and managing complex workflows and intelligent tool selection
- ChatGroq: Integration of Google Gemma2-9b-It LLM
- LLMMathChain: Accurate mathematical computations
- Wikipedia API: Information retrieval for knowledge-based queries
๐ฅ Installation
Clone the repository
Install dependencies
Set up environment variables
Create a .env file:
๐ Running the Application
Launch your Streamlit application:
The app will be accessible at:
๐ก How it Works
- User Input: Enter your math, logic, or general information query.
- Tool Selection: The app automatically chooses the right tool (Math solver, Wikipedia, or Reasoning).
- Processing: Your query is processed by Google Gemma 2 using LangChain workflows.
- Output: Receive detailed, accurate, and clear answers instantly.
๐ Contributing
Feel free to contribute by submitting pull requests, reporting bugs, or suggesting enhancements. Your feedback is always welcome!
๐ License
Distributed under the MIT License. See LICENSE for more information.
