p42
This commit is contained in:
@@ -918,6 +918,40 @@ final class AgentRunnerConfig
|
||||
return $this->getOptionalStringList('shop_prompt.current_input_preservation.terms');
|
||||
}
|
||||
|
||||
public function isShopQueryProductAttributeCleanupEnabled(): bool
|
||||
{
|
||||
return $this->getRequiredBool('shop_prompt.product_attribute_query_cleanup.enabled');
|
||||
}
|
||||
|
||||
public function getShopQueryProductAttributeCleanupMinTokens(): int
|
||||
{
|
||||
return $this->getRequiredInt('shop_prompt.product_attribute_query_cleanup.min_query_tokens_after_cleanup');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getShopQueryProductAttributeCleanupProductTypeTerms(): array
|
||||
{
|
||||
return $this->getRequiredStringList('shop_prompt.product_attribute_query_cleanup.product_type_terms');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getShopQueryProductAttributeCleanupStopTerms(): array
|
||||
{
|
||||
return $this->getRequiredStringList('shop_prompt.product_attribute_query_cleanup.stop_terms');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getShopQueryProductAttributeCleanupComparativeConstraintPatterns(): array
|
||||
{
|
||||
return $this->getRequiredStringList('shop_prompt.product_attribute_query_cleanup.comparative_constraint_patterns');
|
||||
}
|
||||
|
||||
public function getShopPromptIntro(): string
|
||||
{
|
||||
return $this->getRequiredString('shop_prompt.intro');
|
||||
|
||||
Reference in New Issue
Block a user