optimize weigths by rag and shop

This commit is contained in:
team 1
2026-04-19 17:17:50 +02:00
parent 39849d22cb
commit a0e0ec67d1
6 changed files with 315 additions and 302 deletions

View File

@@ -37,7 +37,7 @@ class PromptBuilderConfig{
* The shop search may return many candidates, but the LLM should only see
* the most relevant top subset after local reranking.
*/
public const MAX_SHOP_RESULTS_IN_PROMPT = 10;
public const MAX_SHOP_RESULTS_IN_PROMPT = 8;
/**
* Technical product prompts should be answered like documentation,
@@ -75,6 +75,8 @@ class PromptBuilderConfig{
'wasserhärte',
'hardness',
'testomat',
'chlor',
'chlormessung',
];
public const ACCESSORY_REQUEST_KEYWORDS = [
@@ -92,5 +94,4 @@ class PromptBuilderConfig{
'ergänzung',
'ergaenzung',
];
}