11000+款5星资源

8.5万+用户参与评分

10万+社区成员鼎力支持

每款资源都经过 Unity 审核

首页
工具
行为 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.
可编程渲染管线(SRP)兼容性
Unity可编程渲染管线(SRP)是让您能够通过C#脚本控制渲染的一个功能。SRP是支撑通用渲染管线(URP)和高清渲染管线(HDRP)的底层技术。
Unity版本内置渲染管线通用渲染管线(URP)高清渲染管线(HDRP)
2021.3.12f1
兼容
兼容
兼容
描述

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. 

技术细节


## 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

(暂无评分)
20 users have favourite this asset
(20)
$4.99
席位
1
更新的价格和增值税在结算时计算
退款政策
该资源受Unity资源商店退款政策约束。有关详细信息,请参见《最终用户许可协议》(EULA)中的第2.9.3节。
安全结账方式:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
许可证类型
文件大小
105.7 KB
最新版本
1.0
最新发布日期
2023年10月10日
原始 Unity 版本
2021.3.12
高品质资源
11000+款5星资源
深受用户信赖
8.5万+用户参与评分
强大的社区支持
10万+社区成员鼎力支持
Unity logo
语言
反馈
合作伙伴计划
合作伙伴
USD
EUR
Copyright © 2025 Unity Technologies
所有价格不包含税
USD
EUR
$4.99