How To Use ChatGPT With Unity: Python And Flask Service Setup #2 @dilmerv
How To Use ChatGPT With Unity: Python And Flask Service Setup #2  @dilmerv
Uploaded January 2023 | Updated November 2026, 2 days ago
In today's video we begin going through all the steps required to integrate ChatGPT with Unity which include:

1- Setting up our python environment including ChatGPT Wrapper and dependencies
2- Creating a ChatGPT Web Service Wrapper (API) with Python Flask
3- Setting up a VS Code Rest Client to test the communication between ChatGPT and our web service.

๐Ÿ“š How To Use ChatGPT In Unity | Chapters:
00:20 Python Environment and ChatGPT Wrapper Setup
02:53 ChatGPT Wrapper (Setting Up Credentials / Communication With ChatGPT)
05:48 Creating A ChatGPT Web Service (API)
12:55 Testing ChatGPT Web Service (API) Routes
17:32 Displaying ChatGPT Questions And Answers with Debug Flag

๐Ÿ“ข ChatGPT Tutorial Requirements:
๐Ÿ‘‰ Python 3.7 or greater python.org/downloads
๐Ÿ‘‰ Pip for package dependencies pip.pypa.io/en/stable/installation
๐Ÿ‘‰ Python ChatGPT Wrapper github.com/mmabrouk/chatgpt-wrapper
๐Ÿ‘‰ Requirements.txt github.com/mmabrouk/chatgpt-wrapper/blob/main/requirements.txt

๐Ÿ’ป Few commands used today to get this ChatGPT Tutorial setup:
๐Ÿ‘‰ To create Virtual Environment: python -m venv ./chatgpt_env
๐Ÿ‘‰ To Activate Virtual Environment:
(On Windows) .\chatgpt_env\Scripts\Activate.ps1
(On Mac or Linux) source tutorial-env/bin/activate
๐Ÿ‘‰ To Install ChatGPT Wrapper: pip install git+github.com/mmabrouk/chatgpt-wrapper
๐Ÿ‘‰ To Install Requirements.txt: pip install -r requirements.txt
๐Ÿ‘‰ To Install Playwright default browser: playwright install firefox
๐Ÿ‘‰ To Setup ChatGPT connection: chatgpt install

๐Ÿ“Œ Support me by Subscribing to avoid missing future videos!
youtube.com/dilmerv

๐Ÿ“Œ Support me in Patreon so I can keep doing stuff like this for free!
patreon.com/dilmerv

๐Ÿ“Œ Get XR & game development tips from me in Twitter
twitter.com/dilmerv

๐Ÿฅฝ Learn & Get my XR Training from:
learnxr.io

๐Ÿ‘‰ My Blog / ๐Ÿ”ฅ Newsletter (Subscribe to get up to date XR news)
blog.learnxr.io

#chatgpt #chatgpttutorial #unity
How To Use ChatGPT With Unity: Python And Flask Service Setup #2Unveiling the Future: Anticipated Apple XR Headset Expected at WWDC 2023Apple Vision Pro ANNAPRO A2 Head Strap Is NOW Available!PICO 4 Development: Unity Setup Guide !Get Ready for XR Development with C# And Unity Course - Available Now!PICO 4 Development: How To Enable See-Through Features In UnityHand Tracking With Meta Quest And OVR Components - Interaction SDK #2Ray-Ban Meta AI Smart Glasses - Are They WORTH IT?HUGE Unity Asset Store Black Friday Sale: TOP 5 Unity AssetsPico 4 Vs Quest 2 Hand Tracking Comparison With Pico OS Updates !XR Hands: Track, Record, & Detect Custom Hand Gestures in Unity!Unity visionOS 2D Windows and FULLY Immersive VR! (Apple Vision Pro Development)
Dilmer Valecillos |

How To Use ChatGPT With Unity: Python And Flask Service Setup #2

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER