NLP API

Intent Classification API

Identifikasi maksud pengguna dari chat, email, tiket bantuan, dan pesan teks secara otomatis menggunakan teknologi AI dan Natural Language Processing.

Deteksi Intent Otomatis

Mengenali tujuan pengguna seperti pembelian, pertanyaan harga, komplain, atau permintaan bantuan.

Integrasi Chatbot

Membantu chatbot memahami kebutuhan pengguna dan memberikan respons yang lebih tepat.

REST API

Mudah diintegrasikan ke aplikasi web, mobile, CRM, dan sistem customer service.

🟢 Endpoint

POST https://kubus.co.id/api/v1/chat/intent/batch

Enable

🔐 Headers

Use your API key to authorize requests. Replace YOUR_API_KEY with your actual key.

                Authorization: Bearer YOUR_API_KEY
                Content-Type: application/json
            
Manage Your API Keys

📦 Request Body

Configured Entity Groups

No entity groups configured yet.

Example request body:


            {
                "entity_group":"marketing",
                "texts": [
                "Saya mau beli headset bluetooth.",
                "Dimana saya bisa ambil pesanan?",
                "Tolong refund transaksi saya."
                ]
            }

✅ Response

A successful request returns a list of intent classifications:


            {
            "results": [
                {
                "intent": "purchase_intent",
                "text": "Saya mau beli headset bluetooth."
                },
                {
                "intent": "ask_location",
                "text": "Dimana saya bisa ambil pesanan?"
                },
                {
                "intent": "complaint",
                "text": "Tolong refund transaksi saya."
                }
            ],
            "status": "success"
            }

Notes

  • This API identifies common customer intents in Indonesian language.
  • Maximum 10 texts per batch.
  • Common intent types include: purchase_intent, ask_location, complaint, and more.
  • Ensure your API key is valid and not expired.