Lets ChatGPT write SQL queries and analyze errors for you in Metabase.
Metabase-ChatGPT brings new features to Metabase through the use of OpenAI's ChatGPT.
This extension provides 2 additional features to the native query editor of Metabase:
- query prompts: allows you to enter a prompt and let ChatGPT write the SQL query for you or modify your existing query
- error explanation: asks chatGPT to give the most likely explanation for the error considering the query that was run and the error returned by the database
To use those features, you need to provide an OpenAI API key linked to a credited account. If you’re interested but do not have an account, I’d recommend you consider getting one as the pay-as-you-go pricing makes it very cheap. Additionally, Metabase-ChatGPT provides an estimation of the cost per query based on your database, so you won't get any bad surprises.
Important security information: your API key will be stored in the Chrome storage. Make sure you're fine with it before using this extension.
This extension is open-source (https://github.com/RobinPicard/metabase-chatgpt). Feel free to help me improve it by creating issues or opening pull requests on Github!