optimize technical truth
This commit is contained in:
@@ -6,6 +6,53 @@ namespace App\Config;
|
||||
|
||||
final class AgentRunnerConfig
|
||||
{
|
||||
private const NO_LLM_MAIN_DEVICE_REQUEST_ROLE_KEYWORDS = [
|
||||
'anlage',
|
||||
'messanlage',
|
||||
'gerät',
|
||||
'geraet',
|
||||
'messgerät',
|
||||
'messgeraet',
|
||||
'analysegerät',
|
||||
'analysegeraet',
|
||||
'analysator',
|
||||
'analyzer',
|
||||
'system',
|
||||
'testomat',
|
||||
'pockettester',
|
||||
];
|
||||
|
||||
private const NO_LLM_ACCESSORY_PRODUCT_ROLE_KEYWORDS = [
|
||||
'indikator',
|
||||
'indicator',
|
||||
'indikatortyp',
|
||||
'reagenz',
|
||||
'reagent',
|
||||
'reagenzsatz',
|
||||
'kalibrierlösung',
|
||||
'kalibrierloesung',
|
||||
'pufferlösung',
|
||||
'pufferloesung',
|
||||
'reinigungslösung',
|
||||
'reinigungsloesung',
|
||||
'kalibrier',
|
||||
'puffer',
|
||||
'zubehör',
|
||||
'zubehor',
|
||||
'accessory',
|
||||
'ersatzteil',
|
||||
'verbrauch',
|
||||
'consumable',
|
||||
'kit',
|
||||
'set',
|
||||
'flasche',
|
||||
'bottle',
|
||||
'100 ml',
|
||||
'500 ml',
|
||||
'100ml',
|
||||
'500ml',
|
||||
];
|
||||
|
||||
/**
|
||||
* @param array<string, mixed> $config
|
||||
*/
|
||||
@@ -194,6 +241,14 @@ final class AgentRunnerConfig
|
||||
);
|
||||
}
|
||||
|
||||
public function getNoLlmFallbackAccessoryOnlyForMainDeviceMessage(): string
|
||||
{
|
||||
return $this->getString(
|
||||
'no_llm_fallback.messages.accessory_only_for_main_device',
|
||||
'Die Shop-Treffer wirken wie Zubehör/Verbrauchsmaterial und nicht wie eine angefragte Messanlage oder ein Hauptgerät. Ich werte sie deshalb nicht als passende Hauptlösung.'
|
||||
);
|
||||
}
|
||||
|
||||
public function getNoLlmFallbackEscalationMessage(): string
|
||||
{
|
||||
return $this->getString(
|
||||
@@ -234,6 +289,28 @@ final class AgentRunnerConfig
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getNoLlmMainDeviceRequestRoleKeywords(): array
|
||||
{
|
||||
return $this->getStringList(
|
||||
'no_llm_fallback.product_roles.main_device_request_keywords',
|
||||
self::NO_LLM_MAIN_DEVICE_REQUEST_ROLE_KEYWORDS
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getNoLlmAccessoryProductRoleKeywords(): array
|
||||
{
|
||||
return $this->getStringList(
|
||||
'no_llm_fallback.product_roles.accessory_product_keywords',
|
||||
self::NO_LLM_ACCESSORY_PRODUCT_ROLE_KEYWORDS
|
||||
);
|
||||
}
|
||||
|
||||
public function getNoLlmFallbackShopUnavailableWithKnowledgeMessage(): string
|
||||
{
|
||||
return $this->getString(
|
||||
|
||||
Reference in New Issue
Block a user