new tokens
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user