LLM for Unity
v2.2.5
Create characters in Unity with LLMs!
|
Static Public Member Functions | |
static void | SetDownloadProgress (float progress) |
static Task< bool > | Setup () |
static async Task< bool > | SetupOnce () |
static void | SetTemplate (string filename, string chatTemplate) |
static void | SetTemplate (ModelEntry entry, string chatTemplate) |
static ModelEntry | Get (string path) |
static string | GetAssetPath (string filename) |
static int | Num (bool lora) |
static int | NumModels () |
static int | NumLoras () |
static void | Register (LLM llm) |
static void | Unregister (LLM llm) |
static void | LoadFromDisk () |
static string | AddEntry (ModelEntry entry) |
static string | AddEntry (string path, bool lora=false, string label=null, string url=null) |
static async Task< string > | Download (string url, bool lora=false, bool log=false, string label=null) |
static string | Load (string path, bool lora=false, bool log=false, string label=null) |
static async Task< string > | DownloadModel (string url, bool log=false, string label=null) |
static async Task< string > | DownloadLora (string url, bool log=false, string label=null) |
static string | LoadModel (string path, bool log=false, string label=null) |
static string | LoadLora (string path, bool log=false, string label=null) |
static void | SetURL (string filename, string url) |
static void | SetURL (ModelEntry entry, string url) |
static void | SetIncludeInBuild (string filename, bool includeInBuild) |
static void | SetIncludeInBuild (ModelEntry entry, bool includeInBuild) |
static void | SetDownloadOnStart (bool value) |
static void | Remove (string filename) |
static void | Remove (ModelEntry entry) |
static void | SetModelProgress (float progress) |
static void | SetLoraProgress (float progress) |
static void | Save () |
static void | Load () |
static void | SaveToDisk () |
static void | Build (ActionCallback copyCallback) |
Static Public Attributes | |
static bool | downloadOnStart = false |
static List< ModelEntry > | modelEntries = new List<ModelEntry>() |
static float | downloadProgress = 1 |
static List< Callback< float > > | downloadProgressCallbacks = new List<Callback<float>>() |
static float | modelProgress = 1 |
static float | loraProgress = 1 |
Definition at line 69 of file LLMManager.cs.
|
inlinestatic |
Definition at line 245 of file LLMManager.cs.
|
inlinestatic |
Definition at line 268 of file LLMManager.cs.
|
inlinestatic |
Definition at line 443 of file LLMManager.cs.
|
inlinestatic |
Definition at line 273 of file LLMManager.cs.
|
inlinestatic |
Definition at line 334 of file LLMManager.cs.
|
inlinestatic |
Definition at line 329 of file LLMManager.cs.
|
inlinestatic |
Definition at line 173 of file LLMManager.cs.
|
inlinestatic |
Definition at line 184 of file LLMManager.cs.
|
inlinestatic |
Definition at line 422 of file LLMManager.cs.
|
inlinestatic |
Definition at line 318 of file LLMManager.cs.
|
inlinestatic |
Definition at line 225 of file LLMManager.cs.
|
inlinestatic |
Definition at line 344 of file LLMManager.cs.
|
inlinestatic |
Definition at line 339 of file LLMManager.cs.
|
inlinestatic |
Definition at line 195 of file LLMManager.cs.
|
inlinestatic |
Definition at line 210 of file LLMManager.cs.
|
inlinestatic |
Definition at line 205 of file LLMManager.cs.
|
inlinestatic |
Definition at line 215 of file LLMManager.cs.
|
inlinestatic |
Definition at line 393 of file LLMManager.cs.
|
inlinestatic |
Definition at line 388 of file LLMManager.cs.
|
inlinestatic |
Definition at line 415 of file LLMManager.cs.
|
inlinestatic |
Definition at line 431 of file LLMManager.cs.
|
inlinestatic |
Definition at line 373 of file LLMManager.cs.
|
inlinestatic |
Definition at line 83 of file LLMManager.cs.
|
inlinestatic |
Definition at line 366 of file LLMManager.cs.
|
inlinestatic |
Definition at line 361 of file LLMManager.cs.
|
inlinestatic |
Definition at line 410 of file LLMManager.cs.
|
inlinestatic |
Definition at line 405 of file LLMManager.cs.
|
inlinestatic |
Definition at line 160 of file LLMManager.cs.
|
inlinestatic |
Definition at line 155 of file LLMManager.cs.
|
inlinestatic |
Definition at line 89 of file LLMManager.cs.
|
inlinestatic |
Definition at line 98 of file LLMManager.cs.
|
inlinestatic |
Definition at line 354 of file LLMManager.cs.
|
inlinestatic |
Definition at line 349 of file LLMManager.cs.
|
inlinestatic |
Definition at line 220 of file LLMManager.cs.
|
static |
Definition at line 71 of file LLMManager.cs.
|
static |
Definition at line 75 of file LLMManager.cs.
|
static |
Definition at line 76 of file LLMManager.cs.
|
static |
Definition at line 237 of file LLMManager.cs.
|
static |
Definition at line 72 of file LLMManager.cs.
|
static |
Definition at line 236 of file LLMManager.cs.