Skip to main content

AI Assistant Overview

D.Hub includes a powerful AI Assistant to help with data management and analysis tasks. Based on generative AI technology, it writes complex queries on your behalf, answers questions about data structures, and automates repetitive coding tasks.

Key Features

1. Chat Assistant

A chatbot-style assistant accessible anytime, anywhere.

  • Natural Language Q&A: Ask questions in natural language like "What are the main columns in this dataset?"
  • Resource Mentions: Use the @ symbol to reference specific datasets or pipelines in your questions.
  • Task Execution: Beyond providing information, it can perform or guide you through tasks like graph exploration.

2. AI Code Generation

Works in the code editor of pipelines and templates.

  • Code Writing: Request "Write code to calculate total sales" and it automatically generates Python or SQL code.
  • Structure Compliance: Writes code that adheres to D.Hub pipeline input/output specifications (input, output, etc.).

3. Inline AI Edit

Provides a Cursor IDE-like experience within the code editor.

  • Code Modification: Select part of written code and press Ctrl+I (or Cmd+I) to request modifications.
  • Refactoring: Delegate tasks like renaming variables, adding comments, and optimizing logic to AI.

How to Access

[Screenshot] AI Assistant chat panel

AI Assistant

  • Chat: Click the ✨ AI Assistant icon in the upper right corner of the screen to open the panel.
  • Code Generation: Click the AI button at the top of the code editor or use keyboard shortcuts.