• Vũ Hoàng Anh's avatar
    feat: move master_color to SQL filter + strengthen relevance rules · 6e66cea0
    Vũ Hoàng Anh authored
    - Add master_color as explicit SQL FILTER field in SearchItem (was in description)
    - Add LIKE filter in _get_metadata_clauses for master_color + product_color_name
    - Add MAX_BY(master_color) to final SELECT aggregation
    - Fix color fallback in format_product_results (parse from description_text_full)
    - Strengthen Rule 3a: specific design/pattern matching (con lợn, Disney, etc.)
    - Add thảo mai exception: truthfulness > flattery when no products match
    - Update tool prompt examples to use master_color as separate field
    6e66cea0
Name
Last commit
Last update
..
nodes Loading commit data...
tool_prompts Loading commit data...
tools Loading commit data...
__init__.py Loading commit data...
controller.py Loading commit data...
controller_helpers.py Loading commit data...
graph.py Loading commit data...
helper.py Loading commit data...
mock_controller.py Loading commit data...
mock_graph.py Loading commit data...
models.py Loading commit data...
prompt.py Loading commit data...
prompt_utils.py Loading commit data...
streaming_callback.py Loading commit data...
structured_models.py Loading commit data...
system_prompt.txt Loading commit data...