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

Abierto
#120 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
55/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
typescript

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
TypeScript
Estrellas
0
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de DeadantCo/answerLoopsdev

Todos los issues de DeadantCo/answerLoopsdev

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.