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.
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
- Open the Unity Package Manager window (
Window->Package Manager) - Select the
+icon andAdd package from git URL... - Paste the UPM branch URL and press enter:
https://github.com/Uralstech/UAI.Abstraction.git#upm
- Clone or download the repository from the desired branch (master, preview/unstable)
- Drag the package folder
UAI.Abstraction/UAI.Abstraction/Packages/com.uralstech.uai.abstractioninto your Unity project'sPackagesfolder
Do not use preview versions (i.e. versions that end with "-preview") for production use as they are unstable and untested.
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.