๐

One of the new capabilities weโve been working on in our ERP AI agent is ๐๐ ๐ด๐ฒ๐ป๐ฒ๐ฟ๐ฎ๐๐ฒ๐ฑ ๐ฑ๐ฎ๐๐ต๐ฏ๐ผ๐ฎ๐ฟ๐ฑ ๐๐ถ๐ฒ๐๐, allowing users to describe the view they need and letting the agent construct it from the underlying ERP data.
The key challenge wasnโt simply getting an LLM to generate a dashboard.
It was making the generation ๐ฎ๐ฐ๐ฐ๐๐ฟ๐ฎ๐๐ฒ, ๐ฐ๐ผ๐ป๐๐ถ๐๐๐ฒ๐ป๐ ๐ฎ๐ป๐ฑ ๐ฒ๐ณ๐ณ๐ถ๐ฐ๐ถ๐ฒ๐ป๐.
We addressed this by defining ๐ฝ๐๐ฟ๐ฝ๐ผ๐๐ฒ ๐ฏ๐๐ถ๐น๐, ๐๐๐ฝ๐ฒ๐ฑ ๐๐ผ๐ผ๐น ๐ฐ๐ฎ๐น๐น๐ around the actual operations required to build a dashboard.
The LLM orchestrates the workflow, while the tools handle the deterministic work.
๐น ๐๐ฒ๐๐ฐ๐ต
Retrieves and aggregates the required ERP data through operations such as ๐ด๐ฟ๐ผ๐๐ฝ๐๐, counts, sums, correlations and other supported aggregations.
๐น ๐ฆ๐ต๐ฎ๐ฝ๐ฒ
Converts those results into a validated chart and view specification. Server side calculations, category limits and structural constraints are handled outside the model.
๐น ๐ฅ๐ฒ๐ป๐ฑ๐ฒ๐ฟ
Converts the validated specification into the actual dashboard components and desktop view.
This gives the LLM a more precise responsibility.
Rather than asking the model to retrieve data, calculate metrics, design charts and implement the UI in a single generation, it determines ๐๐ต๐ถ๐ฐ๐ต ๐ผ๐ฝ๐ฒ๐ฟ๐ฎ๐๐ถ๐ผ๐ป๐ ๐ฎ๐ฟ๐ฒ ๐ฟ๐ฒ๐พ๐๐ถ๐ฟ๐ฒ๐ฑ and orchestrates the corresponding tool calls.
For example:
๐๐ฟ๐ฒ๐ฎ๐๐ฒ ๐ฎ ๐๐ฎ๐น๐ฒ๐ ๐ฑ๐ฎ๐๐ต๐ฏ๐ผ๐ฎ๐ฟ๐ฑ ๐๐ต๐ผ๐๐ถ๐ป๐ด ๐ผ๐ฟ๐ฑ๐ฒ๐ฟ ๐๐๐ฎ๐๐๐, ๐๐ผ๐ฝ ๐ฝ๐ฟ๐ผ๐ฑ๐๐ฐ๐๐ ๐ฎ๐ป๐ฑ ๐บ๐ผ๐ป๐๐ต๐น๐ ๐๐ฎ๐น๐ฒ๐ ๐๐ฟ๐ฒ๐ป๐ฑ๐.
The agent can fetch the required datasets, shape each visualization and compose the resulting components into a single desktop dashboard.
We tested the approach against real dashboard generation, focusing on ๐ฎ๐ฐ๐ฐ๐๐ฟ๐ฎ๐ฐ๐, ๐ฒ๐
๐ฒ๐ฐ๐๐๐ถ๐ผ๐ป ๐ฒ๐ณ๐ณ๐ถ๐ฐ๐ถ๐ฒ๐ป๐ฐ๐ and ๐ฐ๐ผ๐ป๐๐ถ๐๐๐ฒ๐ป๐ฐ๐.
One important finding was that reducing the implementation burden on the LLM can improve the result.
The model focuses on ๐ถ๐ป๐๐ฒ๐ป๐ ๐ฎ๐ป๐ฑ ๐ผ๐ฟ๐ฐ๐ต๐ฒ๐๐๐ฟ๐ฎ๐๐ถ๐ผ๐ป, while deterministic operations are handled by tools that can be validated and tested independently.
Another important aspect is ๐ง๐ผ๐ผ๐น ๐๐ผ๐๐ฒ๐ฟ๐ฎ๐ด๐ฒ.
In several cases, the model correctly identified the required operation, but the corresponding ERP entity or capability was not exposed through the tool layer.
This is the direction weโre taking with the new dashboard capabilities:
๐ก๐ฎ๐๐๐ฟ๐ฎ๐น ๐น๐ฎ๐ป๐ด๐๐ฎ๐ด๐ฒ ๐ถ๐ป๐๐ฒ๐ป๐ โ ๐ฝ๐ฟ๐ฒ๐ฐ๐ถ๐๐ฒ ๐๐ผ๐ผ๐น ๐ฐ๐ฎ๐น๐น๐ โ ๐๐ฒ๐ฟ๐ถ๐ณ๐ถ๐ฒ๐ฑ ๐ฑ๐ฎ๐๐ฎ ๐ผ๐ฝ๐ฒ๐ฟ๐ฎ๐๐ถ๐ผ๐ป๐ โ ๐ฐ๐ผ๐บ๐ฝ๐ผ๐๐ฒ๐ฑ ๐ฒ๐ป๐๐ฒ๐ฟ๐ฝ๐ฟ๐ถ๐๐ฒ ๐ฑ๐ฎ๐๐ต๐ฏ๐ผ๐ฎ๐ฟ๐ฑ.
๐๐ ๐ถ๐ ๐ฎ๐ฏ๐ผ๐๐ ๐ด๐ถ๐๐ถ๐ป๐ด ๐๐ต๐ฒ ๐๐๐ ๐๐ต๐ฒ ๐ฟ๐ถ๐ด๐ต๐ ๐ฎ๐ฏ๐๐๐ฟ๐ฎ๐ฐ๐๐ถ๐ผ๐ป๐ ๐๐ผ ๐ฑ๐ผ ๐ถ๐๐ ๐ฝ๐ฎ๐ฟ๐ ๐ฝ๐ฟ๐ฒ๐ฐ๐ถ๐๐ฒ๐น๐.
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)