Class AIDevKitHub
Exposed central hub for AIDevKit for customization and user context.
public static class AIDevKitHub
- Inheritance
-
objectAIDevKitHub
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
Methods
GetExternalChatPath()
public static string GetExternalChatPath()
Returns
- string
GetExternalVectorStoresPath(string)
public static string GetExternalVectorStoresPath(string id)
Parameters
idstring
Returns
- string
RegisterCustomConversationHandlers(IConversationStore)
public static void RegisterCustomConversationHandlers(IConversationStore storeHandler)
Parameters
storeHandlerIConversationStore
UnregisterCustomConversationHandlers()
public static void UnregisterCustomConversationHandlers()