[Hackathon] feat: add AI Workflow Copilot wizard for guided workflow generation#5095
Open
kz930 wants to merge 2 commits into
Open
[Hackathon] feat: add AI Workflow Copilot wizard for guided workflow generation#5095kz930 wants to merge 2 commits into
kz930 wants to merge 2 commits into
Conversation
Signed-off-by: Kary Zheng <150742834+kz930@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds an in-workspace AI Workflow Copilot that helps biomedical researchers
generate Texera workflows through a guided 4-step wizard backed by Claude. The
copilot is embedded directly in the Angular workspace (no separate app) and
follows a strict review-before-apply flow: workflows are generated to a
review panel where the user inspects each operator's properties and
whyexplanation before clicking Apply to land them on the canvas.
What's in this PR
ai-wizard-panel.component):data-profiler.serviceparses the chosen CSVwith PapaParse and injects real column names, dtypes, null rates, unique
counts, and sample values into the prompt so the LLM doesn't hallucinate
columns.
workflow-validator.serviceworkflow-generator.service) — validates JSON structure, operator typeexistence against Texera's live operator catalog (no hand-maintained
list), required-property coverage from each operator's
jsonSchema,source/target port matching on links, and duplicate-ID detection. On
validation failure, the errors are fed back into the next LLM call for
self-repair; up to 3 attempts total.
(not directly to the canvas). Each operator shows a per-operator
whyexplanation, current properties, and missing-required highlighting.
Users can edit values inline (JSON for nested fields) before clicking
Apply to commit the workflow to the canvas.
Demo Video
Watch the demo on YouTube
Test plan
yarn buildfromfrontend/completes without errorsresolves a valid
/<owner>/<dataset>/v<n>/<file>.csvbackend pathwhyexplanation and any missing-requiredfields are highlighted
with the edited value