XCALLY section | SMS Channel → Accounts → Actions → Applications List | ||||||||||||||
On this page |
|
\uD83D\uDCCB What is the OpenAI ChatBot?
Status | ||||
---|---|---|---|---|
|
The ChatGPT Bot is an application that can be inserted in the action flow of a SMS account to manage interactions with OpenAI models.
This feature is available for SMS Channel and in this way it’s possible to insert a bot in the action flow to collect data about customers, which can be processed by agents.
☑️ Requirements
⚙️ How to configure Chatbot with OpenAI
First of all, you need to setup Cloud Provider with OpenAI.
On Tools → Cloud Providers you need to configure an OpenAI Account, by inserting as Service OpenAI and ApiKey retrieved on your OpenAI account (find out how at this link).
In this way also users with relative permission on tools section, can configure their own keys.
Then you can edit your SMS account and on Actions tab, you can insert in drag & drop routing the ChatGPT application
💡 How does it work?
With the configuration of ChatGPT as first application, all messages will be managed by the bot until it doesn't know what to say and the interaction will pass to the next block configured on action flow (for example a queue). When open channel interaction enters in a queue and it is assigned to an agent, chatGPT gets disabled.
Possible scenarios after starting to chat with ChatGPT (followed by queue application):
Chat with ChatGPT:
If ChatGPT says the exit phrase, the interaction will be passed to the queue
If ChatGPTcan't help the user, the interaction will be passed to the queue
If the total tokens used reach the max tokens value, it will be shown the forward queue message and the interaction will be passed to the queue
If the application runs into an error, the error message will be shown and the interaction will be passed to the queue
Note |
---|
During chatbot conversation, agent can not manage it (but if admin wants to see the bot conversation, it’s possible to enter in spy section). |
🔧 Prompt tips and tricks
Insert in the prompt "Answer in a concise way" to help to set ChatGPT using less words as possible, being still useful and spending less in billed tokens
ChatGPT can be used to make multistep dialogues, with prompt instructions like:
“If customer ask for help with an order, you have to request order ID.
When customer answers with that information then you have to ask order date.
When customer tells you this information, then redirect to operator”
If you realize that despite the configured prompt, ChatPGT is not replying the way you want, you can try changing the ChatGPT model or temperature
Related topics
Filter by label (Content by label) | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|