Search Results for

    Show / Hide Table of Contents

    XRC AI

    edu.cornell.xrc.toolkit.ai

    Package for integrating LLMs into XRC Toolkit. The package contains a simple example using single or standalone LLMs by integrating the relatively new abstractions frmo Microsoft.Extension.AI, as showcased in the XRC AI sample. A more advanced approach can be found in the XRC Agents package, which uses Microsoft's Semantic Kernel and the Agent Framework.

    API keys: For handling your OpenAI API key you will use a scriptable object. Right-click in your Unity project and select XRC -> XRC API Key. Add your API key as the key value. Make sure to store this file in a gitignored location.

    Technical details

    Package

    • Name: edu.cornell.xrc.toolkit.ai
    • Display name: XRC AI
    • Version: 0.1.1
    • Git URL

    Requirements

    This version of the XRC AI package is compatible with the following versions of the Unity Editor:

    • 6000.0 and later

    Installation

    To install the package, follow these steps:

    1. In the Unity Editor, click on Window > Package Manager
    2. Click the + button and choose Add package from git URL option
    3. Enter the package's Git URL. Make sure the URL has ".git" ending.
    4. If the repository is private, you will be asked to authenticate via your GitHub account. If you haven't been granted access to the repository you will not be able to install the package.
    5. The package should be installed into your project.
    6. You can download the package samples from under the Samples tab in the Package Manager

    From Unity: Install a UPM package from a Git URL

    Note

    Even though the package documentation is public, the package itself and its repository might be private and not accessible. If you haven't been granted access to the repository you will not be able to install the package.

    In This Article
    Back to top XR Collaboratory