feat(core): fashion NLQ vibe/aesthetic expansion (quiet luxury, old money, y2k…) - #81
Merged
Merged
Conversation
…ences to styles
Luxury/fashion shoppers search in vibes ("quiet luxury", "old money", "y2k", "cottagecore",
"coastal grandmother") — and samesake's enrichment already TAGS those as `styles`, but the NLQ
had no `styles` field, so vibe queries produced no structured signal and rode entirely on the
raw embedding (demonstrated: "quiet luxury" → nothing; "y2k" stranded in semantic_query).
- fashionNlqSchema gains `styles` (cultural-reference → style mapping) and the long-missing
`price_budget_hint` (the field instructions + nlqParsedToFilters already expected).
- FASHION_NLQ_INSTRUCTIONS gains a vibe-expansion rule + few-shot examples; "quiet luxury" is
disambiguated as an aesthetic, not a price signal.
- `styles` is now a soft filter — vibe-inferred styles bias ranking, never hard-exclude.
Verified live: quiet luxury → [minimalist,classic] + "understated tailored neutral premium, no
logos"; old money → [classic,preppy]; cottagecore → [romantic,bohemian]; coastal grandmother →
[minimalist,classic] + linen/cotton; y2k → [y2k]. (The earlier exact-string misses were a stale
NLQ cache, not the fix.)
Release: @samesake/core 2.1.0 → 2.5.0, CHANGELOG [2.5.0].
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UeVCwYURGVrm2TFtQmWB3s
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Maps cultural/mood references to the structured 'styles' attribute samesake already tags + expands the semantic_query into the concrete look. Closes the Algolia 'search in vibes' gap. Verified live across quiet luxury / old money / cottagecore / coastal grandmother / y2k. Also fixes the missing price_budget_hint field. @samesake/core 2.5.0.
🤖 Generated with Claude Code