Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

edX

Building a Chatbot with FastAPI and OpenAI

via edX

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates

This intermediate course path guides you through building a complete chatbot application using Python, FastAPI, and a large language model API. You will develop both the backend service and the frontend chat experience, with attention to conversation flow, API integration, and responsive design. You will start by creating the chatbot logic, including sending messages, adjusting API settings, tracking conversation history, and shaping responses with system prompts. You will then package that logic into a FastAPI service with tested components and clear endpoints. The path also covers building a polished web interface for real-time chatbot interactions. It is designed for learners with some Python and web development experience who want to apply AI tools in a practical full-stack project.

Syllabus

  • Build a chatbot backend service with Python and FastAPI
  • Connect a conversational model API to an interactive application
  • Manage message history and conversation context
  • Configure prompts and API settings to shape chatbot behavior
  • Create a responsive web interface for chat-based interactions
  • Test and integrate application components into a complete chatbot project

Reviews

Start your review of Building a Chatbot with FastAPI and OpenAI

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.