Build Your First AI App with Python Lesson 15: One Function, Two Providers
Build Your First AI App with Python
0% Completed
Course Introduction
Part 1: How AI Apps Work
Lesson 2: What Is an AI App?
Reading
Lesson 1: Welcome — What You'll Build
Reading
Lesson 2: APIs and API Keys, Explained
Reading
Lesson 3: Getting Your OpenAI Key and Keeping It Safe
Reading
Lesson 4: Installing Packages with pip and Virtual Environments
Reading
Lesson 5: Your First AI Call
Reading
Part 2: Talking to AI with Python (OpenAI)
Lesson 6: Understanding the Response
Reading
Lesson 7: Writing Prompts That Work
Reading
Lesson 8: Sending User Input to the AI
Reading
Lesson 9: Building a Chat Loop with Memory
Reading
Lesson 10: Models, Settings and Cost
Reading
Lesson 11: Handling Errors Gracefully
Reading
Part 3: Adding a Second Provider (Anthropic Claude)
Lesson 12: Getting Your Anthropic Key
Reading
Lesson 13: Your First Claude Call
Reading
Lesson 14: A Chat Loop with Claude
Reading
Lesson 15: One Function, Two Providers
Reading
Lesson 16: Choosing a Provider
Reading
Part 4: Build and Share Your AI App
Lesson 17: Planning Your App
Reading
Lesson 18: Giving Your App a Personality and Rules
Reading
Lesson 19: Saving and Loading Conversations
Reading
Lesson 20: Adding a Simple Web Interface
Reading
Lesson 21: Testing and Polishing
Reading
Lesson 22: Sharing Your App Safely
Reading
Course Wrap-Up
Wrap-Up 1. Final Project
Reading
Wrap-Up 2. Final Quiz
Reading
Wrap-Up 3. What's Next
Reading
Announcements Reviews Course Info
PreviousNext