new tokens

This commit is contained in:
team 1
2026-05-01 12:10:32 +02:00
parent f28deb9eff
commit 724afd4a26
8 changed files with 154 additions and 81 deletions

View File

@@ -39,6 +39,47 @@ final class AgentRunnerConfig
return $this->getRequiredString('optimized_shop_query_trim_characters');
}
/**
* @return string[]
*/
public function getFollowUpStrongReferencePatterns(): array
{
return $this->getRequiredStringList('follow_up_context.strong_reference_patterns');
}
/**
* @return string[]
*/
public function getFollowUpExplicitCommercialSignalTerms(): array
{
return $this->getRequiredStringList('follow_up_context.explicit_commercial_signal_terms');
}
public function getFollowUpHistoryQuestionPattern(): string
{
return $this->getRequiredString('follow_up_context.history_question_pattern');
}
public function getFollowUpHistoryTurnSplitPattern(): string
{
return $this->getRequiredString('follow_up_context.history_turn_split_pattern');
}
public function getFollowUpHistoryQuestionStripPattern(): string
{
return $this->getRequiredString('follow_up_context.history_question_strip_pattern');
}
public function getFollowUpReferenceAnchorTestomatModelPattern(): string
{
return $this->getRequiredString('follow_up_context.reference_anchor.testomat_model_pattern');
}
public function getFollowUpReferenceAnchorHardnessValuePattern(): string
{
return $this->getRequiredString('follow_up_context.reference_anchor.hardness_value_pattern');
}
private function getRequiredInt(string $key): int
{
$value = $this->requiredValue($key);

View File

@@ -48,6 +48,12 @@ final class CommerceQueryParserConfig
return $this->stringList('filter_search_tokens');
}
/** @return string[] */
public function getSearchControlTokens(): array
{
return $this->stringList('search_control_tokens');
}
/** @return string[] */
private function whitespacePreservingStringList(string $path): array
{