Skip to content

This project serves as a fundamental implementation of the OpenAI API in Unity, comprising of Chat GPT models for chatbot and text completion functionalities, as well as Dalle 2.0 for image generation. It is highly recommended as an excellent starting point.

Notifications You must be signed in to change notification settings

salmanhayat1998/ChatGpt_Unity

Repository files navigation

ChatGpt_Unity

This project serves as a fundamental implementation of the OpenAI API in Unity, comprising of Chat GPT models for chatbot and text completion functionalities, as well as Dalle 2.0 for image generation. It is highly recommended as an excellent starting point.

How To get started

Here are the steps to get started with the OpenAI API implementation in Unity:

1- Sign up for an OpenAI account and obtain your API key from the following link: https://platform.openai.com/account/api-keys

2- Clone the repository to your local machine.

3- Open scenes 1 and 2 in Unity and navigate to the 'DemoUsage' object in the hierarchy.

4- Paste your API key into the designated field.

Screenshot 2023-04-04 225327

That's it! You can now test the OpenAI functionality within your Unity project.

Demo

https://www.youtube.com/watch?v=v6VG42oLAsI

About

This project serves as a fundamental implementation of the OpenAI API in Unity, comprising of Chat GPT models for chatbot and text completion functionalities, as well as Dalle 2.0 for image generation. It is highly recommended as an excellent starting point.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published