A powerful AI-powered math problem solver built with Streamlit and LangChain, leveraging Groq's Llama 3.3 70B model for advanced mathematical reasoning and problem-solving capabilities.
- 🤖 AI-powered math problem solving using Groq's Llama 3.3 70B model
- 🔢 Built-in calculator for mathematical computations
- 📚 Wikipedia integration for additional context and information
- 💡 Detailed step-by-step explanations for solutions
- 🎯 Support for various types of mathematical problems
- 💬 Interactive chat interface for natural problem input
- Python 3.x
- Groq API key
- Required Python packages (listed in requirements.txt)
- Clone the repository:
mkdir MathMorph
cd MathMorphclone the repo
- Install the required packages:
pip install -r requirements.txt- Create a
.envfile in the project root and add your Groq API key:
GROQ_API_KEY=your_api_key_here
- Start the Streamlit application:
streamlit run app.py-
Open your web browser and navigate to the provided local URL (typically http://localhost:8501)
-
Enter your math question in the text area and click "find my answer" to get the solution
The application uses a combination of:
- LangChain for orchestrating the AI workflow
- Groq's Llama 3.3 70B model for advanced reasoning
- Wikipedia API for additional context
- LLMMathChain for mathematical computations
- Streamlit for the user interface
MathMorph/
├── app.py # Main application file
├── requirements.txt # Python dependencies
└── README.md # Project documentation