
Learn how to use conditions to control program flow with if, elif, and else statements in Python, and document code with comments for clarity.
Explore object oriented programming in python by defining classes as blueprints and creating objects as class instances, with methods using self and initializing attributes via __init__.
Explore OpenAI and ChatGPT, and learn about OpenAI models, tokens, and temperatures, along with API usage policies, as we prepare to work with the systems API.
Explore tokens as the currency of OpenAI GPT models, with input-output examples and a price breakdown, and learn how temperature from 0 to 2 shapes response in the playground.
Learn to set up tools for chatbot development with the ChatGPT API. Use Google Colab or your preferred editor, Streamlit for the web app, and Ngrok for public hosting.
Experiment with prompt manipulation to tailor a TripAdvisor chatbot, and publish apps using Ngrok for hosting and Streamlit Community Cloud via GitHub, followed by evaluating all chatbots' performance.
Create the final TripAdvisor chatbot by organizing a prompt and uploading an image, then run Ngrok-enabled code to test travel advisor responses.
Shows how to extend the app with PS3, PS4, and PS5, adding diverse prompts for trip advisor, business adviser, dream interpreter, prompt teacher, and security specialist.
Perform a systematic performance analysis of multiple chatbots, verifying proper functioning, adherence to prompts, and accurate responses across TripAdvisor, business advisor, dream interpreter, prompt teacher, and security specialist prompts.
ChatGPT, the conversational AI that was published at the end of November 2022, has garnered global attention for its high accuracy and natural language interface. With its versatility in handling various tasks, from legal consultations and counseling to education and creative endeavors, ChatGPT has become a powerful tool.
In this course, you'll explore the capabilities of ChatGPT and its API, enabling you to build and deploy chatbots with diverse personalities and functionalities. By leveraging this API, you can create highly efficient custom chatbots for applications in daily life, education, businesses, and more.
Utilizing a large-scale language model, this course demonstrates how, through effective prompt inputs, you can customize your chatbots with various personalities and features.
The curriculum begins with the basics of Python and an overview of the ChatGPT API, followed by a step-by-step guide through each stage where you will construct your own perfectly functional chatbot and publish it to the public. You will gain knowledge from the basic to the intermediate level.
This course goes beyond learning about ChatGPT and its API; you will also discover all the required tools and techniques to create a perfect chatbot application, such as Google Colab, Streamlit, Ngrok, and more.
Course Outline:
Python Refresher:
Understand the fundamentals of Python to write basic code to access the ChatGPT API for your chatbot application.
ChatGPT Introduction:
Learn about ChatGPT, its API concept, tokens, temperatures, and more.
Environmental Setup:
Set up all the requirements to create a chatbot, including the API.
Chatbot Development:
Use the ChatGPT API to construct practical chatbots.
Chatbot Live:
Learn how to publish your created chatbots on the web.
Chatbot Manipulation:
Set up prompts for different types of chatbots, explore a range of functionalities, and combine them within a single application.
To build and publish the chatbot web application, we'll utilize the Streamlit library as a web framework. While the course provides minimal Python programming language explanations. The primary development environment for Python is Google Colaboratory.
Course Requirements:
Compatible with Windows or Mac for the local environment, using Google Colaboratory.
No technical knowledge in AI or machine learning is required.
Compatibility:
Compatible with GPT-3.5/GPT-4/GPT-4o/GPT-4.5
Requirements:
Account creation for Google, OpenAI, Ngrok, and Github.
Who this Course is for:
Those interested in creating new services using the ChatGPT API.
Individuals looking to enjoy easy chatbot construction.
Those wishing to incorporate ChatGPT into their services.
Professionals or hobbyists interested in utilizing conversational AI in their work or personal interests.
Enthusiasts looking to enjoy "chatbot creation" as a hobby.
Individuals exploring the possibilities of conversational AI.