Reasoning with your Data

Besides visualizing, editing and operating on data, a custom interface can also let end users reason about them, by asking questions in natural language and receiving an answer generated by an intelligent backend.

The widgets of the Reasoning families are the Rulex Studio answer to this need: they embed in a view a conversational interface, which can be placed in any Slides or Dialogs together with all the other widgets.

Differently from the Datasets based widgets described in the other sections, Reasoning widgets are not associated to attributes. They do not trigger any data filtering or data selection operation: every interaction of the user is forwarded to a custom backend, which is in charge of computing the answer and which is the only component deciding the information that is going to be displayed.

At the moment, the Reasoning operations are covered by one family:

Note

The Reasoning widgets are available only in slides and dialogs. They cannot be added to reports.


Chats

The Chats family contains the widgets that render a conversation between the end user and a Large Language Model (LLM), or more generally any backend able to answer a written prompt. These widgets can be found in the Widgets panel of the stage, under the Chats entry.

Chats are not directly connected to an LLM: each message typed by the user is sent to a custom backend flow configured in the widget layout, and the answer it returns is rendered in the conversation. This allows users to decide, through the flow, which model to call, which data to consider and how to format the response. The flow can be any Rulex Factory flow containing a task that produces a Conversation structure (as the Generative AI and the Agentic AI tasks) and a flow variable receiving the prompt.

The current members of this family are:

Once a Chats widget has been dragged onto the stage, it is configured only through its Layout options window, which can be opened by double-clicking on the widget or from the Widget context menu. The window contains the backend connection options along with all the graphical customizations, as explained in the Chats family page.

Note

The event triggers available for the Chats widgets are:

  • onSendPrompt

  • onReceiveAnswer