Docs: interactive confidence-threshold diagram on the AI Deflection page

Aperta
#120 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript

Direzione di ricerca

Start with lib/ai/agent.ts to see how the confidence threshold and the Automatic Deflections toggle decide whether an answer is posted, held as a draft, or escalated, then read content/docs/product/ai-deflection.mdx for the wording to match. Use components/docs/integration-flow.tsx as the pattern for a selectable-step client component, and register the new one in mdx-components.tsx. Done when the slider and toggle are keyboard-operable with text alternatives, every threshold and toggle combination shows the outcome the page describes, a component test covers one answer per outcome, and pnpm test and pnpm build pass.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

documentation enhancement frontend help wanted

Copied from DeadantCo/answerLoops#110 · originally opened by sethr07 on 2026-11-20

Copied from https://github.com/answerLoops/answerLoops/issues/481 — originally opened by @NathanTarbert on 2026-10-26

Problem

The AI Deflection page explains a pipeline in words: a question comes in, the knowledge base is searched, one agent drafts an answer, a second agent reviews it and gives a confidence score, and the score is compared with your threshold to decide whether to post, hold for review or escalate. It is the idea people most need to understand before they trust the product, and it is only text and a static table.

Where

  • content/docs/product/ai-deflection.mdx
  • Look at components/docs/integration-flow.tsx (an interactive diagram with selectable steps) and components/docs/loop-illustration.tsx for the visual style and how a client component is registered in mdx-components.tsx.

Suggested approach

Build a small interactive component for the page. The reader moves a confidence threshold slider and toggles Automatic Deflections, and sees where a sample answer would end up (posted automatically, held as a draft for review, or escalated to a person) with each step lit up along the way. Use made-up sample questions and scores only.

It has to be true of the product: read the AI Deflection page and lib/ai/agent.ts for how the threshold and the toggle decide the outcome (with the toggle off nothing is posted to the channel), and keep every label consistent with the page.

Acceptance criteria

  • The diagram is keyboard-operable (the slider and the toggle) and has text alternatives for screen readers.
  • The outcomes shown match the page's own description for every combination of threshold and toggle.
  • It works at 375px without horizontal scrolling and respects reduced-motion settings.
  • A component test covers the outcome for at least one answer per result.
  • pnpm test and pnpm build pass.

Start here: new to the project? Read CONTRIBUTING.md first. It covers the ground rules, running answerLoops locally, and how to open a pull request.

Lingua principale
TypeScript
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DeadantCo/answerLoopsdev

Tutte le issue di DeadantCo/answerLoopsdev

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.