To use Briefer’s AI assistant in the open-source version, you need to have an OpenAI API key. Please see the configuring an OpenAI API key section below for more information.

Opening the AI assistant from a Python block.

An example of a diff generated by the AI assistant.
Fixing errors
Whenever your Python or SQL code has an error, the AI assistant can help you fix it. To do this, click on the “Fix with AI” button that appears on the output part of the block when an error is detected.
Fixing an error with the AI assistant.