{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "nandhakishorm-laya--triage-messages-in-any-language",
 "repo": "NandhaKishorM/laya",
 "repo_url": "https://github.com/NandhaKishorM/laya",
 "repo_slug": "nandhakishorm-laya",
 "title": "Triage customer messages in 100+ languages with one model",
 "page_title": "How to triage customer messages in 100+ languages with one model with Laya",
 "summary": "Let the Router send non-English text to the multilingual checkpoint and get the same structured answers.",
 "who": "A global support team that receives tickets in Hindi, Spanish and dozens of other languages.",
 "problem": "Translating every message before classifying it adds cost, delay and errors.",
 "outcome": "The same department and urgency decisions for any language, with the router reporting which checkpoint answered.",
 "steps": [
  "Install Laya and build your questions as in the Quickstart",
  "Pass non-English ticket text to `router.predict` without translating it",
  "Check result routing model to see whether the multilingual checkpoint answered",
  "For long documents pass model multilingual and max_len 8192, as the README warns",
  "Try a quick check from the shell with `laya \"My payment failed twice\" --preset triage`"
 ],
 "agent_prompt": "Using NandhaKishorM/laya's Router, classify these customer messages in their original languages by department and urgency: <messages>. Print the routing model for each, and use model multilingual with max_len 8192 for any message longer than a page.",
 "agents": [
  "claude-code",
  "codex",
  "cursor"
 ],
 "difficulty": "Beginner",
 "time": "20 minutes",
 "basis": "readme",
 "caveat": "Beyond about 4,000 tokens of text the README reports results vary, so check long-document accuracy on your own data.",
 "category": "Work and operations",
 "tags": [
  "Work and operations"
 ],
 "lang": "python",
 "requirements": [
  "Python 3.10 or newer",
  "pip or uv",
  "A GPU is optional; checkpoints download on first use",
  "Optional extras: laya[serve], laya[mcp], laya[langchain] and others"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/nandhakishorm-laya/triage-messages-in-any-language/",
 "md": "https://dedupedai.com/use-cases/nandhakishorm-laya/triage-messages-in-any-language/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/nandhakishorm-laya--triage-messages-in-any-language.json",
 "api_version": "v1"
}
