Page cover

ChatGPT

Using iMessage integration with Chat GPT-3 by OpenAI

circle-info

This integration is only available if you have an active dedicated sender namearrow-up-right.

Open the settings of your dedicated sender name in the dashboardarrow-up-right and in the Integrations section activate ChatGPT.

After activation will need to configure your API key, AI model, and the quality of your bot.

This integration supports the next parameters:

  • API key, required field. You can find it in your OpenAI accountarrow-up-right.

  • AI Model, required field. Possible values: gpt-3.5-turbo, gpt-3.5-turbo-0301, text-davinci-003, text-curie-001, text-babbage-001, text-ada-001, code-davinci-002, code-cushman-001. Check the Model overviewarrow-up-right for an up-to-date list and descriptions of each model.

  • Temperature, optional field. What sampling temperaturearrow-up-right to use. Higher values means the model will take more risks. Try 0.9 for more creative applications, and 0 (argmax sampling) for ones with a well-defined answer. The default value is 1.

  • Max tokens, optional field. The maximum number of tokensarrow-up-right to generate in the completion. The token count of your prompt plus max_tokens cannot exceed the model's context length. Most models have a context length of 2048 tokens (except for the newest models, which support 4096). The default value is 16.

circle-exclamation
circle-exclamation

Known issues

In some cases, the API from OpenAI can be overloaded and return an error. In this case, your contact will not receive a reply from AI. We will send you a webhook message_failed with a specific error code.

At the moment, we do not have mechanisms to auto-call OpenAI later in case of such an issue. Therefore, you will have to handle such cases yourself.

Last updated