Prerequisites
- A data warehouse is connected. See Warehouse Connections.
- You have the Developer role.
Step 1: Configure sources
Tell Delphina where to look. Go to Context Layer > Sources and configure the raw inputs the agent will use to build your knowledge base. Tables — Select which warehouse tables should be in scope. Click Add from Catalog to browse your schema and check the tables you want documented, or use Bulk Edit to paste table names if you have many. Query Users — (Snowflake, BigQuery, and Databricks) Select the users whose query history the agent should analyze. Click Add from History to pick from recently active users. Pick your most experienced analysts — the agent learns join patterns, filter conventions, and metric definitions from their SQL. File Uploads — Upload reference documents that describe your data: dashboard definitions (LookML, Tableau), dbt project files, data dictionaries, or any other documentation. The agent extracts metric definitions, business rules, and table relationships from these. MCP Connections — Pull documentation that lives in external tools (Notion, GitHub, Slack, and others) via the Model Context Protocol. Set a knowledge pull prompt on the connection to scope what the agent ingests — for example, “Pull all pages under the Metrics space”. See MCP Connections.Step 2: Update knowledge
Start a new chat and send:- Orients — it checks what is already in your knowledge base, then compares your warehouse schemas, uploaded files, query configuration, and MCP content against their state at the last update, so it knows what is new or changed.
- Proposes a plan — how many tables, metrics, dimensions, and rules it will document, and from which sources. Review the counts and tell the agent to adjust the scope before it builds. For very large warehouses the agent may suggest onboarding in multiple passes, one domain at a time.
- Builds the knowledge once you confirm — table documentation, metric definitions with tested SQL, and business rules.
Step 3: Validate knowledge
Knowledge updates validate what they build as they go, but before creating evaluations it is worth running a standalone validation pass over the whole knowledge base — and you can re-run it anytime, not just during onboarding. Start a new chat and send:/knowledge chat:
Step 4: Create evaluations
Start a new chat and send:Step 5: Run an evaluation
Go to Context Layer > Evaluations and click New Run. All test cases are selected by default (a full run) — narrow the selection to specific cases or domains for a quicker partial run. The run page shows live progress: each case gets a pass/fail verdict with the judge’s explanation, and failed cases are analyzed automatically and land as issues in Context Layer > Inbox. See Evaluations & Quality for reviewing results and fixing failures.After onboarding
The agent immediately starts using your documented metrics, rules, and tables.- Use
/knowledgein chat for ongoing refinement as schemas change. See Maintenance. - Re-run the update prompt from Step 2 when expanding to a new domain or after updating sources. The Sources page shows a Sources changed since last update banner when Delphina detects drift, and the agent scopes the update to what changed.
- Re-run the validation prompt from Step 3 periodically, or after big warehouse changes.
- Re-run your evaluation suite after knowledge changes to catch regressions.