[ZEPPELIN-6733] Add AI assistant chat to notebooks (server-side) #5547
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.42) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 238 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.328
Shallow Review Depth
shallow_review_depth
0.289
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #5547"
general
weight: 0.35
tbonelee
What is this PR for?
This PR adds the server-side implementation of an AI assistant for notebooks.
Motivation
AI can help with coding and data analysis, but using it with Zeppelin requires users to move code and results between the notebook and a separate chat. A built-in assistant can reduce this effort. It can also make notebook operations and other tasks easier through tools.
Decisions
Model adaptor
Data structure
File path
$ZEPPELIN_HOME/assistant/<noteId>/<conversationId>.jsonPermissions
See the proposal for more details.
Direction
zeppelin.notebook.assistant.enable. Enabling it by default is planned once the feature is stable.list_paragraphs, just returns paragraph metadata. More tools are needed to make the assistant more capable. Contributions are welcome.What type of PR is it?
Feature
What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-6733
How should this be tested?
Questions:
Does the license files need to update? Y
Is there breaking changes for older versions? N
Does this needs documentation? Y