harden retrieve logic part 4
This commit is contained in:
@@ -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'*/
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -15,6 +15,8 @@ class QueryEnricherConfig
|
||||
'Indikatoren' => 'Indikator',
|
||||
'Wasserhärte-Grenzwert' => 'Resthärte',
|
||||
'Resthärte-Grenzwert' => 'Wasserhärte',
|
||||
'Grenzwert' => 'Überwachungsbereich',
|
||||
'store'=>'shop'
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user