https://github.com/uralstech/uai.abstraction
Contains abstraction for common AI APIs so that different LLM providers like Gemini and OpenAI can be used through a unified interface.
https://github.com/uralstech/uai.abstraction
api chatgpt-api gemini gemini-ai gemini-api gemini-client google-gemini gpt integration openai openai-api openai-api-client openupm unity unity-integration unity-package unity-packages unity3d
Last synced: 8 months ago
JSON representation
Contains abstraction for common AI APIs so that different LLM providers like Gemini and OpenAI can be used through a unified interface.
- Host: GitHub
- URL: https://github.com/uralstech/uai.abstraction
- Owner: Uralstech
- License: apache-2.0
- Created: 2025-01-02T18:48:04.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-01-04T16:57:49.000Z (over 1 year ago)
- Last Synced: 2025-10-11T03:04:33.940Z (8 months ago)
- Topics: api, chatgpt-api, gemini, gemini-ai, gemini-api, gemini-client, google-gemini, gpt, integration, openai, openai-api, openai-api-client, openupm, unity, unity-integration, unity-package, unity-packages, unity3d
- Language: C#
- Homepage: https://uralstech.github.io/UAI.Abstraction/
- Size: 2.6 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# 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.
[](https://openupm.com/packages/com.uralstech.uai.abstraction/)
[](https://openupm.com/packages/com.uralstech.uai.abstraction/)
## Installation
Requires Unity 6.0 because of the plugin's usage of [*Awaitable*](https://docs.unity3d.com/6000.0/Documentation/ScriptReference/Awaitable.html). 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 or `APIReferenceManual.pdf` and `Documentation.pdf` in the package documentation for the reference manual and tutorial.