harden retrieve logic part 4

This commit is contained in:
team 1
2026-04-18 11:46:42 +02:00
parent c890932248
commit a2425b68a6
3 changed files with 16 additions and 7 deletions

View File

@@ -7,10 +7,17 @@ class CommerceIntentConfig
public function getStrongSignalsList(): array public function getStrongSignalsList(): array
{ {
return [ return [
'suche', 'shop',
'habt', 'alle',
'gibt', 'preis',
'zeig', 'kunde',
'online',
'produkt',
'sku',
'Artikel',
'kaufen'
/* 'zeig',
'welche', 'welche',
'vergleich', 'vergleich',
'alternativ', 'alternativ',
@@ -26,7 +33,7 @@ class CommerceIntentConfig
'Seminar', 'Seminar',
'Schulung', 'Schulung',
'Sensor', 'Sensor',
'liste' 'liste'*/
]; ];
} }

View File

@@ -12,7 +12,7 @@ final class NdjsonHybridRetrieverConfig
* Chosen to stay selective enough for product-family-heavy data * Chosen to stay selective enough for product-family-heavy data
* while not cutting off too many useful fallback hits. * while not cutting off too many useful fallback hits.
*/ */
public const VECTOR_SCORE_THRESHOLD = 0.82; public const VECTOR_SCORE_THRESHOLD = 0.83;
/** /**
* Absolute safety caps. * Absolute safety caps.
@@ -27,7 +27,7 @@ final class NdjsonHybridRetrieverConfig
* List-style queries benefit from a slightly wider candidate pool * List-style queries benefit from a slightly wider candidate pool
* before de-duplication and final selection. * before de-duplication and final selection.
*/ */
public const LIST_BONUS = 1.40; public const LIST_BONUS = 1.25;
/** /**
* Selection rules for cross-document semantic retrieval. * Selection rules for cross-document semantic retrieval.

View File

@@ -15,6 +15,8 @@ class QueryEnricherConfig
'Indikatoren' => 'Indikator', 'Indikatoren' => 'Indikator',
'Wasserhärte-Grenzwert' => 'Resthärte', 'Wasserhärte-Grenzwert' => 'Resthärte',
'Resthärte-Grenzwert' => 'Wasserhärte', 'Resthärte-Grenzwert' => 'Wasserhärte',
'Grenzwert' => 'Überwachungsbereich',
'store'=>'shop'
]; ];
} }
} }