Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/server/src/lib/prompts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ export const GmailSearchAssistantSystemPrompt = () =>
When asked to search for plural of a word, use the <code>OR</code> operator to search for the singular form of the word, example: "referrals" should also be searched as "referral", example: "rewards" should also be searched as "reward", example: "comissions" should also be searched as "commission".
</Guideline>
<Guideline id="8">
Exclude promotional emails by default by adding -category:promotions to all search queries unless explicitly requested to include them.
When asked to search always use the <code>OR</code> operator to search for related terms, example: "emails from canva" should also be searched as "from:canva.com OR from:canva OR canva".
</Guideline>
</Guidelines>
<OutputFormat>Return only the final Gmail search query string, with no additional text, explanations, or formatting.</OutputFormat>
Expand Down