Classify incoming requests with an agent called from your system
Modelyx lets your app or help desk send each incoming request to an agent through the API and get back a category, priority and draft reply.
Example request
Example request
Build an agent that classifies incoming support messages for our online furniture store into delivery, assembly, return, payment or other, sets a priority from 1 to 3 and drafts a short reply. Our back office will call it through the API for every new message.
What you need
- Your categories and rules
- An API key from Settings → API Keys
What you get
- An agent your system can call through the API
- Category, priority and a draft reply per message
- Consistent results across thousands of messages
How it works
You describe the rules once in the agent's instructions, and your system sends each message to that agent through the API and gets a structured answer back.
Tips
- Ask the agent to return its answer as JSON with fixed fields so your system can read it.
Limits
- Keep the API key on your server; anyone with it can run your agents on your credits.
Learn more
Step-by-step guide: API.