Chat Best Practices
Getting the most out of Lumi starts with crafting strong, clear prompts. The quality of your prompts directly affects the relevance, accuracy, and completeness of the insights you receive. This guide outlines five essential best practices, grounded in real-world usage and training sessions.
Lumi Best Practices Overview
You need to know both what data exists and how to ask for it effectively.
Specificity drives quality; vague requests often lead to irrelevant or incomplete results.
When applicable, naming the exact columns helps Lumi retrieve more accurate and relevant outputs.
Use a two-prompt strategy: first locate the values or identifiers, then use them in your second analysis prompt.
Check explanation and assumptions to ensure accuracy.
1. Understand What Data is Available
Before diving into complex analysis, begin by exploring your data. Lumi can help you preview tables, inspect distinct values, check ranges, and understand distributions.
Why this matters: Prompts grounded in data context produce better results. If you’re unsure about the data structure, you're more likely to get irrelevant or incomplete responses.

Example prompts:
Show me 100 random records from the sales header table.
What are the distinct customer IDs in the customer_details table?
What is the count of distinct product categories in the sales header table?
What is the earliest and latest order date in the sales header table?
2. Use Clear and Specific Language
Avoid shorthand or vague phrasing. Be as specific and descriptive as possible.
Why this matters: Specificity improves Lumi’s ability to interpret and return relevant answers. General prompts create room for incorrect assumptions.

Example:
Vague prompt:
Top products 2023?
Specific prompt:
What are the top 25 products by revenue in 2023? Sort descending.
3. If Required, Specify Columns
When requesting comparisons or multi-metric outputs, include the exact fields you want to see. This gives Lumi guidance to structure the query appropriately.
Why this matters: When Lumi knows what output format you want, it's more likely to return usable and correctly scoped results.

Example:
Unspecified prompt:
Top 10 brands by revenue growth in Jan 2024
Specific Column Prompt:
Top 10 brands by revenue growth in Jan 2024.
Output should include brand, January 2024 revenue, January 2023 revenue, and the delta.
Tip: You can also ask Lumi to include “relevant details” if you're unsure which supplemental columns might be helpful.
4. Leverage a Multi-Prompt Approach
Break more complex tasks into multiple steps. Use initial prompts to gather identifiers or filters, then follow up with specific analysis using those values.
Why this matters: Lumi does not retain prompt memory. Each question should include all necessary context.

Example prompt strategy:
Prompt 1: List the top 5 customer segments by revenue in Q1 2025.
Customer Segments Return: Churned, New, Returning, VIP, Loyal, High Value.
Prompt 2: Compare monthly transaction trends for segments: Loyal, High Value, and New.
5. Validate Assumptions and Approach
Review the explanations, logic, and SQL that Lumi provides. Ensure that the metrics, filters, and joins used align with your intended analysis.
Why this matters: Lumi may make assumptions, especially around calculations nuances (timelines, type of comparisons, filters etc). You can review to understand if this was the correct logic on the output.

Checklist:
Read the assumptions and explanation tab.
Confirm filters and logic are appropriate.
Use thumbs up/down to provide feedback and help refine future responses.
Known Limitations
Lumi is designed for structured, insight-driven analysis. However, there are several limitations to be aware of when crafting prompts see chat limitations for more information:
Data Availability: Lumi can only query data that is connected and defined in the Knowledge Base. If a field or table doesn’t exist in the model, Lumi won’t be able to retrieve insights; even if the prompt is well-written.
Data Returned From Query: Lumi cannot see the actual table output from prior prompts. It only remembers the previous question and a summary. You must restate any specific values or identifiers in your follow-up questions.
Follow Up Questions: While Lumi may generate follow-up suggestions, these are not always schema-aware. They can include filters or fields that don’t exist in your data model. Manual rephrasing is often necessary.
Row Limitations: Lumi enforces a 100-row maximum per query to maintain performance and resource efficiency. Large result sets should be filtered, limited, or aggregated before requesting.
Latency: Lumi’s query speed is directly influenced by your database's performance. Slow queries typically result from limited compute capacity.
Summary
Prompting well is about clarity, specificity, and structure. Understand your data, ask precise questions, and always verify assumptions. With these practices, you’ll unlock more valuable and accurate insights using Lumi.
Clarity = Better Output
Last updated
Was this helpful?