Replies: 4 comments 3 replies
-
To achieve accurate mathematical computations in your query engine, you need to add specific tools and make some modifications. Here are the steps you can follow:
Here is an example of how you can set this up: Using
|
Beta Was this translation helpful? Give feedback.
-
@dosu Is there any alternatives other than 'wolfram-alpha'? Thoughts? I still want to use same query engine but expecting correct mathematical answers. |
Beta Was this translation helpful? Give feedback.
-
@dosu.. sorry for the confusion. My question is why |
Beta Was this translation helpful? Give feedback.
-
@dosu still not working correctly. Example: If I ask total patients by 'Year Quarter 202301', I suppose to get 11 but I am getting partial answer. (as per below data sample).
|
Beta Was this translation helpful? Give feedback.
-
I am using Llama Parse, and it does a great job of converting my data into a cleaner format, as shown below. This is what I expect. However, when using the query engine, as shown in the code below, it provides incorrect numbers for additions or aggregations. Do I need to add any tools to achieve accurate mathematical computations from this document? Please help
After llama parse, my data looks like this:
Query Engine I am using: However, my mathematical computations are all wrong.
Beta Was this translation helpful? Give feedback.
All reactions