optimize technical truth

This commit is contained in:
team 1
2026-04-29 14:39:12 +02:00
parent 123d5d4020
commit 06f192b28a
8 changed files with 740 additions and 20 deletions

View File

@@ -52,6 +52,7 @@ parameters:
inferred_role_label: Inferred shop product role
role_compatibility_label: Role compatibility with request
role_incompatible_commercial_suppression_note: 'Commercial fields suppressed: this shop record is not a matching main-device result for the requested product role.'
role_incompatible_record_note: 'Role guard: this is an accessory/consumable record for a main-device request. Do not use it as an answer heading, recommendation, or suitable main-device result.'
technical_product_keyword_match_threshold: 2
sections:
system_label: SYSTEM
@@ -63,6 +64,8 @@ parameters:
response_format_label: RESPONSE FORMAT RULES
language_rules_label: LANGUAGE RULES
fact_grounding_rules_label: FACT GROUNDING RULES
measurement_evidence_label: MEASUREMENT PARAMETER EVIDENCE CHECK
product_role_guard_label: PRODUCT ROLE GUARD
retrieved_knowledge_label: RETRIEVED KNOWLEDGE (primary for technical matching and factual explanation)
url_content_label: CONTENT FROM URL (authoritative if user-provided)
conversation_context:
@@ -91,6 +94,11 @@ parameters:
- system
- monitor
- controller
- testomat
- testomaten
- testoamt
- testomate
- pockettester
main_device_product_keywords:
- messanlage
- messanlagen
@@ -107,9 +115,17 @@ parameters:
- system
- monitor
- controller
- testomat
- testomaten
- pockettester
accessory_product_keywords:
- indikator
- indikatoren
- ph-indikator
- ph indikator
- ph-indikatoren
- ph indikatoren
- indikatoren
- indicator
- reagenz
- reagenzien
@@ -135,6 +151,108 @@ parameters:
- service set
- serviceset
- service-set
- kalibrierlösung
- kalibrierloesung
- pufferlösung
- pufferloesung
- reinigungslösung
- reinigungsloesung
- flasche
- bottle
- 100 ml
- 500 ml
- 100ml
- 500ml
main_device_answer_rules:
- '- If the user asks for a Testomat, measuring device, analyzer, system, or main device, the answer must be anchored on a compatible main-device record or on a clear no-match statement.'
- '- Accessories, indicators, reagents, calibration solutions, spare parts, kits, sets, services, or consumables must not be used as the main answer heading for a main-device request.'
- '- If only accessories or consumables are available in the shop results, start with a negative main-device finding and mention that only accessory/consumable hits were found.'
- '- Do not provide price, availability, product number, URL, or a recommendation for role-incompatible accessory records unless the user explicitly asks for that accessory.'
- '- Do not propose alternative devices unless a provided source explicitly proves that exact device is suitable for the requested parameter.'
no_main_device_match_template: 'No compatible main-device shop record is present for the requested main-device role. Accessory/consumable records must not be presented as the requested solution.'
measurement_evidence_guard:
intro_rules:
- '- This block is generated from the current user question and is stricter than broad product-selection wording.'
- '- For measurement-parameter questions, technical suitability requires explicit positive evidence for the requested parameter in the same source record.'
- '- Accessory/indicator requests are not main-device measurement-capability questions. If the user explicitly asks for indicators, reagents, accessories, or consumables, do not answer as if they asked for a measuring device that measures the parameter.'
- '- Similar water-treatment parameters, abbreviations, units, product families, search queries, or ranking positions are not enough.'
- '- For pH requests, pH operating ranges, pH values of reagents/indicators, pH transfer/output fields, and general pH mentions are not evidence that a device measures pH.'
parameters:
- id: ph
label: pH / pH-Wert
request_terms:
- ph
- pH
- pH-Wert
- ph-wert
- ph wert
positive_terms:
- pH-Messung
- pH Messung
- pH-Messgeraet
- pH Messgeraet
- pH-Wert messen
- pH Wert messen
- pH-Werte messen
- pH Werte messen
- misst pH
- misst den pH
- misst pH-Wert
- misst den pH-Wert
- Messparameter pH
- Messparameter pH-Wert
- Messgroesse pH
- Messgroesse pH-Wert
non_equivalent_terms:
- p-Wert
- p Wert
- m-Wert
- minus m-Wert
- Alkalität
- Säurekapazität
- mmol/l
- pH-Bereich
- Betriebsbereich
- stoerungsfreier Betrieb
- pH-Wert bei
- Reagenz
- Indikator
- 4-20 mA Ausgang
- pH-Wertuebertragung
safe_no_evidence_answer_de: Ich finde in den bereitgestellten Quellen keinen sicher belegten Testomat, der pH als Messparameter misst.
- id: redox
label: Redox / ORP
request_terms:
- redox
- orp
- oxidations-reduktionspotential
- oxidations reduktionspotential
positive_terms:
- Redox
- ORP
- Oxidations-Reduktionspotential
- Oxidations Reduktionspotential
non_equivalent_terms: []
safe_no_evidence_answer_de: Ich finde in den bereitgestellten Quellen keinen sicher belegten Treffer für Redox-/ORP-Messung.
- id: free_chlorine
label: freies Chlor
request_terms:
- freies chlor
- freiem chlor
- freien chlor
- free chlorine
positive_terms:
- freies Chlor
- freiem Chlor
- freien Chlor
- free chlorine
non_equivalent_terms:
- Chlor gesamt
- Gesamtchlor
- total chlorine
safe_no_evidence_answer_de: Ich finde in den bereitgestellten Quellen keinen sicher belegten Treffer für die Messung von freiem Chlor.
output_priority:
rules:
@@ -262,6 +380,9 @@ parameters:
- '- Shop product names are authoritative for their own shop URL, product number, price, availability, image, description, and metadata.'
- '- Do not rewrite a shop record heading with a similar device name from retrieved knowledge. If identities differ or are uncertain, separate the RAG device from the shop hit.'
- '- If the user asks for a main device, measuring device, analyzer, system, or measuring installation, do not present an accessory, indicator, reagent, kit, set, consumable, or service item as the requested main solution.'
- '- If a main-device request has no compatible main-device shop record, start with a no-match statement for the requested main device, not with the first accessory hit.'
- '- Role-incompatible accessory records may only be mentioned in a short separate section such as "Nur Zubehörtreffer gefunden" and without price, URL, availability, product number, or recommendation wording.'
- '- Do not suggest alternative devices for the requested parameter unless the same provided source explicitly proves the exact alternative device is suitable.'
- '- If the only shop hit is role-incompatible with the requested product role, state that no matching main-device shop hit is available in the provided shop data; mention the incompatible hit only as a separate accessory/consumable hit if useful.'
- '- If a SHOP PRODUCT RECORD says Commercial fields suppressed, do not output its price, availability, URL, product number, image, or metadata anywhere in the answer.'
- '- Never write shop-hit lines such as price, availability, URL, product number, or Shop-Treffer below a RAG device unless the same exact SHOP PRODUCT RECORD names that device as the exact shop product.'
@@ -274,6 +395,7 @@ parameters:
technical_rules:
- '- For technical product questions, answer primarily with explicitly stated facts.'
- '- For measurement-parameter questions, do not treat similar or neighboring abbreviations as equivalent. In particular, p-Wert is not pH-Wert unless the source explicitly says pH or pH-Wert.'
- '- For pH requests, do not present products as pH-capable when the source only states an allowable pH operating range, a pH value of a reagent/indicator solution, a 4-20 mA transfer/output reference, or a generic pH mention.'
- '- Do not invent or infer measurement principles, methods, calibration functions, benefits, advantages, application areas, or alternative products from product family names, search rank, or shop query wording.'
- '- Behave like a technical documentation assistant, not like a sales advisor.'
- '- Keep interpretations minimal and do not generalize application areas beyond the provided sources.'