diff --git a/app/MindWork AI Studio/Plugins/configuration/plugin.lua b/app/MindWork AI Studio/Plugins/configuration/plugin.lua index b81e8686..e7d5005b 100644 --- a/app/MindWork AI Studio/Plugins/configuration/plugin.lua +++ b/app/MindWork AI Studio/Plugins/configuration/plugin.lua @@ -68,4 +68,28 @@ CONFIG["SETTINGS"] = {} -- Configure the user permission to add providers: -- Allowed values are: true, false --- CONFIG["SETTINGS"]["DataApp.AllowUserToAddProvider"] = false \ No newline at end of file +-- CONFIG["SETTINGS"]["DataApp.AllowUserToAddProvider"] = false + +-- Example chat templates for this configuration: +CONFIG["CHAT_TEMPLATES"] = {} + +-- A simple example chat template: +CONFIG["CHAT_TEMPLATES"][#CONFIG["CHAT_TEMPLATES"]+1] = { + ["Id"] = "00000000-0000-0000-0000-000000000000", + ["Name"] = "", + ["SystemPrompt"] = "You are 's helpful AI assistant for .", + ["PredefinedUserPrompt"] = "Please help me with ...", + ["AllowProfileUsage"] = true, + ["ExampleConversation"] = { + { + -- Allowed values are: USER, AI, SYSTEM + ["Role"] = "USER", + ["Content"] = "Hello! Can you help me with a quick task?" + }, + { + -- Allowed values are: USER, AI, SYSTEM + ["Role"] = "AI", + ["Content"] = "Of course. What do you need?" + } + } +}