Gpt-4o-mini is not able to solve basic math problems

I am working on a bot for customer support, which answers basic questions based on FAQs.

Sometimes this involves simple arithmetic, like if a user has 20000 reward points which convert to money at the rate of 5 coins = 1 rupee discount.

when i ask it to tell me how much these reward points will be in discount it does correct calculation and tells me 4000 rupees.

But when I ask it to do two steps:

if a user has 20000 reward points, how much discount will he get if he buys something worth 600.

In this case it makes the calculation mistake at the first step itself, it says the rewards convert to 400 rupees rather than 4000.

How do I fix this, I have tried giving steps for calculations and examples in the prompt, but still no help.

1 Like

Welcome to the dev community, @Mohd_Salman_Hauq!

LLMs aren’t particularly great at arithmetic. I’d recommend giving the model access to the code_interpreter tool.

Additionally, you can also enable the web_search tool to make sure the model has access to real-time information like currency exchange rates.

2 Likes

why are you still using 4o-mini while 5.1 is out?

2 Likes