We are excited to introduce Databricks Assistant Autocomplete now in Public Preview. This feature brings the AI-powered assistant to you in real-time, providing personalized code suggestions as you type. Directly integrated into the notebook and SQL editor, Assistant Autocomplete suggestions blend seamlessly into your development flow and allow you to stay focused in the editor.
Databricks Assistant Autocomplete automatically provides fast code suggestions as you type in SQL and Python. AI code completion uses context from current code cells, Unity Catalog metadata, DataFrame data, and more to generate highly relevant suggestions as you type.
Databricks Assistant Autocomplete is a powerful tool, but can be enhanced by providing extra context. In order to get the most relevant and useful suggestions you’ll need to think about how to convey your intent properly. You can accomplish this through some of the following best practices:
Databricks Assistant autocomplete takes context from the nearby code to make refactoring and adding to functions easier than ever.
Create sample data and generate tests without leaving your active code cell.
Automatically finish comments and summarize functions based on naming conventions and context.
The model powering Assistant Autocomplete was tuned and developed on Databricks with Mosaic AI. By leveraging Mosaic AI Training and Managed MLflow, we customized a model to achieve both speed and accuracy, specifically optimized for data science workloads.
Low latency is crucial for AI code completion as it directly impacts the user experience. Assistant Autocomplete utilizes Databricks Model Serving to serve the model close to users, ensuring a responsive and reliable experience.
All AI-assistive features adhere strictly to our AI Assistance Trust and Safety guidelines. Specifically, your data is never blended across customers and is never used to train models. For more detailed information, see DatabricksIQ Trust and Safety.
Databricks Assistant Autocomplete is available in the product today. Enable the feature on a per-user basis in developer settings as follows:
For more information on getting started, check out the documentation page. Learn other ways to use the Databricks Assistant to increase your developer productivity by checking out our blog on Tips and Tricks on using the Databricks Assistant, or learn about other Assistant features through our launch blog.