How To Use ChatGPT With Unity: Python And API Setup #2
https://www.youtube.com/watc...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