Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
Behavior AI
1/4
Transform your Unity project with an immersive and interactive experience by integrating an AI-powered dialog using ChatGPT for natural language conversations.
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
2021.3.12f1
Compatible
Compatible
Compatible
Description

Dino is from https://arks.itch.io/dino-characters

Twitter: @ScissorMarks


Elevate the intelligence and interactivity of your Unity project with the NPC with ChatGPT - AI Dialog package. This comprehensive solution brings AI-powered dialog capabilities to your non-player characters (NPCs), allowing for dynamic and engaging conversations with lifelike responses.


Key Features:

  • AI-Driven NPC Dialog
  • Natural Language Understanding
  • Dynamic Responses
  • Adaptive Behavior
  • Customization Options
  • Match desired personality


Benefits:

  • Enhanced Immersion: Users can engage in lifelike conversations with NPCs, fostering a deeper sense of immersion and realism within your Unity project.

  • Interactive Storytelling: AI-powered NPCs can contribute to interactive storytelling, offering rich dialogues and expanding the narrative possibilities of your game or application.

  • Dynamic and Intelligent Characters: NPCs equipped with ChatGPT become intelligent conversational partners, capable of adapting and responding naturally to user inputs.


Unleash the potential of your NPCs with the power of ChatGPT's AI dialog system. Contact me today to discuss how this package can elevate the interactivity and engagement of your Unity project through lifelike NPC conversations.


Works with all Unity versions 2019+ including 2019, 2020, 2021, 2022, and 2023.


Map in the background is not included. 

Technical details


## Step-by-Step

1. Import the unity package

2. Go into the Prefab Folder an choose the Child of the NPC_Sushi Prefab called ChatGPTConversation

3. Change the settings how you want, they consist of:

- Add your API Key for ChatGPT found on https://platform.openai.com/account/api-keys

- proxy options

- max tokens: how many tokens the npc is allowed to write

- inital prompt: Tell the NPC who he is

4. After adding the Prefab to a scene choose in the ChatGPTConversation Gameobject the InputField in the User Input Handler component. This is the field where you ask the questions.

5. Choose the output window in the Chat GPT Display Component under the point "Chat Display"

6. Lastly choose the InputField and add for the OnEndEdit Event the ChatGPTConversation Gameobject and choose the following function "UserInputHandler.SendMessageToChatGPT()"

7. Now you can write your question into the Inputfield and press enter to get an answer. I hope you can find a creative way to implement this into your world. Only your imagination is your limit, enjoy!

NPC with ChatGPT - AI Dialog

(not enough ratings)
20 users have favourite this asset
(20)
$4.99
Seat
1
Updated price and taxes/VAT calculated at checkout
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
License type
File size
105.7 KB
Latest version
1.0
Latest release date
Oct 10, 2023
Original Unity version
2021.3.12
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR
$4.99