Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sopermanspace/Unity_OpenAI
This GitHub repository shows how to integrate openai GPT-3 language model and ChatGPT API into a Unity project. It can be a useful way to add natural language processing capabilities to your application.
https://github.com/sopermanspace/Unity_OpenAI
ai ai-vission artificial-intelligence chatbot chatgpt3 game-development gpt-3 gpt-vission gpt4 image-understanding integrate-openai integration openai openai-chatgpt text-to-speech unity unity-editor unity-integration unity3d unity3d-plugin
Last synced: 29 days ago
JSON representation
This GitHub repository shows how to integrate openai GPT-3 language model and ChatGPT API into a Unity project. It can be a useful way to add natural language processing capabilities to your application.
- Host: GitHub
- URL: https://github.com/sopermanspace/Unity_OpenAI
- Owner: himanshuskyrockets
- Created: 2022-12-29T08:48:38.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-09T06:05:13.000Z (11 months ago)
- Last Synced: 2024-07-08T05:59:23.383Z (5 months ago)
- Topics: ai, ai-vission, artificial-intelligence, chatbot, chatgpt3, game-development, gpt-3, gpt-vission, gpt4, image-understanding, integrate-openai, integration, openai, openai-chatgpt, text-to-speech, unity, unity-editor, unity-integration, unity3d, unity3d-plugin
- Language: C#
- Homepage:
- Size: 2.72 MB
- Stars: 38
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: FUNDING.yml
Awesome Lists containing this project
- ai-game-devtools - Unity OpenAI-API Integration - 3 language model and ChatGPT API into a Unity project. | | Unity | Tool | (Project List / <span id="tool">Tool (AI LLM)</span>)
README
# Unity OpenAI-API Integration
[![Twitter Follow](https://img.shields.io/twitter/follow/youtube?label=Follow&logo=Github&style=social)](https://github.com/himanshuskyrockets) [![Twitter Follow](https://img.shields.io/twitter/follow/youtube?label=subscribe&logo=youtube&style=social)](https://www.youtube.com/watch?v=2nc4Hkyl9Q0) [![Medium.com](https://img.shields.io/badge/medium-.com-blue)](https://medium.com/@Clubwritter) [![Twitter Follow](https://img.shields.io/twitter/follow/youtube?label=Follow&logo=twitter&style=social)](https://twitter.com/superman_space) [![Support](https://img.shields.io/badge/-Support-green)](https://github.com/sponsors/himanshuskyrockets/)**Integrate openai GPT-3 language model and ChatGPT API into a Unity project.
It can be a useful way to add natural language processing capabilities to your application.**### notice
```
Note:
I am unable to complete this project further because my OpenAI API key credits have been expired😥Now onwards, you are the captain🧢 of this project. I want you to sail🚢 it towards success.
```## Installation
(1) Obtain an API key for the OpenAI API. You will need this to make requests to the API.https://beta.openai.com/account/api-keys
![image](https://user-images.githubusercontent.com/84278213/214848674-4f0b2539-3982-4b69-b6c5-b6657f109f70.png)
(2) Choose the OpenAI model you want to use. There are several models available, including ChatGPT and GPT-3.
![image](https://user-images.githubusercontent.com/84278213/214849126-0090d54b-102e-4821-bf91-45eb80573a4d.png)
(3) Copy the Script and Modify According to your needs
(4) Display the generated text in your Unity project. This can be done using a UI text element.
# Features
- Create NPC for your game
- Create a AI Powered ChatBot
- Create Powerful Tools with your choice of Customisation***************************************************************************************************
ERRORS NOTICE
You may get some error in **APILoader** so use **GPT3.cs** Script. You can customize the script according to your needs and contribute to this Github profile.
[![OpenAI Platform Error Codes Documentation](https://img.shields.io/badge/OpenAI%20Platform-Error%20Codes%20Documentation-blue?style=flat-square)](https://platform.openai.com/docs/guides/error-codes)FOR ANY-OTHER ISSUEs, PLEASE WRITE IT ON THE ISSUEs SECTION
***************************************************************************************************
# **Unity Interface ⤵️**![image](https://user-images.githubusercontent.com/84278213/227189100-becca7f1-3406-480a-be8c-d81a9d70c0b4.png)
![image](https://user-images.githubusercontent.com/84278213/227187013-2ad56aba-844f-4978-9088-4a387a758f65.png)
**************************************************************
# [Show your support by ⭐️ our Repo!](https://github.com/sponsors/himanshuskyrockets/)***************************************************************