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

YouTube

Python AI Choose Your Own Adventure Game

Tech with Tim via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn how to create an AI-powered choose-your-own-adventure game using Python and OpenAI in this 31-minute tutorial. Explore the challenges of working with Large Language Models (LLMs) and discover how vector databases can enhance their capabilities. Set up an Astra Cassandra database, connect it to your project, and integrate OpenAI's API to build an engaging interactive story. Follow along as the instructor demonstrates database setup, LLM memory implementation, prompt engineering, and final game execution. By the end of this hands-on tutorial, you'll have the skills to develop your own AI-driven narrative game in under 100 lines of code.

Syllabus

| Introduction
| Project Demo
| The Problem With LLMs
| The Solution Vector Databases
| Astra Cassandra Database Setup
| Connecting To The Database
| Adding LLM Memory
| Integrating With OpenAI
| The Prompt
| OpenAI API Key
| Using The Model/AI+
| Final Game Demo

Taught by

Tech With Tim

Reviews

Start your review of Python AI Choose Your Own Adventure Game

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.