Language models for numeric data

How can we build a chatbot for our databases which can be in JSON format or other formats and they are numeric data and the user query is about this numeric data which may require some calculations?

Language models are not very good at math. That’s not where the focus has been in training language models.

I think it’s too early for this concept.

The approach I observed is to abstract the math into a function and use an ai agent to execute function calls to get the appropriate output.

You would have to become familiar with an agentic ai platform.

I used crewai, which is very interesting. The other is LangGraph, which I’m going to look at soon.

1 Like