The recommendation widget provides automated, conversational analysis of your dataset using the power of AI. This feature helps you understand what's happening in your data without needing to write queries, surfacing plain-English insights directly within your widget.
The analysis updates automatically as your data updates, ensuring the recommendations reflect the most current state of your dataset.
Overview
The Recommendations engine works like a built-in data analyst. It reviews the results of the widget and generates a summary in natural language, highlighting patterns, trends, or anomalies. You can interact with it by entering a custom prompt or question, just like you would with a chat-based AI.
Use simple prompts to get quick answers:
What are the main trends this month?
Which regions are underperforming?
Or add more complexity to guide deeper analysis:
Identify the top 5 contributors to growth and explain why they performed well.
Summarize patterns in customer churn by segment and region.
How to Use Recommendations
From the widget Settings menu, select the "Recommendation" visualization type.
Display & Formatting
Under widget settings in the Visualization tab, expand the AI section to configure the parameters discussed below.
Select A Model
Select the language model you want to use for your response. By default, Knowi’s in-house AI will be selected unless you choose a different option. Our in-house model does not send any data outside of Knowi. If you choose an external model, such as OpenAI, both the prompt and data will be sent to OpenAI. See more details about selecting models below.
Select A Mode
- Widget dataset: The AI will use the data in the data transformation tab of this widget to make its analysis.
- Dashboard: The AI will reference all widgets on the dashboard.
- Selected widgets: Choose specific widgets for the AI to reference.
- Dashboard summary: The AI synthesizes all widgets on the dashboard into a single executive summary, with a Summary paragraph and a Recommended actions paragraph, instead of a numbered list of insights.
Max Results
Specify how many results the recommendations widget should generate. You can generate up to 10 results, and the widget defaults to 5 if no value is provided. To apply your changes, select Apply, then Save the widget.
Analyze in Chunks
By default, Knowi analyzes a representative sample of large datasets. Select the Analyze in chunks checkbox to analyze every row instead. Knowi splits the data into consecutive batches, analyzes each batch separately, and merges the results into a single set of recommendations. This is best for datasets where outliers or long tail records matter. Expect longer response times and higher AI usage.
This setting is off by default in the UI, and on by default for the Management API. Chunking covers datasets of up to 15 chunks, with a maximum of 3 analyzed at once. Datasets larger than that may still be truncated.
Write a Custom Prompt (optional)
Enter your prompt in the field, or leave it blank to use the default prompt. The default prompt asks for recommendations based on the data in the data transformation tab and provides actionable insights.
Choosing the AI Engine
Recommendations run on Knowi AI, the private model hosted in Knowi's infrastructure, unless you add models from an external provider: OpenAI, Anthropic (Claude), Google (Gemini), Azure OpenAI or Amazon Bedrock.
To use an external model:
- Go to User Settings and open the AI Settings tab.
- On the Keys & MCP tab, click Add Key next to the provider and save its API key.
- On the Models tab, click CHANGE next to Recommendation Widget and add up to five models. The first one is the default. Only account admins see this tab.
- In a Recommendation widget's settings, pick a model under AI Model, or leave it on Default to use the default model.
If the model picked in a widget's AI Model setting is later removed from that list, or its key is removed, the widget runs on the Recommendation Widget's default model instead. See Model Fallback.
Widget Menu
| Field | Interpretation |
|---|---|
| AI Model | Select an AI model to use from the drop down menu. |
| AI Mode |
|
| Max Results | Specify the number of results from 1–10 you want the widget to generate. The widget defaults to 5 if no value is provided. |
| Prompt | Optional prompt for the AI engine. Using plain English, add more context or ask questions about the data. |