Forum Discussion
Jeanxyz
2 months agoPower Participant
How does Fabric Data Agent works
I have created a data agent, when I asked the agent the following questions: what are the most profitable products in 2024? I expect the agent to rank 2024 sales revenue by product name, but inste...
apturlov
2 months agoSuper User
Hi Jeanxyz, you need to "teach" your agent how to correctly query your data. You need to provide instructions, that combine sample questions with the sample queries. You need to explain, precisely, in the instructions how to find "most profitable products". You can write it in plain language, or provide a sample query.
When you test your query, you can see how the model decided to construct a query. You can compare that query with your correct one and see the difference. And, again, as many concrete instructions as you can add to the instructions, as better your Data Agent will be answering.
Hope this helps. If you din this answer useful, please consider giving kudos and accept as a solution.