AI integration
Open your chat with Junction Bot and click on Menu.
Select the source. In our case, “Test_JB0”.
Select a destination. In our case, “Back to the Prairie.”
In the forwarding settings, scroll down and find the option AI processing (ChatGPT and others).
In the Select service field, select any service that suits you — Auto / OpenAI / OpenRouter. In the Prompt template field, enter the prompt you need. In this instruction, we will consider the case of the Auto service and the translation of messages into English.
Choose the model that suits you.
Input tokens are the tokens you send to the model as a request. Output tokens are the tokens the model generates in response to your request.
Choose the level of creativity for your message.
Click Save.
The setting is saved.
We check the GPT setting. A message in English comes to the chat source.
This message is sent to the destination chat, translated into Russian via the GPT setting.
The balance is debited for each message that has been processed by GPT.