Build Your Own AI Chatbot with OpenAI API and Linode - A Step-by-Step Guide From Code With Harry
-
21
-
- Write review
Learn AI, Data Science & Business — Earn Certificates That Get You Hired
The Most Addictive Python and SQL Courses
Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
A step-by-step project to build a chat app with Django and the OpenAI API. It covers the chat interface, prompt handling, API responses, and deployment to Linode.
Syllabus
Introduction
Install Django and make a new project
Start Python Server
Create URLs.py
Create Index.html
Create Navbar
Create Heading
Insert Boostrap Chat
Insert OpenAPI Playground
Import json Response in Django
Import CSRF Token
Add Event Listeners for Prompt Response
Create Prompt Variable
Reload and Test Prompt
Setup Prompt to clear after each response
Wrap response text
ChatGPT Limits
Deploy to Linode
Conclusion
Taught by
Linode