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:
- Open the demo scene
- Paste your API key in the GPTAgent script
- Choose an AI profile or use the demo chat profile
- 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.





