Implementasi client pertama API ChatGPT pada botbelanja.com

Kukuh T Wicaksono
5 min readMar 27, 2023

--

OpenAI sudah merelease API Chat GPT 3.5 secara resmi, kini semua developer seluruh dunia dapat menghubungkan apps mobile, apps website ataupun apps messenger bot mereka ke dalam platform Chat GPT 3.5 secara legal. BotBelanja.com adalah platform whatsapp bot yang membantu pemilik bisnis menerima order melalui whatsapp. Sejak awal maret 2023 kemarin, dengan integrasi dengan chat GPT 3.5 membuat pengalaman berinteraksi dengan bot terasa lebih `nyambung` seakan berbicara dengan manusia.

Klien pertama yang mencoba koneksi ke Chat GPT 3.5 adalah produk etawaku dan zymuno. berikut screen shoot obrolannya.

obrolan pelanggan dengan bot
obrolan pelanggan dengan bot
obrolan pelanggan dengan bot
obrolan pelanggan dengan bot
obrolan pelanggan dengan bot

Bot akan menjawab dalam waktu 0 sampai 30 detik, berbeda bila kita menunggu response dari manusia. tentu saja bot dapat bekerja 24 jam sehari, dan 7 hari seminggu tanpa libur. Bagaimana bot dapat mengerti apa yang ditanyakan oleh manusia ?,ya tentu saja dengan model GPT 3.5 yang digunakan dan umpan data tentang produk yang harus kita sisipkan dalam model AI kita, maka bot dapat menjawab sesuai dengan yang kita instruksikan. Bot juga perlu dilarang untuk berhalusinasi , kita perlu pesan ke bot untuk mengatakan Tidak Tahu bila pertanyaan dari pelanggan tidak ada dalam data yang kita ajarkan. Berikut contoh pertanyaan yang jawabannya tidak ada didatabase. yaitu response default . `saya belum tahu, saya belum diajarkan pengetahuan tentang itu.`

contoh pertanyaan yang tidak bisa dijawab oleh bot, perlu diinstrusikan agar bot menjawab tidak tahu ketimbang berhalusinasi

Bagaimana cara pemilik toko dapat melakukan isian data ?. Kami botbelanja.com menyediakan dashboard agar pemilik toko dapat melakukan instruksi apa yang harus bot jawab. berikut contoh dashboardnya

dashboard untuk isi data
dashboard untuk isi data
dashboard untuk isi data

perlu diketahui, bahwa untuk memiliki fasilitas terhubung dengan GPT 3.5 openAI, pemilik toko perlu memiliki account di openAI.com dan membagi API key kepada team admin botbelanja.com . Biaya pengeluaran OpenAI.com dibayarkan langsung kepada openAI tanpa melewati admin botbelanja.com. Pada dashboard akan terlihat obrolan dengan user dan biaya interaksi antara user dengan API chat GPT 3.5 dihitung berdasarkan jumlah token / kata.

catatan log interaksi bot dengan user
catatan log interaksi bot dengan user

Untuk memudahkan monitoring pengeluaran yang harus dibayarkan ke openAI.com , maka pada dashboard terlihat perkiraan rupiah yang harus dikeluarkan setiap interaksi anata bot dengan user. Pada screen shot terlihat biaya sekitar Rp 10 sampai Rp 50 saja, tergantung banyaknya total token / kata pertanyaan dan jawaban yang dikeluarkan.

Bila anda pemilik bisnis dan tertarik mencoba, silahkan langsung daftar saja ke https://BotBelanja.com , bagi digital agency yang tertarik bekerja sama dengan system sharing revenue, bisa menghubungi saya di https://t.me/kukuhtwbot atau wa nomor https://wa.me/628129893706

===English Version===

First client implementation of ChatGPT API on botbelanja.com

OpenAI has officially released the Chat GPT 3.5 API, now all developers around the world can connect their mobile apps, website apps or messenger bot apps to the Chat GPT 3.5 platform legally. BotBelanja.com is a whatsapp bot platform that helps business owners receive orders via whatsapp. Since the beginning of March 2023, with the integration with GPT 3.5 chat, the experience of interacting with bots feels more “connected” as if talking to humans.

The first clients who tried the connection to Chat GPT 3.5 were etawaku and zymuno products. here’s a screen shot of the chat.

Bot will answer within 0 to 30 seconds, different if we wait for a response from humans. of course bots can work 24 hours a day, and 7 days a week without a holiday. How can the bot understand what humans are asking?, yes of course with the GPT 3.5 model used and the data feed about the product that we have to insert in our AI model, then the bot can answer according to what we instruct.

Bots also need to be prohibited from hallucinating, we need a message to the bot to say Don’t Know if the question from the customer is not in the data we teach. Here is an example of a question whose answer does not exist in the database. i.e. default response. `I don’t know yet, I haven’t been taught the knowledge about it.`

Example of a question that cannot be answered by the bot, it needs to be instructed so that the bot answers don’t know rather than hallucinatingHow can shop owners do data entry?. We botbelanja.com provide a dashboard so that shop owners can instruct what bots should answer. here is an example of the dashboard

Please note, that to have the facility to connect with openAI GPT 3.5, store owners need to have an account at openAI.com and share the API key with the botbelanja.com admin team. OpenAI.com spending costs are paid directly to openAI without passing through the botbelanja.com admin. The dashboard will show the chat with the user and the cost of interaction between the user and the GPT 3.5 chat API is calculated based on the number of tokens / words.

To facilitate monitoring of expenses that must be paid to openAI.com, the dashboard shows the estimated rupiah that must be spent for each bot interaction with the user. In the screen shot, it looks like the cost is around Rp 10 to Rp 50 only, depending on the total number of tokens / words of questions and answers issued.

If you are a business owner and are interested in trying, please just register directly to https://BotBelanja.com, for digital agencies who are interested in working with the revenue sharing system, please contact me at https://t.me/kukuhtwbot or wa number https://wa.me/628129893706

--

--