If playback doesn't begin shortly, try restarting your device.
•
You're signed out
Videos you watch may be added to the TV's watch history and influence TV recommendations. To avoid this, cancel and sign in to YouTube on your computer.
CancelConfirm
Share
An error occurred while retrieving sharing information. Please try again later.
1,757 views • Oct 23, 2023 • #Django #postgresql #openai
Show less
In part two of this series, @CodeWithTomi shows how to use the OpenAI API to allow the user to have a conversation with the AI chatbot and how to deploy the application.
New to Cloud Computing? Get started here with a $100 credit → https://www.linode.com/lp/youtube-vie...
Chapters:
0:00 Introduction
0:57 Enable Chat with AI Bot
1:35 Obtain OpenAI API Key
2:50 Create Prompt Function
5:40 Create Database to Store Conversations
7:30 Import User Model
7:50 Add App to Installed Apps
8:10 Make Migrations & Save
8:50 Add Model to Admin.py
9:30 Create Form
11:25 Pass Form Data to API
15:10 Code Response Prompt
17:20 Store Message & Response in Database
22:40 Retrieve User History
25:28 Deploy Django One Click on Akamai
27:00 Connect to Server
27:30 Install Git
28:50 Create New Repo
30:24 Push App to Git
31:40 Obtain GitHub Token
33:05 Import Project
35:00 Pull Changes
35:20 Update PostgreSQL Database
36:40 Install psycopg2
38:10 Run Migrations
39:20…...more
Deploying a ChatGPT Clone to a Server Using the OpenAI API | Part 2
31Likes
1,757Views
2023Oct 23
In part two of this series, @CodeWithTomi shows how to use the OpenAI API to allow the user to have a conversation with the AI chatbot and how to deploy the application.
New to Cloud Computing? Get started here with a $100 credit → https://www.linode.com/lp/youtube-vie...
Chapters:
0:00 Introduction
0:57 Enable Chat with AI Bot
1:35 Obtain OpenAI API Key
2:50 Create Prompt Function
5:40 Create Database to Store Conversations
7:30 Import User Model
7:50 Add App to Installed Apps
8:10 Make Migrations & Save
8:50 Add Model to Admin.py
9:30 Create Form
11:25 Pass Form Data to API
15:10 Code Response Prompt
17:20 Store Message & Response in Database
22:40 Retrieve User History
25:28 Deploy Django One Click on Akamai
27:00 Connect to Server
27:30 Install Git
28:50 Create New Repo
30:24 Push App to Git
31:40 Obtain GitHub Token
33:05 Import Project
35:00 Pull Changes
35:20 Update PostgreSQL Database
36:40 Install psycopg2
38:10 Run Migrations
39:20 Test Web App
40:45 Conclusion
Read the doc for more information on Django → https://www.linode.com/docs/guides/de...
Learn more about PostgreSQL → https://www.linode.com/docs/guides/an...
Subscribe to get notified of new episodes as they come out → / @akamaideveloper #AkamaiDeveloper#Django#postgresql#openai
Product: Akamai, Django, Postgres, OpenAI; @CodeWithTomi…...more