Skip to content

Commit

Permalink
Refactored prompts.relatedQueries.mods to always be array ↞ [auto-s…
Browse files Browse the repository at this point in the history
  • Loading branch information
kudo-sync-bot committed Jan 16, 2025
1 parent b79b1da commit c7bea72
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions chatgpt/bravegpt/bravegpt.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
// @description:zu Yengeza izimpendulo ze-AI ku-Brave Search (inikwa amandla yi-GPT-4o!)
// @author KudoAI
// @namespace https://kudoai.com
// @version 2025.1.15.15
// @version 2025.1.15.16
// @license MIT
// @icon https://assets.bravegpt.com/images/icons/bravegpt/icon48.png?v=df624b0
// @icon64 https://assets.bravegpt.com/images/icons/bravegpt/icon64.png?v=df624b0
Expand Down Expand Up @@ -2879,9 +2879,10 @@
},

get mods() {
return get.related.replyIsQuestion ?
'Generate answers as if in reply to a search engine chatbot asking the question'
: [{ type: 'variety', mods: [
return [
get.related.replyIsQuestion ?
'Generate answers as if in reply to a search engine chatbot asking the question'
: { type: 'variety', mods: [
'Make sure to suggest a variety that can even greatly deviate from the original topic',
'For example, if the original query asked about someone\'s wife, '
+ 'a good related query could involve a different relative and using their name',
Expand All @@ -2891,7 +2892,8 @@
+ 'good related queries could ask why/when/where instead, even replace JS w/ other langs',
'But the key is variety. Do not be repetitive. '
+ 'You must entice user to want to ask one of your related queries'
]}]
]}
]
}
}
}
Expand Down

0 comments on commit c7bea72

Please sign in to comment.