GAMES IN PROGRESS
Latest Videos
Home
/
Indie Game Developers
/
Dilmer Valecillos
/
How To Use ChatGPT With Unity: Python And API Setup #2

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

18 min
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 (API) with Python Flask 3- Setting up a VS Code Rest Client to test the communication between ChatGPT and our web service. ๐Ÿ“ข 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://www.getrevue.co/profile/dilmerv #chatgpt #chatgpttutorial #unity