Screencast

Building a ChatGPT Chatbot with Elixir and Phoenix LiveView

9. Building a ChatGPT Chatbot with Elixir and Phoenix LiveView

ai chatgpt liveview

In this tutorial, I will go through the process of integrating ChatGPT with an Elixir backend, using Phoenix LiveView for real-time updates. It is luckily very easy to get started with, but it requires that you have an OpenAI account. There are also other LLM (large language model) providers that this tutorial should work with.

The first steps are setting up the the Elixir project and OpenAI environment, then move on to building the backend logic for handling conversations, and finally, create a responsive frontend to allow users to interact with our chatbot.