The AI Assistant supports three types of charts: Timelines, Ranking, or conventional charts (Pie, bar, etc.). The chart used for the response will depend on the end-user's need and will be determined automatically by the AI Assistant. The end-user can also include in the message the type of chart to display its information.
The charts support displaying multiple series (up to 10 series for a chart).
The following steps occur internally in the WorkWithPlus AI Assistant for answering with a visualization of a chart:
- The AI Assistant will send the LLM metadata about the Knowledge Base (available Transactions, attributes, and filters) together with the end-user message.
- The LLM will return the query to get the data needed by the end-user ('For each' Transaction, filters, sorting, etc.).
- The AI Assistant will run the query and get the result.
- The AI Assistant will display the chart with the information obtained.
Timeline Example
"I want to see the price of all projects (no matter their status) over time by start date"

Then, the end-user asks to add another series to the same chart (by taking advantage of the contextual chat)
"In that same chart I want to see also their real cost"

Ranking Example
"which are the top 5 most expensive projects?"

Pie Example
"Can you show me the distribution of projects by status?"

Bar Example
"Can you show me the amount of people born in each decade from 1960?"

|