Use Databricks Assistant
Databricks Assistant is a context-aware AI assistant that helps you with Databricks notebooks, SQL editor, jobs, AI/BI dashboards, file editor, and more. Use chat to ask for help, and Databricks Assistant assists you with data and code using a conversational interface.
Databricks Assistant defaults to using Databricks-hosted AI models if you disable Partner-powered AI features.
To learn how Assistant helps with code, see Get coding help from Databricks Assistant.
Tour of the Assistant pane
This section describes the default experience of the Assistant pane.
To open the Assistant pane, click on the upper-right corner of the page.
Chat pane
Type questions or slash commands in the text box at the bottom of the Assistant pane and press Enter or click at the right of the text box. Assistant displays its answer.
If you prompt Assistant to help with code, it leads you through running, accepting, or rejecting the code changes it proposes.
Chat pane controls and settings
The Chat pane header has controls and settings for the Chat UI.
-
Chat pane settings menu: Open the Chat pane settings menu to delete chat threads, change the position of the pane, and change settings.
-
Delete chat threads in History.
-
Change Assistant settings. When you select Settings, the Chat pane runs the
/settings assistant
prompt. -
Rerun your prompt or query: Hover your cursor over the answer and click
.
-
Close the pane: Click
in the upper-right corner of the cell.
Control the location of Databricks Assistant
The docking feature allows you to control where Databricks Assistant appears. Keep the pane on the right side of the page or dock it anywhere along the bottom. To minimize or expand Databricks Assistant, click the top of the Assistant pane.
Get follow-up suggestions and citations from documentation
Databricks Assistant gives you follow-up suggestions and citations from documentation to answer questions. Type your question or prompt in the prompt box.
- Follow-up suggestions include variations on the query.
- Citations are numbered footnote links following an Assistant answer.
Get help with code
Get help with code from Databricks Assistant directly in your notebooks. The Assistant offers:
- AI-based autocomplete.
- Data filtering with natural language prompts.
- Code debugging with Diagnose Error.
- Quick Fix, which presents automatic recommendations for fixing code errors that you can Accept and run.
- Serverless code execution.
See Get coding help from Databricks Assistant.