Which team is this message for?
Billing
All options
- Billing
- Support
- Sales
For each question it picks one of the options you gave it, and says how sure it is.
Each question brings its own options: one of several, yes or no, or a level. Layla answers best when they're asked in Persian; here they're shown in English.
One of several
Which team is this message for?
Yes or no
Does the customer want to cancel the order?
A level
How urgent is this message?
When the options are close, the answer is marked unsure: pass that message to a person.
Billing
Yes
Important
Level 2 of 3
Layla reads the text once for each question, and each answer arrives the moment it's ready. On a standard laptop GPU, each answer takes under 50 milliseconds.
Support, shops, banks and operators, social networks, newsrooms and every shared inbox.
For support teams and contact centres
Tells each message's purpose, urgency and the customer's tone, so it reaches the right person sooner.
«سلام، سه روز است سفارشم را ثبت کردهام و هنوز خبری نیست. اگر تا فردا نرسد لغوش میکنم و پولم را میخواهم.»Hi, I placed my order three days ago and still haven't heard anything. If it doesn't arrive by tomorrow I'll cancel it, and I want my money back.
Try itFor online shops and brands
Takes the star rating, the tone and whether the buyer recommends it from every review, without anyone reading them all.
«صدای هدفون عالی است ولی بعد از دو هفته یک طرفش قطع و وصل میشود. با این قیمت انتظار بیشتری داشتم.»The headphones sound great, but after two weeks one side keeps cutting out. At this price I expected more.
Try itFor banks, operators and inboxes
Sets ads and scams apart, and points out messages that ask for a password or a verification code.
«تبریک! شما برندهٔ یک دستگاه خودرو شدهاید. برای دریافت جایزه همین حالا روی لینک بزنید و کد تأیید را وارد کنید.»Congratulations! You've won a car. To claim your prize, tap the link right now and enter the verification code.
Try itFor social networks, forums and comment sections
Weighs insults and the mood of a post, so hurtful comments are seen before they're published.
«این چه وضع پشتیبانیه؟ هر بار زنگ میزنم یه جواب تکراری میدید، واقعاً که خجالت داره.»What kind of support is this? Every time I call you give the same answer. Shameful, really.
Try itFor news agencies and media monitoring
Puts each story in the right section and says whether it's written formally or casually.
«بانک مرکزی از کاهش نرخ تورم ماهانه در شهریور خبر داد و گفت سیاستهای انقباضی ادامه پیدا میکند.»The central bank reported a drop in monthly inflation in Shahrivar and said its tight policies will continue.
Try itFor organisations with a shared inbox
With a question of your own, sends each request to the team responsible; define the options however you like.
«سلام، فاکتور ماه گذشته دو بار از حساب ما کسر شده. لطفاً بررسی کنید و مبلغ اضافه را برگردانید.»Hello, last month's invoice was charged to our account twice. Please look into it and refund the extra amount.
Try itWith an API key, connect Layla to your support desk, your shop or any other program. Every account gets 100 free requests.
curl https://pendarsolutions.ir/layla/api/v1/decisions \
-H "Authorization: Bearer lyl_…" \
-H "Content-Type: application/json" \
-d '{"text":"سفارشم سه روز پیش ثبت شد و هنوز نرسیده. لطفاً پولم را برگردانید.","outputs":[{"id":"tone","preset":"sentiment"},{"id":"urgency","preset":"urgency"},{"id":"refund","type":"yes_no","question":"آیا مشتری پولش را پس میخواهد؟"}]}'Send a Persian text for Layla to read.