Skip to content
This repository was archived by the owner on Feb 25, 2026. It is now read-only.

Uralstech/UAI.Abstraction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

openupm openupm

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.

OpenUPM

  1. Open project settings
  2. Select Package Manager
  3. Add the OpenUPM package registry:
    • Name: OpenUPM
    • URL: https://package.openupm.com
    • Scope(s)
      • com.uralstech
  4. Open the Unity Package Manager window (Window -> Package Manager)
  5. Change the registry from Unity to My Registries
  6. Add the UAI.Abstraction package

Unity Package Manager

  1. Open the Unity Package Manager window (Window -> Package Manager)
  2. Select the + icon and Add package from git URL...
  3. Paste the UPM branch URL and press enter:
    • https://github.com/Uralstech/UAI.Abstraction.git#upm

GitHub Clone

  1. Clone or download the repository from the desired branch (master, preview/unstable)
  2. Drag the package folder UAI.Abstraction/UAI.Abstraction/Packages/com.uralstech.uai.abstraction into your Unity project's Packages folder

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.