third step
This commit is contained in:
@@ -78,7 +78,7 @@ final readonly class IntentLite
|
||||
// --------------------------------------------------------
|
||||
// Entscheidung
|
||||
// --------------------------------------------------------
|
||||
$isList = $score >= IntentLightConfig::LIST_THRESHOLD;
|
||||
$isList = $score >= $this->config->getListThreshold();
|
||||
|
||||
return [
|
||||
'is_list' => $isList,
|
||||
|
||||
@@ -98,7 +98,7 @@ final class SalesIntentLite
|
||||
$secondScore = $values[1] ?? 0;
|
||||
|
||||
// Kein relevanter Score → Discovery
|
||||
if ($topScore < SalesIntentConfig::MIN_SCORE_THRESHOLD) {
|
||||
if ($topScore < $this->config->getMinScoreThreshold()) {
|
||||
return [
|
||||
'intent' => self::DISCOVERY,
|
||||
'score' => 0,
|
||||
@@ -106,7 +106,7 @@ final class SalesIntentLite
|
||||
}
|
||||
|
||||
// Keine klare Dominanz → Discovery
|
||||
if (($topScore - $secondScore) < SalesIntentConfig::DOMINANCE_DELTA) {
|
||||
if (($topScore - $secondScore) < $this->config->getDominanceDelta()) {
|
||||
return [
|
||||
'intent' => self::DISCOVERY,
|
||||
'score' => $topScore,
|
||||
|
||||
Reference in New Issue
Block a user