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
{
return [
'suche',
'habt',
'gibt',
'zeig',
'shop',
'alle',
'preis',
'kunde',
'online',
'produkt',
'sku',
'Artikel',
'kaufen'
/* 'zeig',
'welche',
'vergleich',
'alternativ',
@@ -26,7 +33,7 @@ class CommerceIntentConfig
'Seminar',
'Schulung',
'Sensor',
'liste'
'liste'*/
];
}

View File

@@ -12,7 +12,7 @@ final class NdjsonHybridRetrieverConfig
* Chosen to stay selective enough for product-family-heavy data
* 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.
@@ -27,7 +27,7 @@ final class NdjsonHybridRetrieverConfig
* List-style queries benefit from a slightly wider candidate pool
* 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.

View File

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