harden token config

This commit is contained in:
team 1
2026-04-26 15:20:06 +02:00
parent f34bc6b988
commit e3fd4541e4
6 changed files with 171 additions and 4 deletions

View File

@@ -295,6 +295,18 @@ final class PromptBuilderConfig
'- Do not let bundles, accessories, or service items override a better technical match unless the user explicitly asks for them.',
]);
}
/**
* @return string[]
*/
public function getOutputPriorityTechnicalRules(): array
{
return $this->getStringList('output_priority.technical_rules', [
'- For technical questions, answer the exact requested fact first and keep it as the main answer.',
'- If one source chunk contains both the best matching value and nearby comparison values, use the nearby values only as context and do not include them unless the user asks for comparison or alternatives.',
'- For lowest/highest/minimum/maximum questions, answer only the requested extreme value and the product/device explicitly connected to it.',
'- Do not add runner-up products, second-lowest values, adjacent ranges, broader tables, or explanatory comparisons unless explicitly requested.',
]);
}
public function getResponseFormatSectionLabel(): string
{