Let each business choose how the assistant answers questions its knowledge base doesn't cover
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 35/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- nextjs, typescript
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- TypeScript
- Étoiles
- 16
- Forks
- 2
- Merge moyen
- 7 h 22 min
- PR mergées (30 j)
- 150
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 answerLoops/answerLoops
-
Widget: match the chat bubble color to the rest of the widgetPeut-être pris @uchiha-suraj l’a pris il y a 9 jours. Ouverteenhancement help wanted
Difficulté 1/5 1-3 heures Accessibilité débutants 84/100
answerLoops/answerLoops#345 · 2 commentaires · 1 personne assignée ·
Les mainteneurs répondent en général sous 1 jour
-
Widget: make the chat window fit on small phonesPeut-être pris @anushreemehta6 l’a pris il y a 9 jours. Ouverteenhancement good first issue help wanted
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
answerLoops/answerLoops#344 · 2 commentaires · 1 personne assignée ·
Les mainteneurs répondent en général sous 1 jour
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 85/100
answerLoops/answerLoops#17 ·
Les mainteneurs répondent en général sous 1 jour
-
documentation good first issue help wanted
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
Les mainteneurs répondent en général sous 1 jour
-
Rank knowledge gaps and articles by frequency for reviewer follow-upPeut-être pris @NathanTarbert l’a pris il y a 3 jours. Ouverte
answerLoops/answerLoops#387 · 1 personne assignée ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de answerLoops/answerLoops
Issues similaires
-
"Contains" page watch never matches when its text has a trailing spacePeut-être pris @RaphaelFakhri l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 77/100
CopilotKit/openmuse#184 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
Les mainteneurs répondent en général sous 1 jour
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 67/100
bootstrap-vue-next/bootstrap-vue-next#3357 ·
Les mainteneurs répondent en général sous 1 jour
-
[quality] tide.ts: six mutation survivors in the merge-queue gate, draft refusal, fork-403 workflow-file diagnosis and getPull's fork flag are unpinned by any testPeut-être pris @hivecommons-hive l’a pris aujourd’hui. Ouverteagent/quality needs-kind stage/040-covered-by-pr testing
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
cncf/prow-github-actions#517 · 1 commentaire ·
Les mainteneurs répondent en général sous 2 jours
-
Unsampled pageload span is profiled when profileLifecycle is 'trace' (browser UI profiling)Peut-être pris @Jxxunnn l’a pris aujourd’hui. OuverteBrowser Waiting for: Product Owner
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
getsentry/sentry-javascript#25497 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour