Skip to content

Data Assistant

The Data Assistant is an AI-powered interface that allows you to explore, analyze, and visualize your data using natural language. It works directly on top of your existing DataSpace workspaces and datasets.

The assistant is designed to support both precise, metric-driven questions and open-ended, exploratory analysis across one or multiple workspaces.

Before asking questions, you must link at least one workspace.

  • Linked workspaces are managed on the right-hand side of the Data Assistant interface.
  • You can link one or multiple workspaces, as long as you have access permissions.
  • Only linked workspaces are visible to the assistant and used for analysis.

Linking multiple workspaces enables cross-domain questions, such as combining sales, marketing, or operational data.

Once at least one workspace is linked, you can start asking questions in natural language.

Questions can be:

Examples:

  • How many products do we have?
  • What was the most bought item in November?
  • How many patients were processed last week?

Examples:

  • What trends do we see in customer behavior over the last quarter?
  • Is there a correlation between marketing campaigns and sales in November?

When multiple workspaces are linked, the assistant can reason across them to answer higher-level business questions.

The underlying large language model (LLM) used by the Data Assistant is predefined by an administrator (DATAASSISTANT_DEFAULT_MODEL). Only platform admins can choose another model, the temperature and the maximum number of steps in the chat.

When a question is submitted, the assistant follows an iterative analysis process:

  1. Question analysis
    The assistant interprets the intent of the question and determines which datasets and metrics may be relevant.

  2. Workspace context discovery
    The assistant explores the available datasets in the linked workspaces.

  3. Business logic discovery
    If a README.md file is present on the main branch of a workspace, it is read and used as contextual documentation.
    This is the recommended place to document:

    • Business logic
    • Dataset purpose
    • Column semantics
    • Domain-specific rules

    Providing this context helps the assistant choose the correct datasets and columns during analysis.

  4. Iterative data exploration
    The assistant runs queries directly against the datasets to extract information.
    This exploration happens in a loop of querying and reasoning and can take up to the number of steps set in DATAASSISTANT_MAX_ITERATIONS (for example 25).

  5. Result synthesis
    All gathered information is combined into a clear, human-readable answer.

When appropriate, the Data Assistant automatically generates visual output to best convey the results.

Supported outputs include:

  • Bar, line, area and pie charts
  • Scatter and radar charts
  • Data tables

The steps behind every answer are shown with it, including each SQL query the assistant ran, so you can check how a chart or table was produced.

  • All chats are private and visible only to the user who created them.
  • The assistant operates entirely within the boundaries of the linked workspaces.
  • Questions and query results are sent to the LLM at OLLAMA_CLOUD_BASE_URL. With Ollama Cloud (https://ollama.com) that is an external service; with your own Ollama server nothing leaves your infrastructure.

The Data Assistant can work fully offline.

Given the appropriate infrastructure, the LLM runs on your own Ollama server and all data processing stays on-premise, ensuring full data sovereignty.