Special offers now — see discounted courses.
day
:
hour
:
min
:
sec
See special offers
OpenAI API for Python Developers

OpenAI API for Python Developers

2h 19mIntermediate2024-02-15

Authors

Sandy Ludosky

Sandy Ludosky

Web Developer and Trainer

Course details

Ever since the launch of ChatGPT and the release of new modeling languages by OpenAI in 2022, there has been a growing interest within the wider tech community to explore the potential of multiple applications of generative AI in software and web development. In this course, join instructor Sandy Ludosky to get up to speed quickly with the latest tools and technologies, with hands-on training and exercise challenges along the way.

Learn how to use generative AI to create next-generation Python applications including your own chatbot application. Sandy shows you how to start experimenting with other generative models such as DALL-E and the Whisper Audio API as well as how to extend LLM capabilities with function calling and build a custom-knowledge chatbot using LangChain, embeddings, and ChromaDB.

Skills covered

ChatGPTAPIsOpenAIGenerative AIPythonArtificial Intelligence (AI)Programming LanguagesOpen SourceSoftware DevelopmentOne-Off

Concepts

0. Introduction

  • 01 - AI integration with Python

1. Introducing Generative AI - What You Need to Know

  • 02 - Generative AI - The future of development
  • 03 - Generative AI - Genesis and evolution
  • 04 - What you should know
  • 05 - What tools you need

2. Generative AI - The Key Concepts and Getting Started

  • 06 - Getting started with OpenAI - Create an account
  • 07 - Getting started with OpenAI - The key concepts
  • 08 - Start a new project - Quickstart
  • 09 - Configure the project - Set up an API key
  • 10 - Defining prompts and making requests

3. ChatGPT API - Build a Chatbot Application

  • 11 - Introduction to conversational AI
  • 12 - Project setup and overview
  • 13 - Authentication and configuration
  • 14 - Define a system message with instructions
  • 15 - Making requests and generating chat completions
  • 16 - Challenge - Create a funny chatbot
  • 17 - Solution - Create a funny chatbot - part 1
  • 18 - Solution - Create a funny chatbot - part 2

4. Experimenting with Other Generative Models

  • 19 - Introducing the Moderation API
  • 20 - Add a moderation layer
  • 21 - Text to image - Introducing the DALL E model
  • 22 - Generate creative art with DALL E
  • 23 - Create an image gallery with DALL E
  • 24 - Whisper Audio API - Speech-to-text
  • 25 - Whisper Audio API - Transcribe audio samples
  • 26 - Whisper Audio API - Translate audio sample

5. Extending the LLM Capabilities with Function Calling

  • 27 - Introduction to OpenAI function calling
  • 28 - Define functions and parameters
  • 29 - Call functions
  • 30 - Challenge - Connect to a public API
  • 31 - Solution - Call functions and generate extended responses

6. Building a Custom-Knowledge Chatbot with LangChain, Embeddings, and ChromaDB

  • 32 - Getting started with LangChain
  • 33 - LangChain key concepts
  • 34 - Chain components (LCEL)
  • 35 - Load and split documents
  • 36 - Create a vector store and embeddings (Chroma)
  • 37 - Run chains - Knowledge retrieval and content generation
  • 38 - Create a user interface with Streamlit

Conclusion

  • 39 - Last words and next steps

About us

LyndaKade is a leading learning platform that helps people learn business, software, technology, and creative skills to achieve personal and professional goals.

Phone numberAparat ChannelTelegram SupportTelegram ChannelInstagram Page

All rights to this site belong to LyndaKade.

Terms of Service|Privacy Policy

نماد الکترونیک enamad در صورت اتصال با آی‌پی داخل کشور، نمایش داده خواهد شد.
logo-samandehi - لوگو ساماندهی
Zarinpal
Zibal