AI DevKit
Glitch9 Inc.Glitch9 DocsDiscordIssues
  • Introduction
    • AI DevKit 3.0
    • Update Logs
    • Troubleshooting
      • ❗Issues After Updating AIDevKit?
      • ❗The type or namespace name 'Newtonsoft' could not be found
      • ❗Build Error: The name 'UnityMenu' does not exist in the current context
      • ❗Model 'modelName' not found
      • ❗The model `model name` does not exist or you do not have access to it
      • ❗The type or namespace name 'AndroidJavaObject' could not be found
      • ❗The type or namaspace name 'Plastic' does not exist
      • ❗Build Error: The name 'Asset Database' does not exist in the current context
      • ❗'ModelData.Create(Provider, string, UnixTime?, string)': not all code paths return a value
      • ⚠️ Timeout Issues
      • ⚠️ Receiving a “HTTP/1.1 400 Bad Request” Error?
    • FAQ
      • My OpenAI API free trial has ended or is inactive.
  • Quick Start
    • Get API Keys
      • OpenAI API Key Guide
      • Google API Key Guide
      • ElevenLabs API Key Guide
    • Text Generation
    • C# Object Generation
    • Image Generation
    • Sound Effect Generation
    • Text to Speech (TTS)
    • Speech to Text (STT)
    • Voice Changer
    • Audio Isolation
  • Pro Features
    • Generation Menu
      • Code Generators
        • C# Script Generator
        • Unity Component Generator
    • Editor Chat
    • Editor Vision (TTI, ITI)
    • Editor Speech (TTS)
    • Management Tools
      • Prompt History Viewer
      • AI Model Manager
      • TTS Voice Manager
      • OpenAI File Manager
      • OpenAI Assistant Manager
      • ElevenLabs Voice Library
  • Assistants API (OpenAI)
    • How it works
    • Creating custom functions
    • Creating assistants API
  • Advanced API Supports
    • OpenAI API
      • 💬Chat completions
      • 🖼️Image operations
      • 🗣️Text to speech
      • 🎙️Speech to text
        • Recording real-time in Unity
      • 💾Files
      • 🔎Embeddings
      • 🛡️Moderations
      • ⚙️Fine-tuning
    • Google API
      • 📝System instructions
      • 💬Text generation
      • ⚙️Fine-tuning
      • ▶️Fucntion calling
      • 🔎Embeddings
      • 🛡️Safety
      • 💻Code execution
    • ElevenLabs API
  • Legacy Documents
    • AI DevKit 1.0 - 2.0
      • AI DevKit 2.0
      • AI DevKit 1.0
      • Preperation
      • Event Handlers
      • Scriptable Toolkits
        • Chat Streamer
        • Image Generator
        • Voice Transcriber
        • Voice Generator
      • Editor Tools
Powered by GitBook
On this page
  • 1. Unity Version Compatibility
  • 2. Install Newtonsoft.Json
  • 3. Install UniTask
  • 4. API Key Configuration
  1. Legacy Documents
  2. AI DevKit 1.0 - 2.0

Preperation

PreviousAI DevKit 1.0NextEvent Handlers

Last updated 11 months ago

Before diving into the world of advanced AI with AI Developement Kit, there are a few prerequisites and setup steps that you need to complete. These preparations ensure that your Unity environment is ready to seamlessly integrate with OpenAI's technologies, allowing you to focus on creating innovative and engaging content.

1. Unity Version Compatibility

Ensure that your Unity version is compatible with the AI Developement Kit asset. We recommend using Unity 2020.3 LTS or later for optimal performance and compatibility. You can download the latest version of Unity from the Unity Hub.

2. Install Newtonsoft.Json

AI Developement Kit utilizes Newtonsoft.Json for efficient JSON manipulation, which is essential for communicating with OpenAI's APIs. Unity Package Manager (UPM) provides a streamlined method for managing package dependencies. Follow the step by step guide below to install Newtonsoft.Json via UPM:

3. Install UniTask

UniTask is a high-performance, Unity-optimized library for managing asynchronous operations, crucial for handling AI tasks without blocking your game's performance. To install UniTask, follow the step by step guide below:

4. API Key Configuration

To use OpenAI's services, you'll need an API key. For detailed instructions on getting an API key and setting up the API key within your project, please proceed to the next page.

LogoHow to setup Newtonsoft.Json | Glitch9 Documentation
LogoHow to setup UniTask | Glitch9 Documentation