Chat Assistant
The Chat Assistant is an AI side panel chat accessible from anywhere in D.Hub. It automatically recognizes the context of the current page and allows you to reference datasets/collections/codes/pipelines with @mentions in your questions.
The Chat Assistant provides AI conversations about the platform in general, while Knowledge Chat provides RAG-based conversations grounded in documents collected in a specific Knowledge. The two features use different backend services.
| Category | Chat Assistant | Knowledge Chat |
|---|---|---|
| Access Location | All pages (side panel) | Knowledge Detail > Chat tab |
| Backend | dhub2-chatway | dhub2-knowledge |
| Data Source | Platform metadata (schemas, relationships, etc.) | Collected document chunks (RAG) |
| @Mentions | Dataset, Collection, Code, Pipeline | Not supported (use source filters) |
| Visualization | Charts, maps, graph nodes | Citations |
Opening the Side Panel
The Chat Assistant is accessible from every page in D.Hub.
- Click the AI icon on the right side of the screen to open or close the side panel
- Panel width is automatically adjusted by the layout
- The panel is displayed alongside the current work screen without interrupting your workflow
Context Awareness
The Chat Assistant automatically detects the page you're currently viewing and provides conversations related to that topic.
| Page | Context | Suggested Question Example |
|---|---|---|
| Home | Overall system overview | "Summarize the current system status" |
| Ontology | Entities, relationships, graphs | "Explain the main entity relationships in this ontology" |
| Collection | Datasets, access control | "Analyze the dataset schemas in this collection" |
| Pipeline | Workflows, transformations, scheduling | "Explain the data flow of this pipeline" |
| Other | General Data Hub features | "Tell me what I can do with D.Hub" |
When the panel opens, suggested questions tailored to the current context are automatically displayed. Click a suggested question to start a conversation immediately.
Click the Generate AI Suggestions button to have AI generate customized questions based on the current page context.
Referencing Resources with @Mentions
When typing @ in the conversation input, a mention popup appears to search and select platform resources.
Referenceable Resource Types
| Type | Icon | Description |
|---|---|---|
| Collection | Folder | Collection metadata (name, alias, tags, description) |
| Dataset | Database | Dataset metadata and schema information |
| Code | Code | Code artifacts (name, language, group) |
| Pipeline | Network | Pipeline metadata (name, alias, group) |
How to Use
- Type
@in the input field to open the mention popup - Type the resource name to search
- Click the desired resource or press
Enterto select - You can reference multiple resources simultaneously (toggle with Space, confirm with Enter)
Alternatively, click the + button to the left of the input field to open a resource selection popover. This method is convenient for browsing the full list grouped by type.
Selected resources are displayed as tags above the input field, and individual tags can be removed with the X button.
When you @mention a dataset, the AI automatically references that dataset's schema to provide more accurate answers. Example: "@sales_data Write a SQL query to aggregate monthly revenue from this dataset"
Visualization Rendering
The Chat Assistant automatically renders visualizations included in AI responses.
Supported Visualization Types
| Type | Description |
|---|---|
| Bar Chart | Value comparison by category (vertical bar chart) |
| Line Chart | Time series trends (including area graphs) |
| Pie Chart | Composition ratios (pie/donut chart) |
| Map View | Map visualization of location data (latitude/longitude markers) |
| Graph Node | Node reference highlighting in the ontology graph explorer |
On the ontology page, entities/nodes mentioned by AI during conversations are automatically detected and displayed as a Node Reference Panel below the response. Clicking a node focuses it in the Graph Explorer. This feature only works when the Graph Explorer is open.
Conversation Management
- Response time is displayed for each conversation to monitor AI performance
- A stop button allows you to cancel responses being generated
- Conversation history is maintained while the panel is open
Thinking Indicator
While AI is generating a response, a 4-stage progress status is displayed:
- Thinking
- Searching Database
- Processing Results
- Generating Response
Next Steps
- AI Code Generation and Inline Editing - AI features in the pipeline code editor
- Knowledge AI Chat - RAG-based document query AI chat