Loading repository data…
Loading repository data…
PrashikSawant / repository
Day 22 of my AI Engineering Journey — Gave an LLM a real calculator tool using function/tool calling, so it computes exact math instead of guessing. First step into agentic AI: the model decides when to call a tool, my code executes it, and the result feeds back for the final answer. Built with Groq (LLaMA 3.3 70B) + Streamlit.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
Part of my 30-Day AI Engineering Bootcamp Day 22 — building one AI project a day to become job-ready.
LLMs are bad at exact math — they predict likely-looking text, they don't actually compute. Ask one 847 × 392 and it might confidently hallucinate a wrong number. Today I gave the AI a real calculator function it can call whenever it needs precise math, instead of guessing. This is also my first step into tool/function calling — the foundation every agent (Day 24-25) and tool-using AI system is built on.
calculate) that safely evaluates math expressionsgit clone https://github.com/PrashikSawant/AI-with-Calculator-Tool
cd Day22-CalculatorTool
python -m venv venv
.\venv\Scripts\activate
pip install -r requirements.txt
# Add GROQ_API_KEY to .env
streamlit run app.py
eval() is dangerous in general, but became safe here only because I filtered the input to a strict whitelist of math characters firstDay 23 — AI with Web Search Tool, adding a second tool (DuckDuckGo search) so the AI can pull live information instead of relying only on its training data.
I'm Prashik, building one AI project a day for 120 days to become a job-ready AI Engineer. Follow my journey on LinkedIn.