XCALLY section | Tools → OpenAI bots |
On this page |
\uD83D\uDCCB What's about?
AVAILABLE FROM VERSION 3.36.0
OpenAI bots section allows you to configure bots for Voice and other Channels with ChatGPT
☑️ Requirements
The section is visible only if you have AI feature enable on your license
You need to configure a OpenAI Cloud Provider to use ChatGPT bot
⚙️ How to configure a OpenAI bot
By clicking on + button, you can create a new OpenAI bot
ChatGPT Model: multiple models, each with different capabilities and prices which can be viewed in units of either per 1M or 1K tokens. You can explore OpenAI https://openai.com/pricing documentation to understand which model to use according to your needs. This is a handpicked list of ChatGPT default models:
gpt-3.5-turbo: The fastest model. Same responses as the free ChatGPT experiences;
gpt-4: More creative than 3.5 but slower;
gpt-4-32k: Same as gpt-4 but allows longer conversations.
gpt-4-turbo
gpt-4o
To understand which model to use, you can explore OpenAI documentation
Name of the ChatGPT bot: this name will be saved to the XCALLY database to help better understand what bot is talking
Max conversation lenght in ChatGPT tokens (for each session): you can think of tokens as pieces of words, where 1000 tokens is about 750 words. When your session reaches this number of tokens, conversation has to end. You can understand how ChatGPT calculates token at this link OpenAI Tokenizer
The max conversation lenght that you can inserted in configuration is 4000 tokens
Remember that this parameter consider the sum of input customer’s messages + output ChatGPT messages + lenght of prompt inserted
💡 How does it work?
With the configuration of bots in this section, you can retrieve them on actions flow of different channels and on Cally Square block. If for example you decide to insert a ChatGPT bot as first application, all messages will be managed by the bot until it doesn't know what to say and the chat will pass to the next block configured on action flow (for example a queue). When chat enters in a queue and it is assigned to an agent, ChatGPT gets disabled.
By selecting ChatGPT block, you need to choose OpenAI cloud provider account and created OpenAI bot
🔧 Instructions 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, ChatGPT is not replying the way you want, you can try changing the ChatGPT model or temperature