掌握 Python OpenAI API 和 GPT-4 - 基于项目的方法
- 1 - Introduction
- 1 - 1.2 Course outline
- 2 - 1.3 What is OpenAI
- 3 - 1.4 Environment setup (macOS)
- 3 - 1.6 Environment Overview
- 4 - 1.6 Environment Overview
- 2 - Getting Started
- 1 - 2.1 Getting started with the OpenAI API
- 1 - 2.2 Creating a new API Key
- 1 - 2.4 Your first API request
- 2 - 2.2 Creating a new API Key
- 2 - 2.5 Diving into the documentation
- 3 - 2.4 Your first API request
- 4 - 2.5 Diving into the documentation
- 5 - 2.6 Introducing Models
- 6 - 2.7 The pricing system
- 7 - 2.8 What are Tokens
- 8 - 2.9 Controlling the amount of tokens used (max_tokens)
- 9 - 2.10 Controlling the amount of choices (n)
- 10 - 2.11 Best Practice Hiding your API Key
- 3 - [Project] Creating a Web-Based Translator
- 1 - 3.1 Introducing the Project
- 2 - 3.2 Building the general structure using Flask
- 3 - 3.3 Implementing the OpenAI API
- 4 - 3.4 Make some optional quality changes
- 4 - Prompt Engineering
- 1 - 4.1 What is Prompt Engineering & Why it's important
- 2 - 4.2 Transformer Architecture
- 3 - 4.3 Environment setup
- 4 - 4.4 bad vs. good Prompt
- 5 - 4.5 Key Concepts for a good Prompt
- 6 - 4.6 Crafting effective Prompts
- 7 - 4.7 few-shot and zero-shot (1)
- 8 - 4.8 few-shot and zero-shot (2)
- 9 - 4.9 role-playing and persona-based Prompts
- 10 - 4.11 Analysing data
- 11 - 4.10 Manipulating tone, style and format
- 12 - 4.12 Common Prompt Engineering Pitfalls
- 5 - Introducing GPT-4
- 1 - 5.1 Introducing GPT-4
- 2 - 5.2 GPT-4 Pricing
- 3 - 5.3 Working with GPT-4
- 6 - [Project] Build your own Chatbot using GPT-4
- 1 - 6.1 Introducing the Project
- 2 - 6.2 Building the basic bot structure (1)
- 3 - 6.3 Building the basic bot structure (2)
- 4 - 6.4 Adding colors
- 5 - 6.5 Adding additional option
- 6 - 6.6 Add Context to the bot
- 7 - Working with GPT-4 and Code
- 1 - 7.1 GPT-4 for developers
- 2 - 7.2 Writing code from scratch
- 3 - 7.3 Receive code explanations (existing & generated)
- 4 - 7.4 Debugging your code
- 5 - 7.5 Review your code
- 6 - 7.6 Transform your code
- 7 - 7.7 Plan your project
- 8 - [Project] Interactive Code Reviewer
- 1 - 8.1 Introducing the Project
- 2 - 8.1 Building the basic bot structure
- 3 - 8.3 Storing the review in a file
- 4 - 8.4 Making the bot interactive
- 5 - 8.5 Adding colors
- 9 - Additional API Request Parameters & Tools
- 1 - 9.1 Define stop sequences (stop)
- 2 - 9.2 Determine the quality of your response (temperature)
- 3 - 9.3 Control the diversity of your response (top_p)
- 4 - 9.4 Calculate your Tokens with Tiktoken
- 10 - Embeddings
- 1 - 10.1 What are Embeddings
- 2 - 10.2 Creating Embeddings
- 3 - 10.3 Example 1 Document Search
- 4 - 10.4 Example 2 Recommendation System
- 11 - Working with Audio
- 1 - 11.1 Introducing Text to Speech
- 2 - 11.2 Audio quality & different Voice options
- 3 - 11.3 Supported output formats & languages
- 4 - 11.4 Introducing Speech to Text
- 5 - 11.5 Supported languages
- 6 - 11.6 Translating speeches
- 12 - Generating, Edit & Work with Images (DALL-E)
- 1 - 11.1 What is DALL-E
- 2 - 12.2 Generating your first Image
- 3 - 12.3 Using Prompt Engineering for better output
- 4 - 12.4 Editing your Image
- 5 - 12.5 Image variations
- 13 - Course Wrap-Up and Future Opportunities
- 1 - 13.1 Summarizing what youve learned
- 2 - 13.2 What are the next steps