Skip to content

Chatbot

The consumer agent in a chat window. It answers in business terms about features, datasets, definitions, freshness, lineage and formulas, and can build a dataset from the conversation.

Where Ask
Who sees it All four profiles (Business analyst, Data scientist, Data engineer, Admin). The agent trace and the context graph show for the Admin, Data engineer and Data scientist profiles, not for Business analyst.
Writes to the store Only when you ask it to build a dataset: it then registers and documents it.
Valid-time banner Follows the date as the default valid time of a question that names no date. A date typed in the question wins.

What it does

chatbot

  • Answers show the sources used.
  • In the Admin profile, the agent trace (intent, data domain detection, skill, result) and the context graph (the objects the conversation touched, linked by entity and data domain) are shown beside the chat.
  • A Data domains list above the composer appears when the store has several domains. It narrows the answers to the selected domains; it is a relevance filter, not access control. The selection is remembered per store.
  • Suggestion chips are read from the connected store each time you open the page.
  • Copy chat copies the conversation as Markdown. The side panel can be resized.
  • One turn runs at a time, as in the Gradio chat at /chatbot.

What it writes

Nothing, except when you ask it to build a dataset: it guides you through the entity, the features, the kind (current, as of a date, history) and a name, then registers, documents and records the lineage of the new dataset. A permission refusal from the database is shown whole.

Do the same in Python

The (?) button in the top bar opens a standalone script for this page. It asks for the password with getpass, never writes to the store, and can be copied or downloaded.

The script asks the assistant one question and prints the answer (tdfs4ds.agent.consumer_agent). It calls the instruct model, so the model settings must be configured.

Go further