Suggest a diagram type from a plain-language description #8

Closed
opened 2026-10-04 10:54:19 -07:00 by root-at-skic · 0 comments
Owner

Optional step for the New Diagram command (see the related issue): the user describes the subject in plain words, and the extension suggests a diagram type.

How: archify guide "<description>" --json returns recommendation.type, a title, a summary and confidence. Preselect that type in the type picker, and show the summary as the pick's detail.

Caveat (checked against 3.0.1): it works well for technical text ("CI/CD deployment pipeline with approval gate" → workflow). For everyday text ("approval process for leave requests") it returned confidence: low and suggested architecture. So:

  • Only preselect when confidence is not low; otherwise just show the full list.
  • Low priority. Do it after the templates.
Optional step for the **New Diagram** command (see the related issue): the user describes the subject in plain words, and the extension suggests a diagram type. **How:** `archify guide "<description>" --json` returns `recommendation.type`, a title, a summary and `confidence`. Preselect that type in the type picker, and show the summary as the pick's detail. **Caveat (checked against 3.0.1):** it works well for technical text ("CI/CD deployment pipeline with approval gate" → workflow). For everyday text ("approval process for leave requests") it returned `confidence: low` and suggested architecture. So: - Only preselect when confidence is not `low`; otherwise just show the full list. - Low priority. Do it after the templates.
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: vscode-extensions/archify-vscode-ext#8