Lipyum müşteri destek asistanıLipyum customer support assistant
Lipyum'un yeni sürümü için bir müşteri destek asistanı geliştirdim. Normalde çağrı merkezinde bir temsilcinin yaptığı işi sohbet üzerinden yapıyor. Müşterinin ne istediğini anlıyor, bilgileri kontrol ediyor ve talep kaydını açıyor.
I built a customer support assistant for the new version of Lipyum. It does over chat what a call centre agent would normally do on the phone. It works out what the customer wants, checks the details and opens the ticket.
- RolümMy role
- Stajyer yazılım mühendisi; asistan, sohbet bileşeni ve panel ekranlarıSoftware engineering intern; assistant, chat widget and admin screens
- EkipTeam
- Lipyum geliştirici ekibiyleWith the Lipyum developers
- DönemWhen
- Temmuz – Ağustos 2026, MersinJuly – August 2026, Mersin
- ÜrünProduct
- lipyum.com
- ÖnceBefore
- Talep ve şikâyetleri bir temsilci telefonda dinleyip sisteme elle giriyordu.An agent took requests and complaints over the phone and typed them into the system.
- ŞimdiNow
- Müşteri yazıyor, asistan il, ilçe ve hizmet türünü kontrol edip kaydı açıyor.The customer writes in, and the assistant checks the province, district and service type, then opens the ticket.
- Talebi ya da şikâyeti anlıyorUnderstands the request or complaint
- İl, ilçe ve hizmet türünü kodla doğruluyorChecks province, district and service type in code
- Gerçek kaydı kendisi açıyorOpens the real ticket itself
Sohbetleri gerçek modelle deniyor. Bir değişiklik asistanı bozarsa bunu yayına çıkmadan görüyoruz.It runs conversations against the real model, so if a change breaks the assistant we see it before release.
SorunThe problem
Dil modelleri sohbette iyi ama bazen yanlış bir şeyi çok emin bir şekilde söyleyebiliyor. Olmayan bir ilçeye kayıt açan ya da müşteriye verilmemesi gereken bir sözü veren bir asistan, hiç olmamasından daha çok sorun çıkarır.
Language models are good at conversation, but sometimes they say wrong things with a lot of confidence. An assistant that opens a ticket for a district that doesn't exist, or promises a customer something it shouldn't, causes more trouble than having no assistant.
Ne yaptımWhat I did
- Asistanın talep ve şikâyet kaydı açabilmesi için gereken araçları yazdım. İl, ilçe ve hizmet türünü model tahmin etmiyor, kodda kontrol ediliyor.
- Modelin cevapları müşteriye gitmeden önce bir kontrol katmanından geçiyor. Müşterinin mesajının ne tür bir talep olduğunu da ayrıca sınıflandırdım.
- Sohbetleri gerçek modelle deneyen 13 senaryoluk bir test seti hazırladım. Bir değişiklik asistanı bozarsa bunu yayına çıkmadan görüyoruz.
- Her mesajlaşma turunun maliyetini kaydeden bir kısım yazdım.
- Sitedeki sohbet penceresini ve yönetim panelindeki ilgili ekranları da ben yaptım.
- Wrote the tools the assistant uses to open requests and complaints. The model doesn't guess the province, district or service type; the code checks them.
- The model's answers go through a checking layer before they reach the customer. I also added a step that classifies what kind of request each message is.
- Put together a 13-scenario test set that runs conversations against the real model. If a change breaks the assistant, we see it before release.
- Wrote logging that records the cost of each turn in a conversation.
- Also built the chat window on the site and the related screens in the admin panel.
Teknik ayrıntılarTechnical detailsAraçlar ve nasıl kurulduğuTools and how it's built
- Laravel 12
- Vue.js 3
- MySQL
- OpenAI API
- PHPUnit
- Function calling ile kayıt açan tool'lar; il/ilçe ve hizmet türü deterministik doğrulanıyor.
- Model çıktısını kod tarafında denetleyen guardrail katmanı ve niyet sınıflandırma.
- Gerçek modele karşı çalışan 13 senaryolu eval altyapısı ve birim testleri.
- Tur başına token, önbellek ve guardrail kullanımını ölçen telemetri.
- Usta tarafındaki mevcut chatbot'tan bağımsız, müşteri tarafı için ayrı bir asistan.
- Function-calling tools that open tickets; province, district and service type are validated deterministically.
- A guardrail layer that checks model output in code, plus intent classification.
- A 13-scenario eval suite running against the real model, plus unit tests.
- Telemetry for tokens, cache and guardrail usage per turn.
- A separate customer-side assistant, independent of the existing one for service providers.