Summary
Keywords
Full Transcript
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 https://www.python.org/downloads π Pip for package dependencies https://pip.pypa.io/en/stable/installation π Python ChatGPT Wrapper https://github.com/mmabrouk/chatgpt-wrapper π Requirements.txt https://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+https://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! https://www.youtube.com/dilmerv π Support me in Patreon so I can keep doing stuff like this for free! https://www.patreon.com/dilmerv π Get XR & game development tips from me in Twitter https://www.twitter.com/dilmerv π₯½ Learn & Get my XR Training from: https://www.learnxr.io π My Blog / π₯ Newsletter (Subscribe to get up to date XR news) https://blog.learnxr.io #chatgpt #chatgpttutorial #unity
