This commit is contained in:
team 1
2026-05-07 19:04:04 +02:00
parent 98577d4d25
commit 61f6841a5a
7 changed files with 419 additions and 214 deletions

View File

@@ -186,6 +186,16 @@ parameters:
# removed after LLM query optimization. Keep this list simple and local.
terms: []
positive_token_filter:
enabled: false
min_query_tokens_after_filter: 2
include_current_input_preservation_terms: true
include_semantic_shop_search_tokens: true
include_product_role_terms: true
allowed_terms: []
blocked_terms: []
code_patterns: []
attribute_cleanup:
enabled: true
@@ -213,8 +223,6 @@ parameters:
template: ''
vocabulary_views:
trigger_terms: agent.shop_runtime.context_resolution.history_anchor_enrichment.trigger_terms
query_terms: []
query_noise_terms: []
anchor_patterns: []
meta_query_guard:
enabled: true
@@ -368,6 +376,10 @@ parameters:
separator: ' | '
unavailable_reason_template: '{message} Ursache: {reason}'
product_roles:
vocabulary_views:
main_device_request_keywords: agent.no_llm_fallback.product_roles.main_device_request_keywords
accessory_product_keywords: agent.no_llm_fallback.product_roles.accessory_product_keywords
production_ui:

View File

@@ -14,8 +14,6 @@
# the value surface stays native and maintenance-focused.
# p59F adds machine-readable review-group metadata so the remaining
# compatibility paths can be removed or kept deliberately by category.
# p59G rewires the no-LLM product-role fallback directly to genre values
# and removes its obsolete legacy compatibility view declarations.
parameters:
retriex.genre.config:
id: water_analysis
@@ -32,6 +30,15 @@ parameters:
- configuration_values.product_roles.shop_views
- configuration_values.product_roles.prompt_views
- configuration_values.product_roles.no_llm_fallback_terms
review_path_groups:
frozen_compatibility_views:
description: Legacy no-LLM product-role vocabulary views. Keep frozen until the fallback reads only from genre.configuration_values.product_roles.
classification: legacy_compatibility_view
source_state: legacy_frozen_non_empty
cleanup_action: rewire_to_genre_value_and_remove_legacy_view
paths:
- agent.no_llm_fallback.product_roles.vocabulary_views.main_device_request_keywords
- agent.no_llm_fallback.product_roles.vocabulary_views.accessory_product_keywords
product_attributes:
description: Genre-specific attributes and constraints, for example measurement values now or size/color/material later.
value_paths:
@@ -130,6 +137,7 @@ parameters:
value_paths:
- configuration_values.shop_query_runtime.current_input_preservation_terms
- configuration_values.shop_query_runtime.stopword_cleanup
- configuration_values.shop_query_runtime.positive_token_filter
- configuration_values.shop_query_runtime.compound_prefix_match
- configuration_values.shop_query_runtime.primary_identity_repair
- configuration_values.shop_query_runtime.semantic_shop_search_tokens
@@ -1082,28 +1090,6 @@ parameters:
- zubehör
- zubehor
- accessory
# Terms that should be sent to Shopware for referential accessory or
# consumable follow-ups. Broader RAG markers can remain in
# trigger_terms without becoming dominant shop query tokens.
query_terms:
- indikator
- indicator
- reagenz
- reagent
- zubehör
- zubehor
- accessory
# Terms that are useful for interpreting RAG/history phrasing but are
# too meta or type-oriented for the plain Shopware text query.
query_noise_terms:
- indikatortyp
- indicator type
- typ
- type
- beim
- gemessen
- ablesbar
- messen
anchor_patterns:
- /\b(?:indikator(?:typ)?|indicator(?:\s+type)?|reagenz(?:satz|typ)?|reagent(?:\s+set|\s+type)?|typ|type)\s+[A-Za-zÄÖÜäöüß]{0,8}\s*\d{1,5}(?:\s*[A-ZÄÖÜ]{1,4})?(?:\s*%)?\b/iu
template: '{anchor} {query}'
@@ -1209,6 +1195,67 @@ parameters:
- auflistung
- meter
- metern
positive_token_filter:
origin: genre_native
enabled: true
min_query_tokens_after_filter: 2
include_current_input_preservation_terms: true
include_semantic_shop_search_tokens: true
include_product_role_terms: true
# Keep this as the small positive allow-list for genre-specific
# product families, applications and shop-searchable measurement terms
# that are not already covered by the role/semantic vocabularies above.
allowed_terms:
- testomat
- testomaten
- pockettester
- pocket tester
- wasserhärte
- wasserhaerte
- resthärte
- resthaerte
- gesamthärte
- gesamthaerte
- chlor
- freies chlor
- gesamtchlor
- redox
- orp
- ph
- rx
- th
- tc
- tp
- tm
# These terms may be useful for RAG/reference resolution, but they are
# poor plain Shopware search terms and must not dominate the final
# shop query.
blocked_terms:
- indikatortyp
- typ
- type
- für
- fuer
- mit
- bei
- beim
- gemessen
- messen
- messung
- wert
- wurde
- welcher
- welchem
- welche
- dazu
- passend
- passende
- passendes
code_patterns:
- '/^\d+(?:[,.]\d+)?$/u'
- '/^\d+(?:[,.]\d+)?(?:m|mm|cm|ml|l)$/iu'
- '/^[a-z]{1,4}\d{1,5}[a-z0-9-]*$/iu'
- '/^\d{1,5}[a-z0-9-]*$/iu'
compound_prefix_match:
origin: genre_native
terms: