Table of Contents

Class AIDevKitHub

Namespace
Glitch9.AIDevKit

Exposed central hub for AIDevKit for customization and user context.

public static class AIDevKitHub
Inheritance
object
AIDevKitHub

Properties

SafetyIdentifier

A unique identifier for safety and monitoring purposes. It prioritizes the current user's ID, falls back to the application identifier, and defaults to "My Unity Project" if neither is available.

public static string SafetyIdentifier { get; }

Property Value

string

UserContext

If your project has user accounts, set this to the current user of your application.

public static IUserProfile UserContext { get; set; }

Property Value

IUserProfile

Methods

GetExternalChatPath()

public static string GetExternalChatPath()

Returns

string

GetExternalVectorStoresPath(string)

public static string GetExternalVectorStoresPath(string id)

Parameters

id string

Returns

string

RegisterCustomConversationHandlers(IConversationStore)

public static void RegisterCustomConversationHandlers(IConversationStore storeHandler)

Parameters

storeHandler IConversationStore

UnregisterCustomConversationHandlers()

public static void UnregisterCustomConversationHandlers()