OpenAI API for Python Developers
Offered By: LinkedIn Learning
Course Description
Overview
Learn how to use the latest tools and technologies of generative AI, including the OpenAI API, to create next-generation Python applications.
Syllabus
Introduction
- AI integration with Python
- Generative AI: The future of development
- Generative AI: Genesis and evolution
- What you should know
- What tools you need
- Getting started with OpenAI: Create an account
- Getting started with OpenAI: The key concepts
- Start a new project: Quickstart
- Configure the project: Set up an API key
- Defining prompts and making requests
- Introduction to conversational AI
- Project setup and overview
- Authentication and configuration
- Define a system message with instructions
- Making requests and generating chat completions
- Challenge: Create a funny chatbot part 1
- Solution: Create a funny chatbot part 2
- Solution: Create a funny chatbot
- Introducing the Moderation API
- Add a moderation layer
- Text to image: Introducing the DALL·E model
- Generate creative art with DALL·E
- Create an image gallery with DALL·E
- Whisper Audio API: Speech-to-text
- Whisper Audio API: Transcribe audio samples
- Whisper Audio API: Translate audio sample
- Introduction to OpenAI function calling
- Define functions and parameters
- Call functions
- Challenge: Connect to a public API
- Solution: Call functions and generate extended responses
- Getting started with LangChain
- LangChain key concepts
- Chain components (LCEL)
- Load and split documents
- Create a vector store and embeddings (Chroma)
- Run chains: Knowledge retrieval and content generation
- Create a user interface with Streamlit
- Last words and next steps
Taught by
Sandy Ludosky
Related Courses
Artificial Intelligence for RoboticsStanford University via Udacity Intro to Computer Science
University of Virginia via Udacity Design of Computer Programs
Stanford University via Udacity Web Development
Udacity Programming Languages
University of Virginia via Udacity