Deploying a ChatGPT Clone to a Server Using the OpenAI API | Part 2 @AkamaiDevelopers
Deploying a ChatGPT Clone to a Server Using the OpenAI API | Part 2  @AkamaiDevelopers
Uploaded October 2023 | Updated November 2026, 1 day ago
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 → linode.com/lp/youtube-viewers/?ifso=linodetube&utm_source=youtube&utm_medium=SuperUser

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 → linode.com/docs/guides/development/frameworks/django
Learn more about PostgreSQL → linode.com/docs/guides/an-introduction-to-postgresql
Subscribe to get notified of new episodes as they come out → youtube.com/channel/UCf8uu3IE42b6hRUusufEH8g?sub_confirmation=1

#AkamaiDeveloper #Django #postgresql #openai
Product: Akamai, Django, Postgres, OpenAI; @CodeWithTomi
Deploying a ChatGPT Clone to a Server Using the OpenAI API | Part 2How to Train Your Own Custom AI Bot | Use Custom Data with ChatGPTCreating a Compute Instance with the Linode Terraform Provider | Working With IaC Episode 1Create an Image Manipulation Website Using Flask and Python | Code With Harry TutorialDeveloper Recap September 2024 | NATS.io, Quay & Edge Compute LiveDeveloping with Superinsight DB | Unstructured Data Handling with Machine LearningEasily Move Files To and From a Server with VSFTP | Top Docs with Jay LaCroixDedicated GPUs vs Pay-Per-Token APIsRedis Explained | Devops SimplifiedIs WASM The Next Wave in Cloud Computing? | Write in Your Language, Deploy in WebAssemblyControl Your Kubernetes Costs with KubeCost | Track, Forecast, and Optimize K8sDeploy Docker on Akamai Connected Cloud WITH SSL Certification | Reverse Proxy SSL Setup
Akamai Developers |

Deploying a ChatGPT Clone to a Server Using the OpenAI API | Part 2

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER