Let each business choose how the assistant answers questions its knowledge base doesn't cover
Maintainer thường phản hồi trong vòng 1 ngày
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
- 35/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ệ
- nextjs, typescript
Hướng nghiên cứu
Start by locating the chat widget settings, the uncovered-question response flow, and the Knowledge coverage tab mentioned in the issue; inspect their existing tests and the related work in #330, #334, and #329. Trace how business settings and knowledge-base contact options are stored and used. Done means both selectable behaviors, the default, the listed edge cases, coverage-tab status, tests, and documentation are in place.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The problem today
When a customer asks something that none of the business's knowledge-base articles cover, the assistant currently answers from general knowledge. That keeps the chat from feeling like a dead end, but the answer can be wrong, and the business never agreed to that. In testing, the assistant confidently described steps for a feature that the business's articles never mentioned.
The opposite fix, always saying "I don't know," isn't great either: a flat non-answer frustrates customers. Different businesses will want different trade-offs, and a business is better placed to decide than we are.
What we're building
A setting for each business, in the chat widget settings, with two choices for questions your knowledge base doesn't cover:
- Answer from general knowledge (this stays the default, so nothing changes for anyone who doesn't touch it). Good for broad, low-risk topics.
- Say it doesn't know and offer ways to get help. The assistant tells the customer honestly that it doesn't have that information, and shows the contact options from the business's knowledge base (email, phone, support page) so the customer has a next step instead of a dead end.
The setting should explain the choice in plain words and show an example of each.
How it shows up elsewhere
The Knowledge coverage tab (already shipped in #337) should be updated as part of this issue to say which of the two is currently active, so an owner who sees "not covered" in the question tester knows what a customer would actually get.
Edge cases to decide
- A question that partly matches an article. We should keep using the article, as today.
- A greeting or thanks ("hi", "thank you") should always get a friendly reply, not "I don't know."
- If the business has no contact details in its articles, the "say it doesn't know" mode should still end with a polite suggestion to contact the business directly.
Done when
- Each business can pick either behavior, and the choice is remembered
- The default behaves exactly as today
- In "say it doesn't know" mode, an uncovered question gets an honest reply plus contact options when the knowledge base has them
- Greetings and thanks are never refused
- The coverage tab shows the active mode
- Tests cover both modes, the default, and the edge cases above; the docs explain the setting
Related
- #337 (the coverage tab, merged) and the contact card from #329 (merged). Nothing else blocks this issue, and it can be picked up on its own. Tracked in #333.
- Ngôn ngữ chính
- TypeScript
- Star
- 16
- Fork
- 2
- Merge trung bình
- 8 giờ 56 phút
- Pull request đã merge (30 ngày)
- 126
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 answerLoops/answerLoops
-
Widget: match the chat bubble color to the rest of the widgetCó thể đã có người làm @uchiha-suraj đã nhận 11 ngày trước. Đang mởenhancement frontend help wanted
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 84/100
answerLoops/answerLoops#345 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Widget: make the chat window fit on small phonesCó thể đã có người làm @anushreemehta6 đã nhận 12 ngày trước. Đ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 82/100
answerLoops/answerLoops#344 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
answerLoops/answerLoops#17 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Make every dashboard stat card link to the page behind its numberCó thể đã có người làm @delusional-whispers đã nhận 2 ngày trước. Đang mởenhancement frontend good first issue help wanted
answerLoops/answerLoops#404 · 4 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của answerLoops/answerLoops
Issue tương tự
-
frontend
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
ranxianglei/billion-context#4172 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
awslabs/threat-composer#362 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Area/Cloud Needs Triage Type/Bug
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 86/100
wso2/product-integrator#2847 ·
Maintainer thường phản hồi trong vòng 1 ngày