Tracking: trace answers to the knowledge-base articles supplied to them
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
- 12/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- sql, typescript
Hướng nghiên cứu
This is a tracking issue for a multi-issue series, so start from a child issue, not this one; #429 is the first to pick up. Read countArticleUsage and the kb_article_usage table to see how supplied-context counts are written today, and content/docs/product/knowledge-base.mdx, which every child issue must update. Done means the child issue's acceptance points and regression tests pass, with the existing count labeled "Supplied as context".
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Copied from DeadantCo/answerLoops#78 · originally opened by sethr07 on 2026-11-20
Copied from https://github.com/answerLoops/answerLoops/issues/422 — originally opened by
@NathanTarberton 2026-10-21
Tracking issue. The work is split into the issues below, in the order they should land.
Problem
Teams need to trace a generated answer to the knowledge-base articles supplied to it, and tell context exposure apart from evidence that an article contributed to the answer.
countArticleUsage receives article ids from the supplied context without looking at the answer, and adds one to a per-article, per-day count in kb_article_usage. If A, B and C are supplied but the reply reflects only A, all three get a count. The metric describes context exposure, not contribution, quality or delivery. It also is not displayed anywhere in the dashboard today (a pull request, #441, is in progress to show it for #429), and there is no answer-to-article history.
How the series fits together
- Answer sources (#429 to #432) are facts only: what was supplied to each answer, in what rank, and at which revision. No judgment about the answer.
- The separate source-support series is tracked in #437 and builds on these records.
- Article freshness is tracked separately in #453.
- Article history is tracked in #423.
Plan
- Show the existing count in the dashboard, labeled "Supplied as context": #429
- Answer-references storage, with written retention and access decisions: #430
- Record references from the widget, Discord, Agent API and ticket paths: #431
- Inspect an answer's sources and an article's recent answers: #432
The storage issue reuses the content-hash revision helper added in the article event log issue under #423, so land that first.
Principles every issue follows
- Historical counts keep their meaning: "supplied as context".
- Searches and simulations stay separate from production usage.
- Retries and repeated completion callbacks never double-count an answer, and duplicate passages count once per article per answer.
- Editing, re-syncing or deleting an article never silently rewrites what an existing trace represents.
- No question text, answer text or visitor identity is stored with references.
- Unassessed means unassessed, never "unused". Contribution claims always show their method and evidence, and ambiguous results stay inconclusive.
- Each issue updates
content/docs/product/knowledge-base.mdxand adds regression tests.
Related: #423 covers who added and verified an article. Freshness policy, such as product-version stamps and downweighting outdated articles, is a separate design: an old article may be correct, and a frequently supplied one may be outdated.
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
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của DeadantCo/answerLoopsdev
-
Widget: match the chat bubble color to the rest of the widgetCó thể đã có người làm @sethr07 đã nhận hôm nay. Đang mởenhancement frontend help wanted
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 75/100
DeadantCo/answerLoopsdev#68 · 3 bình luận ·
-
Widget: make the chat window fit on small phonesCó thể đã có người làm @sethr07 đã nhận hôm nay. Đang mởenhancement frontend good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
DeadantCo/answerLoopsdev#67 · 9 bình luận ·
-
Add 'select all' option to Slack channel picker in SettingsCó thể đã có người làm @sethr07 đã nhận hôm nay. Đang mởfrontend good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
DeadantCo/answerLoopsdev#22 · 5 bình luận ·
-
enhancement frontend help wanted
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
DeadantCo/answerLoopsdev#141 ·
-
backend enhancement frontend help wanted
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
DeadantCo/answerLoopsdev#140 ·
Tất cả issue của DeadantCo/answerLoopsdev
Issue tương tự
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
lingdojo/kana-dojo#34545 · 1 bình luận · 5 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Blocklist addition requestĐang mởblocklist addition
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
MetaMask/eth-phishing-detect#315455 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: telegram bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
griffinwork40/agent-afk#5275 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
macOS: the Save Diagnostics panel goes behind the editor after an app switch and can't be reachedĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
getopenscreen/openscreen#1667 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
erkamyaman/rust-anything#371 ·
Maintainer thường phản hồi trong vòng 1 ngày