ailia_llm  1.3.1.0
How to import the Unity package and run the sample program

Required Unity version

Unity must be version 2021.3.10f1 or later.

How to import the Unity plugin

In your project, import ailia_llm.unity_package which is present in the unity folder.

Structure of the Unity plugin folder

The contents structure of the folder containing the Unity package for ailia LLM is stuctured the follwing way:

Folder Contents
ailia_llm/Runtime Contains the interface for ailia LLM
ailia_llm/Runtime/Plugins Contains the library for ailia LLM

Model file download

Download the specified model file and place it in the StreamingAssets folder.

https://huggingface.co/bartowski/gemma-2-2b-it-GGUF/resolve/main/gemma-2-2b-it-Q4_K_M.gguf?download=true

How to run the sample app

Open the file Assets/Samples/Scenes/SampleScene.unity in Unity, then run it.