UAI.Abstraction
Contains abstraction for common AI APIs so that different LLM providers like Gemini and OpenAI can be used through a unified interface. Currently supports the Google Gemini and OpenAI GPT APIs.
Deprecation Notice
As UGemini has been officially deprecated, I have decided to archive UAI.Abstraction. Thank you to those who have tried it. Feel free to fork this repo if needed.
Installation
Requires Unity 6.0 because of the plugin's usage of Awaitable. Built and tested in Unity 6.0.
- Open project settings
- Select
Package Manager - Add the OpenUPM package registry:
- Name:
OpenUPM - URL:
https://package.openupm.com - Scope(s)
com.uralstech
- Name:
- Open the Unity Package Manager window (
Window->Package Manager) - Change the registry from
UnitytoMy Registries - Add the
UAI.Abstractionpackage
Preview Versions
Do not use preview versions (i.e. versions that end with "-preview") for production use as they are unstable and untested.
Documentation
See https://uralstech.github.io/UAI.Abstraction/DocSource/QuickStart.html or APIReferenceManual.pdf and Documentation.pdf in the package documentation for the reference manual and tutorial.