Skip to content

Commit

Permalink
chore: minor extra sentence to prompt self serve
Browse files Browse the repository at this point in the history
  • Loading branch information
SiTaggart committed Oct 26, 2023
1 parent f2c76ad commit 3592747
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/github/autoresponder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,15 +136,15 @@ 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}`;
}

// 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}`;
}
Expand Down

0 comments on commit 3592747

Please sign in to comment.