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

YouTube

Build AI Chat App with Memory - Docker Powered Full Stack Python Project

Python Simplified via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn to build a complete AI assistant application from scratch using Docker's new Model Runner to serve open-source LLMs locally, combined with a Streamlit chat interface that maintains conversation memory across both local and cloud-based models. Master the setup of Docker Desktop and Model Runner CLI, then progress through creating a containerized Python application using Docker Compose that integrates Langchain for LLM operations. Develop a clean chat GUI with Streamlit that stores conversation history in user sessions, enabling seamless context switching between a lightweight local model and powerful cloud models via OpenRouter. Implement conversation memory that allows both local and cloud models to maintain awareness of the entire chat history, including messages from other models. Explore best practices for environment variables, requirements management, and health checks in a fully containerized setup. Build a production-ready foundation that can be extended for more advanced AI applications, with all dependencies packaged in Docker containers for easy deployment and scalability.

Syllabus

01:25 - Docker Desktop Setup
02:14 - Docker Model Runner CLI
03:22 - Intro to Building Apps with Docker
04:30 - Basic App with Docker Compose [CLI]
08:39 - Docker Model Runner in Docker Compose and Langchain
11:19 - Chat App GUI with Streamlit
18:02 - Store Chat History in User Sessions
21:57 - LLM Chat Context
23:26 - Run Cloud LLM via OpenRouter
28:42 - Best Practices
30:04 - Thanks for Watching!

Taught by

Python Simplified

Reviews

Start your review of Build AI Chat App with Memory - Docker Powered Full Stack Python Project

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.