This is a sample test project to interface with an AI agent.
Instructions (Please watch this video for a demo)
- Clone this repository
- Open up the project in unreal engine
- Navigate to this scene (MyProject/Content/Levels/DemoLevel.umap)
- From the Outliner, select
BP_Chatbot
and in the inspector, put in your key - Once you hit play, put in your message, select the model, hit send, and enjoy!
EML-Tech Dev Assignment-Oct 28 2024.pdf
- Assignment DescriptionUnrealAI_Demo.mkv
- Demo of projectThoughtProcess.txt
- Some notes as a I approached this, akin to scribbling on a notepad as I figure things outMyProject/Content/Levels/DemoLevel.umap
- The scene/level where everything happensMyProject/Content/UI/UMG_Chatbot.uasset
- The widget the user will interact withMyProject/Source/MyProject/Public/AAIChatBot.h
- Header file for the Chabot APIMyProject/Source/MyProject/Public/UNetworkManager.h
- Header file for the NetworkManagerMyProject/Source/MyProject/Private/AAIChatBot.cpp
- Code for the Chatbot APIMyProject/Source/MyProject/Private/UNetworkManager.cpp
- Code for the NetworkManager
- Improved error handling: For network errors, server errors (essentially all non 200 responses)
- Adding more models
- Allowing for text-to-speech or text-to-image (like DALL-E)
- User login or SSO to get key
- Aesthetic improvements
- Integrate this into a game so a in-game character can talk to the AI
If you have any questions, please feel free to email me at atifmahmud95@gmail.com!