harden information getter services and optimize user msg
This commit is contained in:
@@ -13,7 +13,7 @@ parameters:
|
||||
check_internet_sources: 'Ich prüfe auf Internetquellen...'
|
||||
retrieve_knowledge: 'Ich hole relevante Daten aus meinem RAG-Wissen...'
|
||||
optimize_search: 'Ich optimiere die Recherche...'
|
||||
no_concrete_shop_query: 'Ich habe keine konkrete Shop-Suchanfrage erkannt. Bitte nenne das Produkt, Zubehör oder die Artikelnummer.'
|
||||
no_concrete_shop_query: 'Ich kann die Shop-Suche noch nicht belastbar auflösen. Bitte nenne das Produkt, den Messparameter oder das Zubehör etwas konkreter.'
|
||||
fetch_search_data_template: 'Ich rufe Recherchedaten ab (type: %s)'
|
||||
analyze_all_information: 'Ich analysiere alle Informationen...'
|
||||
thinking_while_streaming: 'Denke nach...'
|
||||
@@ -21,6 +21,19 @@ parameters:
|
||||
generic_internal_error: '❌ Bei der Verarbeitung der Anfrage ist ein interner Fehler aufgetreten.'
|
||||
debug_internal_error_prefix: '❌ Interner Fehler: '
|
||||
|
||||
no_llm_fallback:
|
||||
max_shop_results: 5
|
||||
messages:
|
||||
shop_only: 'Ich finde dazu im RAG-Wissen keine belastbare Fachinformation. Aus den Shopdaten ergeben sich folgende Treffer; technische Eignung bitte prüfen:'
|
||||
shop_with_knowledge: 'Es liegen RAG-/Kontexttreffer und Shopdaten vor. Ohne LLM leite ich daraus keine technische Eignung ab. Die Shopdaten zeigen folgende Treffer; technische Eignung bitte prüfen:'
|
||||
escalation: 'Für eine verbindliche Produktauswahl sollte der konkrete Anwendungsfall durch Vertrieb oder Support geprüft werden.'
|
||||
knowledge_only: 'Ich habe Treffer im RAG-Wissen gefunden, aber ohne LLM kann ich daraus keine belastbare fachliche Antwort synthetisieren. Ich gebe deshalb keine sichere Produktaussage aus. Bitte aktiviere das LLM oder konkretisiere die Frage für eine gezielte Prüfung.'
|
||||
no_data: 'Ich finde dazu keine belastbaren Daten in den vorliegenden Quellen. Bitte nenne Produkt, Messparameter, Zubehör oder Anwendungsfall genauer.'
|
||||
no_shop_results_with_knowledge: 'Ich finde RAG-/Kontexttreffer, aber keine passenden Shop-Treffer zur aktuellen Suchanfrage. Das ist keine Aussage, dass es das Produkt nicht gibt. Ohne LLM gebe ich keine technische Negativaussage aus; bitte prüfe den Suchbegriff oder den Anwendungsfall gezielter.'
|
||||
no_shop_results_no_knowledge: 'Ich finde weder belastbares RAG-Wissen noch passende Shop-Treffer zur aktuellen Suchanfrage. Das ist keine sichere Negativaussage. Bitte nenne Produkt, Messparameter oder Zubehör konkreter.'
|
||||
shop_unavailable_with_knowledge: 'Live-Shopdaten konnten nicht geladen werden. Ohne Shop-Check treffe ich keine Aussage zu aktueller Verfügbarkeit, Preis oder Shop-Portfolio. Vorhandenes RAG-Wissen darf nur als fachlicher Kontext verstanden werden.'
|
||||
shop_unavailable_no_knowledge: 'Live-Shopdaten konnten nicht geladen werden und ich finde kein belastbares RAG-Wissen. Ich kann daraus keine verlässliche Produkt- oder Verfügbarkeitsaussage ableiten.'
|
||||
|
||||
source_labels:
|
||||
external_url: 'Externe URL'
|
||||
rag_knowledge: 'RAG Wissen'
|
||||
|
||||
@@ -47,6 +47,7 @@ parameters:
|
||||
conversation_context_label: CONVERSATION CONTEXT (contextual only)
|
||||
shop_search_query_label: SHOP SEARCH QUERY
|
||||
output_priority_label: OUTPUT PRIORITY
|
||||
fallback_escalation_label: FALLBACK AND ESCALATION RULES
|
||||
response_format_label: RESPONSE FORMAT RULES
|
||||
language_rules_label: LANGUAGE RULES
|
||||
fact_grounding_rules_label: FACT GROUNDING RULES
|
||||
@@ -72,6 +73,36 @@ parameters:
|
||||
- '- 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.'
|
||||
fallback_escalation:
|
||||
state_line_template: '- Internal confidence state: {state}.'
|
||||
base_rules:
|
||||
- '- Prefer transparent uncertainty over a confident but unsupported answer.'
|
||||
- '- Never present missing or weak evidence as proof that a product, value, accessory, or suitability does not exist.'
|
||||
- '- A negative answer is allowed only when the provided sources explicitly support that negative finding for the asked scope.'
|
||||
- '- If several products, parameters, or accessories could match, ask one focused clarification question instead of guessing.'
|
||||
- '- For risky or binding product selection, state that sales or support should verify the application before a final selection.'
|
||||
without_shop_check_rules:
|
||||
- '- If the question is product-related and no live shop check was performed in this run, do not make a portfolio-wide negative statement such as "there is no product".'
|
||||
- '- Phrase missing evidence narrowly, for example: "Im RAG-Wissen finde ich dazu keine belastbare Information."'
|
||||
- '- If useful, say that a shop search can be used to look for matching products, but do not claim shop results were checked unless they are present in the prompt.'
|
||||
states:
|
||||
sicher_beantwortbar:
|
||||
- '- The retrieved factual knowledge or user-provided URL content is sufficient for the core answer. Answer directly, but do not exceed the provided facts.'
|
||||
wahrscheinlich_beantwortbar:
|
||||
- '- Retrieved knowledge and shop data are both available. Use retrieved knowledge for technical suitability and shop data for current commercial details.'
|
||||
- '- If the two source types do not clearly refer to the same product identity, separate the technical answer from commercial shop hits.'
|
||||
nur_shop_treffer_kein_belastbares_fachwissen:
|
||||
- '- Start the answer by making the fallback clear: "Aus den Shopdaten ergeben sich folgende Treffer; technische Eignung bitte prüfen."'
|
||||
- '- Do not present shop-only matches as verified technical suitability unless the shop text explicitly states that suitability.'
|
||||
- '- Do not say that RAG knowledge confirms the result. Say that no belastbares RAG-Fachwissen was available for this selection.'
|
||||
keine_belastbaren_daten:
|
||||
- '- State that no reliable information was found in the provided RAG knowledge, URL content, or shop results.'
|
||||
- '- Do not answer with "gibt es nicht". Use narrow wording such as "Ich finde dazu keine belastbaren Daten in den vorliegenden Quellen."'
|
||||
- '- Ask one focused clarification question if a parameter, product family, accessory type, or application context would make the search answerable.'
|
||||
shopdaten_nicht_verfuegbar:
|
||||
- '- State that live shop data could not be loaded and answer only from retrieved knowledge or URL content if available.'
|
||||
- '- Do not draw negative conclusions about current product availability, price, or shop portfolio while the shop is unavailable.'
|
||||
|
||||
response_format:
|
||||
base_rules:
|
||||
- '- Keep normal spacing between all words. Never fuse words together.'
|
||||
|
||||
Reference in New Issue
Block a user