-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Description
Define and finalize all error messages and out-of-domain (OOD) messages that should be sent to users across all workflows. Messages must be localized for Estonian (et) and English (en).
Message Categories
Service Workflow Errors
SERVICE_NOT_FOUND_MESSAGES: No matching service foundSERVICE_VALIDATION_FAILED_MESSAGES: Service exists but not activeSERVICE_TIMEOUT_ERROR_MESSAGES: Service call timeout (>10s)SERVICE_EXECUTION_ERROR_MESSAGES: Service returned errorENTITY_EXTRACTION_FAILED_MESSAGES: LLM couldn't extract entities
Context Workflow Errors
INSUFFICIENT_CONTEXT_MESSAGES: Query references history but no clear answerNO_CONTEXT_AVAILABLE_MESSAGES: No conversation history available
Greeting Messages
GREETING_HELLO_MESSAGES: Response to hello/hiGREETING_GOODBYE_MESSAGES: Response to goodbye/byeGREETING_THANKS_MESSAGES: Response to thank youGREETING_CASUAL_MESSAGES: Response to casual greetings
OOD Messages (Existing - Verify Reuse)
OUT_OF_SCOPE_MESSAGE: Query cannot be handled by any workflowTECHNICAL_ISSUE_MESSAGE: System error occurredINPUT_GUARDRAIL_VIOLATION_MESSAGE: Input blocked by guardrailsOUTPUT_GUARDRAIL_VIOLATION_MESSAGE: Output blocked by guardrails
Acceptance Criteria
- Define all error messages in
src/llm_orchestrator_config/llm_ochestrator_constants.py - Ensure all messages have Estonian (et) and English (en) translations
- Add helper function
get_localized_message(message_dict, language) - Review messages with product/UX team
- Update specification document with final messages
- Add message usage examples in code comments
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Todo