Skip to content

Modeling: overview ​

Modeling means telling LumeDB which tables come in, how they connect and what each field means to the business. The result is the model of an application: analyses, dashboards and the AI's answers all come from it.

Modeling is a canvas. Each step is a node, and nodes connect from left to right.

The order of the nodes ​

NodeWhat it doesGuide
SourcePoints to a connection and a schema.Sources and tables
FileBrings in a spreadsheet or an uploaded file.Files
TablePicks a table, the columns that are loaded and each one's business name.Sources and tables
RelationshipsDeclares how the tables join.Relationships
ModelBrings everything together, holds measures and security, and publishes.Model and publishing

Each node has its own page in Nodes: reference. Modeling also accepts the preparation nodes (Join, Filter, Transformation and the rest).

For a single-table application, connect the Table straight to the Model: there are no relationships to confirm.

Create an application ​

  1. On the Hub, type / and choose /new app.
  2. Give it a name, for example Inventory. The description is optional and serves as context for the AI.
  3. Confirm. LumeDB creates the application and opens an empty Modeling canvas.

To open the Modeling of an existing application, use /model and choose the application.

Read the canvas ​

  • Node palette: click a node type to add it, or drag it onto the canvas.
  • Click a node to see, on the right, what it does and its options. Double-click opens the node's editor.
  • Ports have colors: each color is a data type, and only compatible ports connect.
  • Library, on the left: the Catalog tab lists the tables of the Source's schema. Click or drag to create a Table node.
  • Log, in the node's panel: shows what happened in the latest loads and the reason when one fails.
  • Delete node removes the node and its connections; the Delete key does the same.

When something blocks publishing, the node shows Fix to run/publish with what's missing.

Ask the AI for the model ​

In the panel on the right, open the conversation with the AI and ask in plain language: build a sales model, include the salespeople, relate orders and customers. The AI reads the catalog and the tables' profile and proposes the nodes; nothing changes until you apply it.

The AI only sees sample rows when the application allows it, under AI can see data samples from this application. Your company can turn that off for everyone in Settings.

Draft and published version ​

What you edit is the draft. Other people keep seeing the published version until you publish again. See Model and publishing.

Who can model ​

Creating applications, confirming relationships and publishing depend on permissions the administrator gives under Users and access. Without the permission, the button is disabled and the hint says what's missing.

LumeDB © Keon Analytics