From 3592747c5228265abc9616d3c5637a6fd7bf9798 Mon Sep 17 00:00:00 2001 From: Si Taggart Date: Thu, 26 Oct 2023 13:31:20 -0700 Subject: [PATCH] chore: minor extra sentence to prompt self serve --- tools/github/autoresponder.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/github/autoresponder.ts b/tools/github/autoresponder.ts index 113e8765fd..7e410525f4 100644 --- a/tools/github/autoresponder.ts +++ b/tools/github/autoresponder.ts @@ -136,7 +136,7 @@ let fullBody = `${commentHeader}`; // answer and similar discussions if (hasAnswerFromAi && hasSimilarDiscussions) { const similarDiscussionPrefix = - "\n\nI also did a search, and I managed to find these other Discussions that might be similar or related to your question:\n\n"; + "\n\nI also did a search, and I managed to find these other Discussions that might be similar or related to your question. Give them a read to see if they answer your question. If they do, head back here and update this discussion and mark it as answered, pointing others to the related discussion:\n\n"; fullBody = `${fullBody}${commentSeparator}${answerFromAi}${similarDiscussionPrefix}${similarDiscussions}`; } @@ -144,7 +144,7 @@ if (hasAnswerFromAi && hasSimilarDiscussions) { // No answer, but similar discussions. if (!hasAnswerFromAi && hasSimilarDiscussions) { const similarDiscussionPrefix = - "\n\nI did do a search though, and I managed to find these other Discussions that might be similar or related to your question. Be sure to check them out:\n\n"; + "\n\nI did do a search though, and I managed to find these other Discussions that might be similar or related to your question. Give them a read to see if they answer your question. If they do, head back here and update this discussion and mark it as answered, pointing others to the related discussion:\n\n"; fullBody = `${fullBody}${commentSeparator}${answerFromAi}${similarDiscussionPrefix}${similarDiscussions}`; }