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

オープン
#120 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
TypeScript
スター
0
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

DeadantCo/answerLoopsdev のほかの issue

DeadantCo/answerLoopsdev の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。