Complete chat with OpenAI
You can complete the chat via OpenAI and use the result in your bot conversation.
Step 1. Add and set up the OpenAI integration.
Navigate to the organization integrations section:
Add the OpenAI integration:
Step 2. Add bot variable of type Chat Completion:
Select the previously configured integration. Adjust the parameters according to the documentation. Bot variable syntax is allowed in the parameters so that they can be dynamic. The result of such a bot variable is the completed chat that can be used in the bot conversation, for example, in the response: