Easy OpenAI Integration for Unity

This package provides a straightforward way to integrate OpenAI's GPT models into your Unity project. Key features include:

  • Whisper voice prompts
  • Recording threshold filter to optimize Whisper API usage
  • Response Streaming (beta)
  • Support for OpenAI models and custom fine-tuned models

To get started, ensure you have an OpenAI account and API key. The package also requires Newtonsoft JSON, which can be imported via the Package Manager.

The demo scene is included, and setup is straightforward:

  1. Open the demo scene
  2. Paste your API key in the GPTAgent script
  3. Choose an AI profile or use the demo chat profile
  4. Start typing or speaking to interact with the AI model

For support or suggestions, contact the author directly.

This package uses Newtonsoft JSON for advanced serialization. For Whisper support in WebGL, a workaround is required to use the microphone, as WebGL builds do not natively support the built-in Unity Microphone class.

Easy OpenAI Integration for Unity - Asset Store

πŸ€– Chat with AI

AI is typing

Suggested Posts

Easy Discord OAuth2 Integration for Unity

Easy Discord OAuth2 Integration for Unity Thumbnail

AI Studio: Real-time AI Integration for Unity

AI Studio: Real-time AI Integration for Unity Thumbnail

Pro AI Voice Command for Unity

Pro AI Voice Command for Unity Thumbnail

AI-Powered Code Generation for Unity

AI-Powered Code Generation for Unity Thumbnail

iAM A.I Toolkit: AI-Powered Conversations for Unity

iAM A.I Toolkit: AI-Powered Conversations for Unity Thumbnail

Easy Buzz Controller Integration for Unity

Easy Buzz Controller Integration for Unity Thumbnail