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