Source support: recurring questions with no supporting article

Đang mở
#107 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
8/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
analytics, full-stack

Hướng nghiên cứu

This is blocked on design: the grouping and storage approach must be recorded in #433 before any build work, and it depends on #443 and a go on #446. Read the existing clustering in lib/ai/gap-clusters.ts (from #388) to see whether it can be reused, and check the answer-level summary from #442. Done means the acceptance criteria are met: the four answer states reconcile to the completed total, question text is opt-in and expires, and pnpm test and pnpm build pass.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

backend enhancement frontend help wanted

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

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

Part of #437. Depends on #443 and a "go" on #446. The grouping method is a design decision recorded in #433 before any build work starts.

Problem

The article-centric buckets in #447 tell a writer which supplied articles rarely support answers. Feedback from a knowledge-base writer says the more actionable signal is the other direction: which questions keep coming back with no supporting article at all, because that shows what is missing from the knowledge base entirely. An article with weak support might just be redundant or off-topic. A question nothing supports is a gap.

Scope

  • Answer-level state. Uses the answer-level summary defined in #442; no new state logic here.
  • Recurring unsupported questions. A view for owners and admins listing question topics that repeatedly ended with no supporting article in the chosen time range and surface filter, with a count and the explicit denominator (completed assessments). Never an extrapolation from a sample, and never presented as proof the knowledge base is wrong.
  • Grouping without stored conversations. Choose in #433 how recurring questions are grouped while respecting principle 6 (no stored conversations). Candidates: a short, bounded question excerpt kept under the same opt-in and retention as evidence excerpts, or an embedding-only cluster id with a representative excerpt. Default to the option that stores less.
  • Privacy. Widget visitors are anonymous customers of the deploying business. Any question excerpt lives in its own opt-in table (columns decided in #433), not on the answer references from #430. Any stored question text is opt-in per workspace, about one sentence at most, covered by the same retention and access rules (owners and admins only), deleted on workspace removal, and documented where the setting is enabled.
  • Next step for a writer. Each group links to the recent answers in it so a writer can decide what to add. Nothing is created, unpublished or penalized automatically.

Related: #387 is closed; its clustering of Knowledge Gaps shipped in #388 (lib/ai/gap-clusters.ts). Reuse that grouping logic where it fits; this view covers answered-but-unsupported questions that never reached the review queue. Consider whether it is a filter on Knowledge Gaps rather than a new page.

Not in this issue

Auto-drafting articles from unsupported questions, ranking or retrieval changes, and per-article scoring (#447).

Acceptance criteria

  • The grouping and storage approach is recorded in #433 before work starts, with retention and access stated.
  • Answer-level states reconcile: the four states sum to the completed-answer total, and failed, pending, disabled and over-budget answers appear under not assessed.
  • Copy never says an article was "ignored" or "unused", and never claims a question is unanswerable.
  • Question text is stored only when the workspace has opted in, is bounded, and expires with the evidence retention window.
  • Keyboard, touch and 375px layout checks for the view.
  • Component and query tests (workspace scoping, opt-in off stores nothing, expiry); content/docs/product/knowledge-base.mdx documents the view and its limits.
  • 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.

Ngôn ngữ chính
TypeScript
Star
0
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của DeadantCo/answerLoopsdev

Tất cả issue của DeadantCo/answerLoopsdev

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.