The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
notes (#63097)
Jeff Bruemmer207cbffc0551
diff --git a/docs/ai/metabot.md b/docs/ai/metabot.mdindex ad2a2efa0c8..c15fb392c2a 100644--- a/docs/ai/metabot.md+++ b/docs/ai/metabot.md@@ -19,8 +19,8 @@ To set up Metabot, see [Metabot settings](./settings.md).Metabot can help you to:-- Create a chart using the [query builder](../questions/query-builder/editor.md) from a natural language query.-- Generate SQL in the [native editor](../questions/native-editor/writing-sql.md) from natural language.+- [Create a chart using the query builder](#how-metabot-uses-the-query-builder) from a natural language query.+- [Generate SQL in the native editor](../questions/native-editor/writing-sql.md) from natural language. (Currently, only SQL is supported.)- [Analyze a chart](#analyze-charts-with-metabot).- [Fix errors in SQL code](#have-metabot-fix-sql-queries).- Answer questions from our documentation (as in, the literature you're reading right now).@@ -46,13 +46,14 @@ Some tips:- Give Metabot as much context as you can. If you know the table or fields you want to query, tell Metabot.- Whenever you want Metabot to do something completely different, you should reset the conversation, as Metabot might find that irrelevant historical context to be confusing.- Once Metabot creates a question for you, you can follow up with more questions or take over yourself. You can drill through the chart or step into the editor to tweak the query (both in the query builder and the SQL editor).+- Metabot works best with English prompts. While it might understand other languages, you'll get the most reliable results by asking your questions in English.### Metabot response menuHover over Metabot's response to:- Copy the response.-- Give thumbs-up/thumbs-down feedback on responses.+- Give thumbs-up/thumbs-down feedback on responses. If you downvote a response, you can optionally contribute a bug report to help us improve Metabot.- Re-run the prompt with Metabot. This is useful if you've updated the chart or just want to have Metabot take another pass (since AI responses aren't deterministic, Metabot may give a different response on another run).## Analyze charts with Metabot@@ -65,6 +66,10 @@ When viewing a table of results, Metabase won't display the Metabot button, butYou can also ask Metabot to tell you about specific tables in your database.+## How Metabot uses the query builder++When you ask Metabot to create a chart from natural language, it first looks for existing questions that might answer your request. If it finds a relevant question, it'll point you to that instead of creating something new. Otherwise, Metabot will use the [query builder](../questions/query-builder/editor.md) to create a new chart for you. Keep in mind that Metabot can only handle basic query builder operations. It's limited to single-level aggregation and grouping, so if you need more complex analysis, you can take over and refine the query yourself, or switch to the native editor.+## Metabot in the native editordiff --git a/docs/ai/settings.md b/docs/ai/settings.mdindex c6d31dfa86b..c4e5826f047 100644--- a/docs/ai/settings.md+++ b/docs/ai/settings.md@@ -85,3 +85,7 @@ Currently, Metabot will be available to everyone who uses your Metabase.Under the hood, Metabase powers Metabot with a variety of generative models. For now, you can't change which generative AI models Metabot uses, as Metabase's AI service handles their selection.To get the best results, we (the Metabase team) use internal benchmarks to determine which AI models Metabot should use for different tasks. And we are constantly iterating on performance, so Metabot will continue to improve over time.++## We don't collect or store the prompts you send to Metabot++Your questions and conversations remain private to your Metabase. We do collect some metadata to gauge and improve usage, but we can't see your prompt or any of your data.