Docs: interactive confidence-threshold diagram on the AI Deflection page
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 55/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- typescript
- Domaine
- documentation, frontend
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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
@NathanTarberton 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) andcomponents/docs/loop-illustration.tsxfor the visual style and how a client component is registered inmdx-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 testandpnpm buildpass.
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.
- Langage dominant
- TypeScript
- Étoiles
- 0
- Forks
- 0
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
- Fournit un Dockerfile ou un fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de DeadantCo/answerLoopsdev
-
Widget: match the chat bubble color to the rest of the widgetPeut-être pris @sethr07 l’a pris aujourd’hui. Ouverteenhancement frontend help wanted
Difficulté 2/5 Une demi-journée Accessibilité débutants 75/100
DeadantCo/answerLoopsdev#68 · 3 commentaires ·
-
Widget: make the chat window fit on small phonesPeut-être pris @sethr07 l’a pris aujourd’hui. Ouverteenhancement frontend good first issue help wanted
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
DeadantCo/answerLoopsdev#67 · 9 commentaires ·
-
Add 'select all' option to Slack channel picker in SettingsPeut-être pris @sethr07 l’a pris aujourd’hui. Ouvertefrontend good first issue
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
DeadantCo/answerLoopsdev#22 · 5 commentaires ·
-
enhancement frontend help wanted
Difficulté 4/5 3-5 jours Accessibilité débutants 45/100
DeadantCo/answerLoopsdev#141 ·
-
backend enhancement frontend help wanted
Difficulté 4/5 3-5 jours Accessibilité débutants 45/100
DeadantCo/answerLoopsdev#140 ·
Toutes les issues de DeadantCo/answerLoopsdev
Issues similaires
-
chore
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
drydocs/meridian#1503 · 1 commentaire ·
Les mainteneurs répondent en général sous 2 jours
-
refactor review: high
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
1lck/Lithe-IDEA#2376 ·
Les mainteneurs répondent en général sous 1 jour
-
bug extension mcp
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
primer/primitives#1426 ·
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
danielmiessler/LifeOS#2941 ·
Les mainteneurs répondent en général sous 4 jours