脚本/功能 GPT AI Integration 1.0 AI功能

Unity插件信息
插件名称: GPT AI Integration
插件官网: https://assetstore.unity.com/packages/tools/ai/gpt-ai-integration-243729
版本: 1.0
解压密码:
素材类型: 脚本/功能

















This asset integrates the OpenAI API into your project, allowing you to add AI functionality to your game and the Unity editor quickly and easily without requiring you to write any code!

In minutes you can have dynamically generated personalities and conversations with your NPC's in-game, or even have the AI generate and edit scripts in your project!

There are far too many use cases of the AI to list... the only limit is your imagination.

This asset is beginner friendly and supports Unity Visual Scripting!
To get you started, there are some AI tools included in the asset for you:
Unity Editor Tools:
ChatGPT - This tool functions similarly to OpenAI’s own ChatGPT by acting as your AI personal assistant that can answer any question you have. Unlike the official ChatGPT, with this tool you can customize the settings to fine tune the responses you receive. By default, this tool is configured to act as a Unity game development expert, but you can change this in the settings to behave any way you'd like. It can even write scripts for you and save them directly into your project! Here are some examples of requests you can make to the AI:
Examples:
● How can I create a custom Unity Editor window that has a settings button, and when clicked it reveals 5 more settings?
● Write me a Unity C# script that can be used as a loot table, rewarding the player with different items based on an assigned weight.
● Help me come up with a backstory for my game. The main characters name should be John and he travels the world collecting elemental powers.

Script Editor - This tool allows you to analyze any script in your project using AI, which will take into account whatever message you send it and respond back with suggestions. You can use this to debug scripts, enhance them, or make general changes. If you agree with the AI recommendations, you can choose to have it automatically update the file for you.
Prompt Generator - The key to getting great results from AI tools is to craft the perfect prompt. This tool will automatically generate a high quality prompt for you, just give it a brief description of how you want the AI to act and it’ll give you a prompt template you can edit and use in any other AI tool.
Demo Implementations:
Dynamic Conversation - Have a chat in-game with an AI that can remember the contents of your conversation and respond with context. This demo shows how you can use AI to create NPC's and other characters in your game you can have conversations with, complete with an AI generated personality! This implementation was created without writing any code using Visual Scripting.
Language Translation - What if you had players from all around the world who want to communicate with each other but don't speak the same language? This implementation shows how you can translate text between any languages using AI. This implementation was created without writing any code using Visual Scripting.
Create your own AI implementations with the OpenAI API

Included documentation to guide you through writing your own scripts you can use to implement your own AI features.

此资产将 OpenAI API 集成到您的项目中,使您能够快速轻松地将 AI 功能添加到您的游戏和 Unity 编辑器中,而无需您编写任何代码!

在几分钟内,您可以在游戏中动态生成个性和与 NPC 的对话,甚至可以让 AI 在您的项目中生成和编辑脚本!

AI 的用例太多无法一一列举……唯一的限制是您的想象力。

此资产对初学者友好,并支持 Unity Visual Scripting!
为了帮助您入门,资产中包含一些 AI 工具供您使用:
Unity 编辑器工具:
ChatGPT - 该工具的功能类似于 OpenAI 自己的 ChatGPT,充当您的 AI 个人助理,可以回答您的任何问题。 与官方 ChatGPT 不同,使用此工具,您可以自定义设置以微调您收到的响应。 默认情况下,此工具配置为充当 Unity 游戏开发专家,但您可以在设置中更改此设置以按照您喜欢的方式运行。 它甚至可以为您编写脚本并将它们直接保存到您的项目中! 以下是您可以向 AI 提出的一些请求示例:
例子:
● 我怎样才能创建一个自定义的Unity Editor 窗口,它有一个设置按钮,并且在单击它时会显示另外5 个设置?
● 给我写一个可用作战利品表的Unity C# 脚本,根据分配的权重用不同的物品奖励玩家。
● 帮我想出游戏的背景故事。 主角的名字应该是约翰,他周游世界收集元素的力量。

脚本编辑器 - 此工具允许您使用 AI 分析项目中的任何脚本,它将考虑您发送的任何消息并以建议作为回应。 您可以使用它来调试脚本、增强它们或进行一般更改。 如果您同意 AI 的建议,您可以选择让它自动为您更新文件。
Prompt Generator - 从 AI 工具中获得出色结果的关键是制作完美的提示。 该工具会自动为您生成高质量的提示,只需简单描述一下您希望 AI 的行为方式,它就会为您提供一个提示模板,您可以在任何其他 AI 工具中编辑和使用。
演示实现:
动态对话 - 在游戏中与 AI 聊天,它可以记住您的对话内容并根据上下文做出回应。 该演示展示了如何使用 AI 在您的游戏中创建 NPC 和其他角色,您可以与之对话,并完成 AI 生成的个性! 这个实现是在没有使用 Visual Scripting 编写任何代码的情况下创建的。
语言翻译 - 如果您有来自世界各地的玩家想要相互交流但不会说同一种语言怎么办? 此实现展示了如何使用 AI 在任何语言之间翻译文本。 这个实现是在没有使用 Visual Scripting 编写任何代码的情况下创建的。
使用 OpenAI API 创建您自己的 AI 实现

随附的文档可指导您编写自己的脚本,您可以使用这些脚本来实现自己的 AI 功能。



作者 cg小白兔 发表于 2023-2-27 14:07:10
您需要登录后才可以回帖 登录 | 立即注册
cg小白兔

关注0

粉丝0

发布6988

热门作品推荐
glow
Finger Soccer Game Kit 2.0.2 指尖足球游
glow
Simple Space Interiors - Cartoon Assets
glow
Simple Military - Cartoon War 1.35卡通军
glow
Advanced Dissolve 2022.3 溶解
glow
Advanced Dissolve 2022.2 高级溶解透视切
glow
Wireframe Shader 2022.1 线框着色器插件
glow
118 sprite effects bundle 5.0火焰血液爆
glow
《穿墙透壁--剖视中国经典古建筑》手绘图民
glow
明代画家文徵明150幅绘画作品山水诗画兰竹
glow
实时动画渲染Reallusion iClone 8.02 + Cha