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.
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
Unity
toMy Registries
- Add the
UAI.Abstraction
package
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.