harden system

This commit is contained in:
team2
2026-02-28 20:43:56 +01:00
parent a90f34aefb
commit 54ce057ef0
5 changed files with 175 additions and 4 deletions

View File

@@ -29,13 +29,13 @@ final class CatalogIntentLite
* Minimaler Similarity-Score.
* Verhindert Rauschen.
*/
private const MIN_SCORE = 0.50;
private const MIN_SCORE = 0.75;
/**
* Differenz zwischen Top1 und Top2,
* damit kein unsicherer Treffer akzeptiert wird.
*/
private const AMBIGUITY_DELTA = 0.01;
private const AMBIGUITY_DELTA = 0.03;
public function __construct(
private readonly TagVectorSearchClient $tagVectorClient,