Orion
The AI analyst built into Celiq โ ask questions, generate CML, explain SQL, and get a daily briefing.
Why use it: Ask "What drove the revenue spike last week?" and get a governed, explainable answer โ not a hallucination.
Where to find it: Left sidebar โ Orion icon (โฆ), or Ask Orion panel inside any mosaic.
Who can use it: All roles. Orion respects your Data Keys and Data Gates.
Orion is the AI layer woven through Celiq. It is not a separate product โ it is present wherever you are working. Ask a question in Discover, generate a node in Forge, or get a daily briefing in your inbox. Orion handles it.
What is Orion
Orion is a large-language-model assistant that understands your semantic layer. Because it has access to your CML โ your field definitions, metric formulas, and join graph โ it gives answers that are grounded in your actual data model, not generic SQL guesses.
Orion can:
- Translate natural language into a Reveal (select fields, apply filters, pick a visualisation)
- Explain the SQL behind any query in plain English
- Generate a node file in Forge from a description or table name
- Describe a metric โ explain what a measure calculates and what caveats apply
- Identify anomalies in your data and surface them proactively
- Send a morning briefing with changes in your key metrics since yesterday
Orion in Discover
Ask a question
Click the Orion button (sparkle icon) at the top of Discover, or press Cmd/Ctrl + K. Type a question in plain English:
- "Show me revenue by country last 90 days"
- "What were the top 10 customers by order value in Q1?"
- "Which product categories had the biggest month-on-month drop?"
Orion translates your question into a Reveal โ picking the right node, dimensions, measures, filters, and date range โ and runs it immediately. You can then edit the Reveal manually or ask a follow-up question.
Explain SQL
Every Reveal in Discover has an Explain button (in the โฏ menu). Click it to see:
- The raw SQL Celiq generated
- A plain-English explanation of what the SQL does
- Notes on any joins or aggregations that might affect the result
This is especially useful when onboarding new analysts who want to understand what Celiq is actually querying.
Ask follow-up questions
After running a Reveal, Orion suggests three follow-up questions based on the results. Click any suggestion to run it instantly. You can also type your own follow-up in the Orion bar โ Orion maintains context from the previous query.
Proactive anomaly detection
After Orion answers your question, it silently checks 2โ3 related metrics for unusual movement. If anything is outside the normal range (ยฑ20% from the 4-week rolling average), Orion flags it.
Example:You ask: "What's our revenue this week?"
Orion answers: "Revenue was ยฃ124k โ up 18% WoW."
Then adds: "Worth flagging: Conversion rate โ 25% vs 4-week average (1.8% vs baseline 2.4%)."
This happens automatically. You do not need to enable it. To adjust sensitivity or disable it, go to Lumen โ Orion settings โ Anomaly detection.
Suggested actions
After answering questions about metric changes, Orion suggests what to investigate or communicate next.
For a revenue drop, Orion might suggest:
- Check channel breakdown โ click to run the query instantly
- Check product mix โ click to see which products drove the change
- Alert team โ click to draft a message with the key numbers filled in
Suggested actions appear below the answer. Click any suggestion to run it as a follow-up query, or use the draft message template to copy a pre-filled Slack or email message.
When Orion can't find a governed reveal
If you ask about a metric that has no governed reveal, Orion stops and explains the situation clearly rather than guessing with raw SQL:
"I don't have a governed reveal for campaign revenue yet.
Here's what I can do:
Option A โ Approximate now: Run an ad-hoc SQL query. Fast, but won't use your governed revenue definition.
Option B โ Build it properly: I can guide you to create a reveal in Forge (~2 minutes)."
Orion waits for you to choose. This protects you from getting numbers that look right but use the wrong metric definition.
Orion in Forge
Generate a node
Click the Orion button in the Forge toolbar. Describe the table you want to model:
"Generate a node for the analytics.orders table. Include order_id, customer_id, revenue, status, and created_at. Add row-level security by customer_region."
Orion reads your schema (via the active connection) and writes a complete CML node file with:
- Dimensions with sensible labels and descriptions
- At least one measure (usually a count and a sum)
- A Data Key block if you asked for RLS
- Comments on any fields it made assumptions about
Review the output, make any edits, then validate and commit.
Describe a metric
Right-click any measure in the Forge editor and select Ask Orion: Describe this metric. Orion explains:
- What the SQL calculates
- Which tables and joins are involved
- Any edge cases (e.g. "this count is distinct โ duplicate order_ids are collapsed")
- Suggested documentation text you can paste into the
description:field
Morning briefing
The morning briefing is an Orion-generated email or Slack message delivered once a day (default: 8am your local time). It contains:
- The top 3โ5 metrics from your pinned Mosaics, with a delta since yesterday
- Any anomalies Orion detected overnight (metric moves more than 2 standard deviations from its rolling average)
- Suggested follow-up questions for each anomaly
To configure it:
- Open your Profile โ Notifications.
- Enable Morning briefing.
- Choose delivery channel: email, Slack DM, or Teams DM.
- Select which Mosaics to include.
Role-based briefings
Celiq sends a personalised morning briefing to each user based on their role โ CEO, ops, marketing, product, or finance. Each role receives different metrics:
| Role | Focus metrics |
|---|---|
| CEO / Executive | Revenue, growth, new customers, AOV |
| Operations | Orders, fulfillment time, cancellation rate, returns |
| Marketing | Sessions, conversion rate, revenue by channel, CAC |
| Product | Feature adoption, retention, session depth |
| Finance | Revenue, margins, refunds, MRR |
Briefings are generated by Orion at 7am in your workspace timezone.
To configure:
- Go to Lumen โ Orion settings โ Briefings.
- Set your role and preferred delivery channel (Slack or email).
- Toggle briefings on.
Briefings include anomaly flags for your role's metrics. If a metric moves more than the escalation threshold (configurable per role), an immediate alert is sent instead of waiting for the next morning briefing.
How Orion knows what you want
Orion automatically detects whether you're asking a question or asking it to build something.
Query mode โ for questions about your data:- "What's our revenue this week?"
- "Why did conversion drop on mobile?"
- "Which channel drives the most orders?"
In query mode, Orion uses your governed reveals, raw SQL, or workspace memory โ whatever gets you the most accurate answer fastest.
Build mode โ for creating dashboards:- "Build me a revenue dashboard"
- "Create a mosaic for our ecommerce data"
- "Add a tile showing orders by channel"
In build mode, Orion only uses governed reveals โ never raw SQL. This ensures every tile uses your canonical metric definitions. If a reveal doesn't exist for a metric you want on a dashboard, Orion tells you and offers to create one in Forge.
The mode switch happens automatically based on the intent in your message. You never need to specify it.
How Orion knows your business rules
Orion loads domain-specific knowledge before answering questions. For an orders question, it loads rules like:
- Revenue =
SUM(sale_price), notSUM(cost) - Exclude cancelled orders from order counts
- AOV =
revenue / COUNT(DISTINCT order_id), notAVG(sale_price)
These rules are stored in domain skills files โ one per business domain (orders, marketing, products, customers, finance, ops). Celiq ships with a standard set, and they can be customised per workspace in Lumen โ Orion โ Skills.
When you ask a question, Orion identifies the relevant domain and loads its skill file before generating any SQL or selecting any reveal. This is why Orion gets metric calculations right on the first try for well-defined domains, rather than guessing at what "revenue" means.
What Orion remembers
Orion maintains a workspace memory that persists across sessions. It stores:
- Your canonical metric definitions and the gotchas that come with them
- Data quality issues discovered during past queries (e.g. "always exclude
status = 'Cancelled'from order counts") - Corrections you've made ("you told me last session that AOV excludes refunds")
- Your preferred analysis grain (weekly vs daily)
Memory is loaded silently at the start of every session. It does not add to your query time โ it is retrieved once when Orion starts, not on each message.
View and edit what Orion remembers at Lumen โ Orion โ Memory. You can delete individual memory entries or clear all memory for a fresh start.
Provenance footer
Every Orion response shows three trust signals at the bottom:
- Source โ semantic layer (governed reveal) or raw SQL
- Freshness โ the date of the most recent data in the result
- Confidence โ high (governed reveal) or medium (raw SQL)
High confidence means the answer used a metric definition you or your team wrote in CML. Medium confidence means Orion approximated the metric from your schema โ verify the definition is correct for your business.
Anomaly detection
After returning an answer, Orion asynchronously checks 2โ3 related metrics in the background. If any metric is more than ยฑ20% from its 4-week rolling average, Orion flags it as an anomaly with a suggested follow-up question.
Anomaly checks never delay the primary response โ they run after the answer is shown and surface as a follow-up notification if something is found.
Follow-up suggestions
After every analytical response, Orion suggests 2โ3 follow-up questions as clickable buttons. Click any suggestion to run it instantly. Orion maintains context from the previous query, so follow-ups build on what you just asked.
Action suggestions
After explaining an insight, Orion suggests what to do next:
- Investigate โ a button that sends a specific drill-down query directly
- Draft message โ copy-ready text summarising the insight to send to your team
Example: "Revenue dropped 23% last week. [Investigate by channel โ] [Copy summary for Slack โ]"
Graceful degradation
If no governed reveal exists for your question, Orion stops and offers two paths rather than guessing silently:
- Option A โ run an approximate query using raw SQL (with a medium-confidence caveat)
- Option B โ create a reveal in Forge first, then re-run the question with high confidence
Orion will never substitute a different metric than the one you asked for.
Role-based briefings
The morning briefing is personalised per role:
- CEO / founder โ revenue, growth, and key conversion metrics
- Operations โ fulfillment rates, returns, and SLA metrics
- Marketing โ channel performance, CAC, and campaign metrics
- Finance โ MRR, ARR, burn rate, and cohort metrics
Set your briefing role at Lumen โ Profile โ Briefing role.
Limitations
Orion is powerful but not perfect. Be aware of these limitations:
- Orion does not write your SQL for you. It generates CML and Reveals, which Celiq then compiles to SQL. It does not execute arbitrary SQL directly.
- Orion can hallucinate field names if your schema has ambiguous or abbreviated column names. Always validate generated CML before deploying.
- Orion has no access to your actual row data. It reasons about metadata (column names, types, cardinalities) and your CML definitions โ it cannot read the values in your rows.
- Follow-up context is session-scoped. Closing the Discover tab clears Orion's context. It does not remember previous sessions.
- Languages: Orion accepts questions in any language but returns answers and CML in English. Multi-language label support is on the roadmap.
Proactive scanning
Orion's proactive scanning is automatic. Every 6 hours, Orion compares the current week to the prior week across all your active reveals. Findings with more than 15% change are surfaced.
What gets surfaced
- Single metric changes โ revenue up 34%, orders down 12%
- Opposing metric patterns โ revenue up but new customers down
- Correlation signals โ traffic up but conversion down suggests a quality issue
Investigating a finding
Click Investigate with Orion โ on any finding card to open the Orion panel with the question pre-filled. Orion runs root cause analysis on the finding immediately.
Sensitivity
Adjust when findings are surfaced: Lumen โ Orion โ Scanning sensitivity. Options: Low (30% change), Medium (15%), High (5%).
{/ Screenshot: Homepage with "Orion noticed" finding cards and percentages /}
Auto chart selection
Celiq picks the chart type based on:
| Data shape | Selected chart |
|---|---|
| Single number | KPI tile |
| Number + time dimension | Line chart |
| Number + category (โค8) | Bar chart |
| Number + category (>8) | Horizontal bar |
| Number + geography field | Map |
| Two numbers (correlation) | Scatter |
| "breakdown" / "share" questions | Pie / donut |
| Complex multi-field results | Table |
Overriding
Use the chart switcher below any Orion response to change the chart type manually. Your choice is remembered for that session. When auto-selected, a small auto label appears next to the chart type.
{/ Screenshot: Orion response with auto-selected bar chart and chart type switcher visible /}
Decomposition tree
When you ask Orion to explain why a metric changed, it builds a decomposition tree: the top-level metric splits into the most impactful dimension, then each segment splits again.
Each node shows the value and its percentage of the parent. Click any node to drill deeper into that segment.
Example questions that trigger the tree
- "Why did revenue drop this week?"
- "Break down orders by what's driving them"
- "What explains the conversion rate change?"
{/ Screenshot: Decomposition tree for revenue breakdown showing nested dimension splits /}
AI Query Autocomplete
Why use it: You do not need to know what to ask. Autocomplete shows the questions Orion can actually answer well, so you get a governed answer on the first try.
Where to find it: The Orion bar in Discover, on any mosaic, and on the homepage.
Who can use it: All roles.
When you open the Orion bar, a dropdown of suggestions appears immediately โ before you have typed anything. As you type, the list narrows to match.
How starter suggestions work
When the input is empty, Orion shows starter suggestions โ a short list of high-value questions tailored to your workspace. They are generated from:
- Your governed reveals โ so every starter routes to the semantic layer and returns a high-confidence answer.
- Your most-asked questions โ recent popular queries across the workspace.
- Your role โ a marketer sees channel and CAC starters; finance sees MRR and margin starters.
Example starters for an ecommerce workspace:
- "Show me revenue by country last 90 days"
- "What's our conversion rate this week vs last week?"
- "Top 10 products by revenue this month"
Because starters are built from reveals that exist, they almost always answer from the semantic layer rather than falling back to raw SQL.
As-you-type suggestions
Once you start typing, suggestions update live. Each suggestion shows:
- The full question text
- A small badge indicating the route it will take โ semantic layer (governed) or raw SQL (ad-hoc)
- The reveal it will use, when applicable
Selecting a suggestion fills the bar with the full question. Press Enter to run it, or keep editing first.
Keyboard shortcuts in the suggestion dropdown
The dropdown is fully keyboard-navigable, so you never need to reach for the mouse:
| Key | Action |
|---|---|
Cmd/Ctrl + K | Open the Orion bar from anywhere |
โ / โ | Move down / up through suggestions |
Tab | Accept the highlighted suggestion into the input (keep editing) |
Enter | Run the highlighted suggestion immediately |
Esc | Close the dropdown |
If no suggestion is highlighted, Enter runs whatever you have typed.
Limitations
- Suggestions are generated from your current reveals and recent query history. A brand-new workspace with no reveals shows generic starters until you build your semantic layer.
- Suggestions reflect your access level โ you will never be suggested a question over a field hidden from you by a Data Gate.
Workspace Intelligence Score
Why use it: See, at a glance, how much Orion knows about your specific metrics, definitions, and gotchas โ and what to do to make it smarter.
Where to find it: A widget on the homepage, and a full breakdown in Lumen.
Who can use it: All roles see the widget; Luminary sees the admin breakdown.
Every question you ask, every correction you make, and every reveal you certify teaches Orion something specific to your business. The Workspace Intelligence Score turns that accumulated knowledge into a single number, so you can track how Orion grows from a generic assistant into one that knows your business.
The homepage widget
The Intelligence widget on the homepage shows your current score, level, and a one-line summary:
๐ง Orion Intelligence [Trusted]
73 / 100
โโโโโโโโโโโโโโโโโโโโโโโโโโ
Orion has learned 47 things about your business
[See what Orion knows โ]Click See what Orion knows to open the breakdown.
How the score is calculated
The score is the sum of five components, each capped so no single source dominates:
| Component | Points | Cap |
|---|---|---|
| Key metric definitions in Orion's memory | 3 pts each | 30 |
| Corrections you have applied | 2 pts each | 20 |
| Certified reveals | 5 pts each | 25 |
| Queries run | 1 pt per 10 queries | 15 |
| KPIs being monitored | 2 pts each | 10 |
The components add up to a maximum of 100. The score is recalculated periodically (it does not need to be real-time) and cached, so opening the widget is instant.
Levels
Your score maps to one of four levels:
| Score | Level |
|---|---|
| 0โ25 | Learning |
| 26โ50 | Familiar |
| 51โ75 | Expert |
| 76โ100 | Trusted |
The level is a quick signal of how much you can lean on Orion's governed answers without re-checking them.
What "Orion knows" means
The breakdown panel lists the component scores with mini bars, plus a highlights list of human-readable facts Orion has learned โ for example:
- "Revenue is your primary KPI"
- "CAC calculation excludes brand spend"
- "Always exclude cancelled orders from order counts"
These highlights are drawn directly from Orion's workspace memory โ they are the actual rules Orion applies when answering your questions.
How to improve your score
The fastest ways to raise your score, in rough order of impact:
- Certify your key reveals (5 pts each) โ the highest per-item value. Certified reveals are the canonical definitions Orion trusts most.
- Correct Orion when it is wrong (2 pts each) โ every correction is captured and reused, and it makes future answers more accurate.
- Record key metric definitions (3 pts each) โ tell Orion "Remember that revenue excludes refunds" and it stores the rule.
- Monitor more KPIs (2 pts each) โ adding blessed KPIs both raises the score and enables silent-failure detection.
- Keep asking questions (1 pt per 10) โ usage compounds, and popular questions feed better autocomplete starters.
The breakdown panel includes a Teach Orion more button that opens the Orion bar pre-filled with Remember thatโฆ so you can add a fact in one step.
Admin view in Lumen
Luminaries get a fuller view at Lumen โ Queries โ Intelligence, with the complete component breakdown and the ability to edit workspace memory directly โ add, correct, or remove the facts that drive the score.