Let each business choose how the assistant answers questions its knowledge base doesn't cover
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 32/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- typescript
- Domaine
- ai, full-stack
Piste de recherche
Start with CONTRIBUTING.md for setup and the pull request process, then find the knowledge-base answer path and the Knowledge coverage tab shipped in #337 and the contact card from #329. The issue asks for a per-business setting with two modes, a default that matches today's behavior, and tests for both modes plus the greeting and no-contact-details edge cases. Done means the choice persists, the coverage tab shows the active mode, and the tests and docs cover the setting. First settle which widget settings surface to use, as the issue notes.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Copied from DeadantCo/answerLoops#54 · originally opened by sethr07 on 2026-11-20
Copied from https://github.com/answerLoops/answerLoops/issues/335 — originally opened by
@NathanTarberton 2026-10-08
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.
These three react to "no useful knowledge-base match" or a failing answer; settle one widget behavior settings surface before building. See #11 and #343.
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.
- Langage dominant
- TypeScript
- Étoiles
- 0
- Forks
- 0
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
- Fournit un Dockerfile ou un fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de DeadantCo/answerLoopsdev
-
Widget: match the chat bubble color to the rest of the widgetPeut-être pris @sethr07 l’a pris aujourd’hui. Ouverteenhancement frontend help wanted
Difficulté 2/5 Une demi-journée Accessibilité débutants 75/100
DeadantCo/answerLoopsdev#68 · 3 commentaires ·
-
Widget: make the chat window fit on small phonesPeut-être pris @sethr07 l’a pris aujourd’hui. Ouverteenhancement frontend good first issue help wanted
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
DeadantCo/answerLoopsdev#67 · 9 commentaires ·
-
Add 'select all' option to Slack channel picker in SettingsPeut-être pris @sethr07 l’a pris aujourd’hui. Ouvertefrontend good first issue
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
DeadantCo/answerLoopsdev#22 · 5 commentaires ·
-
enhancement frontend help wanted
Difficulté 4/5 3-5 jours Accessibilité débutants 45/100
DeadantCo/answerLoopsdev#141 ·
-
backend enhancement frontend help wanted
Difficulté 4/5 3-5 jours Accessibilité débutants 45/100
DeadantCo/answerLoopsdev#140 ·
Toutes les issues de DeadantCo/answerLoopsdev
Issues similaires
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulté 1/5 Moins d'une heure Accessibilité débutants 92/100
lingdojo/kana-dojo#34545 · 1 commentaire · 5 réactions ·
Les mainteneurs répondent en général sous 1 jour
-
Blocklist addition requestOuverteblocklist addition
Difficulté 1/5 Moins d'une heure Accessibilité débutants 82/100
MetaMask/eth-phishing-detect#315455 ·
Les mainteneurs répondent en général sous 1 jour
-
area: telegram bug
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
griffinwork40/agent-afk#5275 ·
Les mainteneurs répondent en général sous 1 jour
-
macOS: the Save Diagnostics panel goes behind the editor after an app switch and can't be reachedOuvertebug
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
getopenscreen/openscreen#1667 ·
Les mainteneurs répondent en général sous 1 jour
-
documentation
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
erkamyaman/rust-anything#371 ·
Les mainteneurs répondent en général sous 1 jour