Rate this page:

ChatGPT

ChatGPT is an artificial intelligence chatbot developed by OpenAI, which gained popularity very fast since its release in 2022. The dialogue format makes it possible for ChatGPT to answer followup questions, admit its mistakes, challenge incorrect premises, and reject inappropriate requests.

With the power of Voximplant you can add speech synthesis and recognition to ChatGPT and talk with the chatbot on the phone or in your application.

Setup

Copy URL

Let us build a simple application that allows talking with ChatGPT in five steps.

  1. Create an account at http://platform.openai.com/ and retrieve an API key.
ChatGPT registration is not working in Russia

To register in the platform from Russia, you need to use a VPN service and possess a non-Russian phone number to receive a confirmation code. After you register and retrieve the API key, you can use your application without VPN.

  1. Create an application.
  2. Create a scenario.

You can copy&paste a working scenario from this article. This scenario connects to the OpenAI API and starts the chat, synthesizes speech from ChatGPT and uses automatic speech recognition to listen to customer's answers.

You are free to modify this scenario, choose a different voice, ASR provider etc. The scenario has comments making it easier to understand it.

ChatGPT full scenario

ChatGPT full scenario

  1. Buy a phone number and attach it to your application. To launch the application, you need to call that phone number.
  2. Create a routing rule and attach it to your scenario. Leave the default routing pattern.

Done. You can call the phone number that you have attached to the application and talk with ChatGPT.

See also

Copy URL