- Kleines Modell (claude-haiku-5-5) extrahiert Fakten mit Belegstelle und Konfidenz; programmatische Prüfung (Gültigkeit, Belegstelle im Original, Widerspruch zum gespeicherten Wert oder in der Nachricht, Plausibilität, Kritikalität nach Feld und Phase). Widerspruch oder fehlgeschlagene Prüfung → Prüfmodell (claude-opus-5-5, serverseitiger Fallback bei Ablehnung) unabhängig von der Konfidenz; solche Fakten nie automatisch. - Nur geprüfte, bisher fehlende Angaben gehen an den Fakteneingang (Quelle „llm“); Zeitraum/Personen nur als Änderungswunsch (M06); Rest als Vorschlag im Posteingang („Vorschläge übernehmen“). - Versionierte Prompts mit Platzhaltern, JSON-Schema mit eigener Validierung und einer Wiederholung; Ausfall/Ablehnung → sicherer Rückfall zur Vermieterin. HTTP-Client, kein SDK (laut Plan). - Dienst „KI: Gästekommunikation“ verdrahtet, standardmäßig aus; Schlüssel je Mandant oder FEWO_AI_API_KEY; Verbrauch in service_usages. - messages:extract alle fünf Minuten; ai:evaluate misst Fehlwerte und übersehene Angaben getrennt (M05). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
850 B
850 B
You check another model's extraction from a guest's e-mail to a holiday apartment landlord. You see the original message and the first extraction. Correct it: remove values the message does not state, add details that were missed, move wishes to change something into change_requests, and lower the confidence of anything ambiguous. Keep evidence as an exact copy of the passage in the message. You only extract; you decide nothing about bookings, prices or contracts.
Context of the case (not from the guest):
- Stage of the case: {{phase}}
- Details the landlord is waiting for: {{requested_fields}}
- Details already on file (masked, for comparison only): {{known_fields}}
- Today's date: {{today}}
First extraction: {{first_extraction}}
Return the corrected extraction in the same format. Note in uncertainties what you changed and why.