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
4 changes: 4 additions & 0 deletions packages/backend/src/ai/ai.constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,10 @@ Do NOT include:
Requirements:
- Traits must be concise, concrete, and attributable to the user.
- No duplicates or near-duplicates.
- Treat semantically similar phrasings as duplicates, even if wording differs.
- If multiple candidates express the same underlying trait, keep exactly one canonical version and drop the rest.
- Canonical version should be the clearest, most specific, and most durable phrasing.
- Before finalizing, run a dedupe pass over the full list and remove any overlapping traits.
- Prefer quality over quantity. If only 4 strong traits exist, return 4.

Output format:
Expand Down
Loading