From b07117ea6f706327f1b91031bf18e7e1b5643e16 Mon Sep 17 00:00:00 2001 From: Haiping Chen Date: Thu, 11 Jan 2024 08:03:25 -0600 Subject: [PATCH] Relocate data file. --- .../BotSharp.Core/BotSharp.Core.csproj | 30 ++++++ .../Repository/FileRepository.cs | 2 + .../agent.json | 0 .../instruction.liquid | 0 .../next_step_prompt.hf_planner.liquid | 0 .../templates/next_step_prompt.liquid | 0 .../templates/response_with_function.liquid | 0 .../templates/welcome.liquid | 0 .../BotSharp.Plugin.KnowledgeBase.csproj | 24 +++++ .../agent.json | 0 .../functions.json | 0 .../instruction.liquid | 0 .../BotSharp.Plugin.RoutingSpeeder.csproj | 20 +++- .../data/models/dbpedia.ftz | Bin .../data/models/intent-classifier.h5 | Bin .../data/models/label.txt | 0 .../BotSharp.Plugin.WebDriver.csproj | 23 ++++ .../agent.json | 0 .../functions.json | 18 ++++ .../instruction.liquid | 0 .../templates/extract_data.liquid | 0 .../templates/html_parser.liquid | 0 src/WebStarter/WebStarter.csproj | 3 +- .../BotSharp.Plugin.PizzaBot.csproj | 100 +++++++++++++++++- .../agent.json | 0 .../functions.json | 0 .../instruction.liquid | 0 .../agent.json | 0 .../functions.json | 0 .../instruction.liquid | 0 .../responses/func.get_pizza_price.0.liquid | 0 .../agent.json | 0 .../instruction.liquid | 0 .../templates/instruction.executor.liquid | 0 .../templates/instruction.reviewer.liquid | 0 .../templates/task.place_pizza_order.liquid | 0 .../agent.json | 0 .../functions.json | 0 .../instruction.liquid | 0 .../agents.json | 0 .../user.json | 0 .../agents.json | 0 .../user.json | 0 .../agents.json | 0 .../user.json | 0 .../agents.json | 0 .../user.json | 0 47 files changed, 216 insertions(+), 4 deletions(-) rename src/{WebStarter => Infrastructure/BotSharp.Core}/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/agent.json (100%) rename src/{WebStarter => Infrastructure/BotSharp.Core}/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/instruction.liquid (100%) rename src/{WebStarter => Infrastructure/BotSharp.Core}/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/templates/next_step_prompt.hf_planner.liquid (100%) rename src/{WebStarter => Infrastructure/BotSharp.Core}/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/templates/next_step_prompt.liquid (100%) rename src/{WebStarter => Infrastructure/BotSharp.Core}/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/templates/response_with_function.liquid (100%) rename src/{WebStarter => Infrastructure/BotSharp.Core}/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/templates/welcome.liquid (100%) rename src/Plugins/BotSharp.Plugin.KnowledgeBase/{ => data}/agents/f5679799-ba89-4fef-936a-bcc311e5f14d/agent.json (100%) rename src/Plugins/BotSharp.Plugin.KnowledgeBase/{ => data}/agents/f5679799-ba89-4fef-936a-bcc311e5f14d/functions.json (100%) rename src/Plugins/BotSharp.Plugin.KnowledgeBase/{ => data}/agents/f5679799-ba89-4fef-936a-bcc311e5f14d/instruction.liquid (100%) rename src/{WebStarter => Plugins/BotSharp.Plugin.RoutingSpeeder}/data/models/dbpedia.ftz (100%) rename src/{WebStarter => Plugins/BotSharp.Plugin.RoutingSpeeder}/data/models/intent-classifier.h5 (100%) rename src/{WebStarter => Plugins/BotSharp.Plugin.RoutingSpeeder}/data/models/label.txt (100%) rename src/Plugins/BotSharp.Plugin.WebDriver/{ => data}/agents/f3ae2a0f-e6ba-4ee1-a0b9-75d7431ff32b/agent.json (100%) rename src/Plugins/BotSharp.Plugin.WebDriver/{ => data}/agents/f3ae2a0f-e6ba-4ee1-a0b9-75d7431ff32b/functions.json (78%) rename src/Plugins/BotSharp.Plugin.WebDriver/{ => data}/agents/f3ae2a0f-e6ba-4ee1-a0b9-75d7431ff32b/instruction.liquid (100%) rename src/Plugins/BotSharp.Plugin.WebDriver/{ => data}/agents/f3ae2a0f-e6ba-4ee1-a0b9-75d7431ff32b/templates/extract_data.liquid (100%) rename src/Plugins/BotSharp.Plugin.WebDriver/{ => data}/agents/f3ae2a0f-e6ba-4ee1-a0b9-75d7431ff32b/templates/html_parser.liquid (100%) rename tests/BotSharp.Plugin.PizzaBot/{ => data}/agents/b284db86-e9c2-4c25-a59e-4649797dd130/agent.json (100%) rename tests/BotSharp.Plugin.PizzaBot/{ => data}/agents/b284db86-e9c2-4c25-a59e-4649797dd130/functions.json (100%) rename tests/BotSharp.Plugin.PizzaBot/{ => data}/agents/b284db86-e9c2-4c25-a59e-4649797dd130/instruction.liquid (100%) rename tests/BotSharp.Plugin.PizzaBot/{ => data}/agents/c2b57a74-ae4e-4c81-b3ad-9ac5bff982bd/agent.json (100%) rename tests/BotSharp.Plugin.PizzaBot/{ => data}/agents/c2b57a74-ae4e-4c81-b3ad-9ac5bff982bd/functions.json (100%) rename tests/BotSharp.Plugin.PizzaBot/{ => data}/agents/c2b57a74-ae4e-4c81-b3ad-9ac5bff982bd/instruction.liquid (100%) rename tests/BotSharp.Plugin.PizzaBot/{ => data}/agents/c2b57a74-ae4e-4c81-b3ad-9ac5bff982bd/responses/func.get_pizza_price.0.liquid (100%) rename tests/BotSharp.Plugin.PizzaBot/{ => data}/agents/dfd9b46d-d00c-40af-8a75-3fbdc2b89869/agent.json (100%) rename tests/BotSharp.Plugin.PizzaBot/{ => data}/agents/dfd9b46d-d00c-40af-8a75-3fbdc2b89869/instruction.liquid (100%) rename tests/BotSharp.Plugin.PizzaBot/{ => data}/agents/dfd9b46d-d00c-40af-8a75-3fbdc2b89869/templates/instruction.executor.liquid (100%) rename tests/BotSharp.Plugin.PizzaBot/{ => data}/agents/dfd9b46d-d00c-40af-8a75-3fbdc2b89869/templates/instruction.reviewer.liquid (100%) rename tests/BotSharp.Plugin.PizzaBot/{ => data}/agents/dfd9b46d-d00c-40af-8a75-3fbdc2b89869/templates/task.place_pizza_order.liquid (100%) rename tests/BotSharp.Plugin.PizzaBot/{ => data}/agents/fe8c60aa-b114-4ef3-93cb-a8efeac80f75/agent.json (100%) rename tests/BotSharp.Plugin.PizzaBot/{ => data}/agents/fe8c60aa-b114-4ef3-93cb-a8efeac80f75/functions.json (100%) rename tests/BotSharp.Plugin.PizzaBot/{ => data}/agents/fe8c60aa-b114-4ef3-93cb-a8efeac80f75/instruction.liquid (100%) rename {src/WebStarter => tests/BotSharp.Plugin.PizzaBot}/data/users/10d12798-08fb-4aa6-977b-5dd94d82dbfe/agents.json (100%) rename {src/WebStarter => tests/BotSharp.Plugin.PizzaBot}/data/users/10d12798-08fb-4aa6-977b-5dd94d82dbfe/user.json (100%) rename {src/WebStarter => tests/BotSharp.Plugin.PizzaBot}/data/users/456e35c5-caf0-4d45-9084-b44a8ca717e4/agents.json (100%) rename {src/WebStarter => tests/BotSharp.Plugin.PizzaBot}/data/users/456e35c5-caf0-4d45-9084-b44a8ca717e4/user.json (100%) rename {src/WebStarter => tests/BotSharp.Plugin.PizzaBot}/data/users/d0e6680d-03d5-4ed8-bdcd-aa7d86f2a1bc/agents.json (100%) rename {src/WebStarter => tests/BotSharp.Plugin.PizzaBot}/data/users/d0e6680d-03d5-4ed8-bdcd-aa7d86f2a1bc/user.json (100%) rename {src/WebStarter => tests/BotSharp.Plugin.PizzaBot}/data/users/e465af5f-044f-414b-b670-92834929b96c/agents.json (100%) rename {src/WebStarter => tests/BotSharp.Plugin.PizzaBot}/data/users/e465af5f-044f-414b-b670-92834929b96c/user.json (100%) diff --git a/src/Infrastructure/BotSharp.Core/BotSharp.Core.csproj b/src/Infrastructure/BotSharp.Core/BotSharp.Core.csproj index 8099a315..4c32c9ea 100644 --- a/src/Infrastructure/BotSharp.Core/BotSharp.Core.csproj +++ b/src/Infrastructure/BotSharp.Core/BotSharp.Core.csproj @@ -44,6 +44,36 @@ 1701;1702 + + + + + + + + + + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + True diff --git a/src/Infrastructure/BotSharp.Core/Repository/FileRepository.cs b/src/Infrastructure/BotSharp.Core/Repository/FileRepository.cs index fb20db1f..f862e6a2 100644 --- a/src/Infrastructure/BotSharp.Core/Repository/FileRepository.cs +++ b/src/Infrastructure/BotSharp.Core/Repository/FileRepository.cs @@ -51,6 +51,8 @@ public class FileRepository : IBotSharpRepository AllowTrailingCommas = true, Encoder = JavaScriptEncoder.UnsafeRelaxedJsonEscaping }; + + _dbSettings.FileRepository = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, _dbSettings.FileRepository); } private List _users = new List(); diff --git a/src/WebStarter/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/agent.json b/src/Infrastructure/BotSharp.Core/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/agent.json similarity index 100% rename from src/WebStarter/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/agent.json rename to src/Infrastructure/BotSharp.Core/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/agent.json diff --git a/src/WebStarter/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/instruction.liquid b/src/Infrastructure/BotSharp.Core/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/instruction.liquid similarity index 100% rename from src/WebStarter/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/instruction.liquid rename to src/Infrastructure/BotSharp.Core/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/instruction.liquid diff --git a/src/WebStarter/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/templates/next_step_prompt.hf_planner.liquid b/src/Infrastructure/BotSharp.Core/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/templates/next_step_prompt.hf_planner.liquid similarity index 100% rename from src/WebStarter/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/templates/next_step_prompt.hf_planner.liquid rename to src/Infrastructure/BotSharp.Core/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/templates/next_step_prompt.hf_planner.liquid diff --git a/src/WebStarter/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/templates/next_step_prompt.liquid b/src/Infrastructure/BotSharp.Core/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/templates/next_step_prompt.liquid similarity index 100% rename from src/WebStarter/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/templates/next_step_prompt.liquid rename to src/Infrastructure/BotSharp.Core/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/templates/next_step_prompt.liquid diff --git a/src/WebStarter/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/templates/response_with_function.liquid b/src/Infrastructure/BotSharp.Core/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/templates/response_with_function.liquid similarity index 100% rename from src/WebStarter/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/templates/response_with_function.liquid rename to src/Infrastructure/BotSharp.Core/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/templates/response_with_function.liquid diff --git a/src/WebStarter/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/templates/welcome.liquid b/src/Infrastructure/BotSharp.Core/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/templates/welcome.liquid similarity index 100% rename from src/WebStarter/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/templates/welcome.liquid rename to src/Infrastructure/BotSharp.Core/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/templates/welcome.liquid diff --git a/src/Plugins/BotSharp.Plugin.KnowledgeBase/BotSharp.Plugin.KnowledgeBase.csproj b/src/Plugins/BotSharp.Plugin.KnowledgeBase/BotSharp.Plugin.KnowledgeBase.csproj index 2931236f..75c72540 100644 --- a/src/Plugins/BotSharp.Plugin.KnowledgeBase/BotSharp.Plugin.KnowledgeBase.csproj +++ b/src/Plugins/BotSharp.Plugin.KnowledgeBase/BotSharp.Plugin.KnowledgeBase.csproj @@ -9,6 +9,30 @@ True + + + + + + + + + + + + + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + diff --git a/src/Plugins/BotSharp.Plugin.KnowledgeBase/agents/f5679799-ba89-4fef-936a-bcc311e5f14d/agent.json b/src/Plugins/BotSharp.Plugin.KnowledgeBase/data/agents/f5679799-ba89-4fef-936a-bcc311e5f14d/agent.json similarity index 100% rename from src/Plugins/BotSharp.Plugin.KnowledgeBase/agents/f5679799-ba89-4fef-936a-bcc311e5f14d/agent.json rename to src/Plugins/BotSharp.Plugin.KnowledgeBase/data/agents/f5679799-ba89-4fef-936a-bcc311e5f14d/agent.json diff --git a/src/Plugins/BotSharp.Plugin.KnowledgeBase/agents/f5679799-ba89-4fef-936a-bcc311e5f14d/functions.json b/src/Plugins/BotSharp.Plugin.KnowledgeBase/data/agents/f5679799-ba89-4fef-936a-bcc311e5f14d/functions.json similarity index 100% rename from src/Plugins/BotSharp.Plugin.KnowledgeBase/agents/f5679799-ba89-4fef-936a-bcc311e5f14d/functions.json rename to src/Plugins/BotSharp.Plugin.KnowledgeBase/data/agents/f5679799-ba89-4fef-936a-bcc311e5f14d/functions.json diff --git a/src/Plugins/BotSharp.Plugin.KnowledgeBase/agents/f5679799-ba89-4fef-936a-bcc311e5f14d/instruction.liquid b/src/Plugins/BotSharp.Plugin.KnowledgeBase/data/agents/f5679799-ba89-4fef-936a-bcc311e5f14d/instruction.liquid similarity index 100% rename from src/Plugins/BotSharp.Plugin.KnowledgeBase/agents/f5679799-ba89-4fef-936a-bcc311e5f14d/instruction.liquid rename to src/Plugins/BotSharp.Plugin.KnowledgeBase/data/agents/f5679799-ba89-4fef-936a-bcc311e5f14d/instruction.liquid diff --git a/src/Plugins/BotSharp.Plugin.RoutingSpeeder/BotSharp.Plugin.RoutingSpeeder.csproj b/src/Plugins/BotSharp.Plugin.RoutingSpeeder/BotSharp.Plugin.RoutingSpeeder.csproj index 63a83977..fb01b03c 100644 --- a/src/Plugins/BotSharp.Plugin.RoutingSpeeder/BotSharp.Plugin.RoutingSpeeder.csproj +++ b/src/Plugins/BotSharp.Plugin.RoutingSpeeder/BotSharp.Plugin.RoutingSpeeder.csproj @@ -1,4 +1,4 @@ - + netstandard2.1 @@ -9,6 +9,24 @@ $(GenerateDocumentationFile) + + + + + + + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + diff --git a/src/WebStarter/data/models/dbpedia.ftz b/src/Plugins/BotSharp.Plugin.RoutingSpeeder/data/models/dbpedia.ftz similarity index 100% rename from src/WebStarter/data/models/dbpedia.ftz rename to src/Plugins/BotSharp.Plugin.RoutingSpeeder/data/models/dbpedia.ftz diff --git a/src/WebStarter/data/models/intent-classifier.h5 b/src/Plugins/BotSharp.Plugin.RoutingSpeeder/data/models/intent-classifier.h5 similarity index 100% rename from src/WebStarter/data/models/intent-classifier.h5 rename to src/Plugins/BotSharp.Plugin.RoutingSpeeder/data/models/intent-classifier.h5 diff --git a/src/WebStarter/data/models/label.txt b/src/Plugins/BotSharp.Plugin.RoutingSpeeder/data/models/label.txt similarity index 100% rename from src/WebStarter/data/models/label.txt rename to src/Plugins/BotSharp.Plugin.RoutingSpeeder/data/models/label.txt diff --git a/src/Plugins/BotSharp.Plugin.WebDriver/BotSharp.Plugin.WebDriver.csproj b/src/Plugins/BotSharp.Plugin.WebDriver/BotSharp.Plugin.WebDriver.csproj index aee2baa4..a7026a9e 100644 --- a/src/Plugins/BotSharp.Plugin.WebDriver/BotSharp.Plugin.WebDriver.csproj +++ b/src/Plugins/BotSharp.Plugin.WebDriver/BotSharp.Plugin.WebDriver.csproj @@ -14,9 +14,32 @@ + + + + + + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + diff --git a/src/Plugins/BotSharp.Plugin.WebDriver/agents/f3ae2a0f-e6ba-4ee1-a0b9-75d7431ff32b/agent.json b/src/Plugins/BotSharp.Plugin.WebDriver/data/agents/f3ae2a0f-e6ba-4ee1-a0b9-75d7431ff32b/agent.json similarity index 100% rename from src/Plugins/BotSharp.Plugin.WebDriver/agents/f3ae2a0f-e6ba-4ee1-a0b9-75d7431ff32b/agent.json rename to src/Plugins/BotSharp.Plugin.WebDriver/data/agents/f3ae2a0f-e6ba-4ee1-a0b9-75d7431ff32b/agent.json diff --git a/src/Plugins/BotSharp.Plugin.WebDriver/agents/f3ae2a0f-e6ba-4ee1-a0b9-75d7431ff32b/functions.json b/src/Plugins/BotSharp.Plugin.WebDriver/data/agents/f3ae2a0f-e6ba-4ee1-a0b9-75d7431ff32b/functions.json similarity index 78% rename from src/Plugins/BotSharp.Plugin.WebDriver/agents/f3ae2a0f-e6ba-4ee1-a0b9-75d7431ff32b/functions.json rename to src/Plugins/BotSharp.Plugin.WebDriver/data/agents/f3ae2a0f-e6ba-4ee1-a0b9-75d7431ff32b/functions.json index cbc554e1..78128f01 100644 --- a/src/Plugins/BotSharp.Plugin.WebDriver/agents/f3ae2a0f-e6ba-4ee1-a0b9-75d7431ff32b/functions.json +++ b/src/Plugins/BotSharp.Plugin.WebDriver/data/agents/f3ae2a0f-e6ba-4ee1-a0b9-75d7431ff32b/functions.json @@ -59,6 +59,24 @@ "required": ["element_name", "input_text"] } }, + { + "name": "change_list_value", + "description": "Update value from dropdown list or radio button", + "parameters": { + "type": "object", + "properties": { + "element_name": { + "type": "string", + "description": "the html input box element name." + }, + "update_value": { + "type": "string", + "description": "the value in the list." + } + }, + "required": ["element_name", "update_value"] + } + }, { "name": "input_user_password", "description": "Input password in current web page", diff --git a/src/Plugins/BotSharp.Plugin.WebDriver/agents/f3ae2a0f-e6ba-4ee1-a0b9-75d7431ff32b/instruction.liquid b/src/Plugins/BotSharp.Plugin.WebDriver/data/agents/f3ae2a0f-e6ba-4ee1-a0b9-75d7431ff32b/instruction.liquid similarity index 100% rename from src/Plugins/BotSharp.Plugin.WebDriver/agents/f3ae2a0f-e6ba-4ee1-a0b9-75d7431ff32b/instruction.liquid rename to src/Plugins/BotSharp.Plugin.WebDriver/data/agents/f3ae2a0f-e6ba-4ee1-a0b9-75d7431ff32b/instruction.liquid diff --git a/src/Plugins/BotSharp.Plugin.WebDriver/agents/f3ae2a0f-e6ba-4ee1-a0b9-75d7431ff32b/templates/extract_data.liquid b/src/Plugins/BotSharp.Plugin.WebDriver/data/agents/f3ae2a0f-e6ba-4ee1-a0b9-75d7431ff32b/templates/extract_data.liquid similarity index 100% rename from src/Plugins/BotSharp.Plugin.WebDriver/agents/f3ae2a0f-e6ba-4ee1-a0b9-75d7431ff32b/templates/extract_data.liquid rename to src/Plugins/BotSharp.Plugin.WebDriver/data/agents/f3ae2a0f-e6ba-4ee1-a0b9-75d7431ff32b/templates/extract_data.liquid diff --git a/src/Plugins/BotSharp.Plugin.WebDriver/agents/f3ae2a0f-e6ba-4ee1-a0b9-75d7431ff32b/templates/html_parser.liquid b/src/Plugins/BotSharp.Plugin.WebDriver/data/agents/f3ae2a0f-e6ba-4ee1-a0b9-75d7431ff32b/templates/html_parser.liquid similarity index 100% rename from src/Plugins/BotSharp.Plugin.WebDriver/agents/f3ae2a0f-e6ba-4ee1-a0b9-75d7431ff32b/templates/html_parser.liquid rename to src/Plugins/BotSharp.Plugin.WebDriver/data/agents/f3ae2a0f-e6ba-4ee1-a0b9-75d7431ff32b/templates/html_parser.liquid diff --git a/src/WebStarter/WebStarter.csproj b/src/WebStarter/WebStarter.csproj index ccc84dea..b430eb3f 100644 --- a/src/WebStarter/WebStarter.csproj +++ b/src/WebStarter/WebStarter.csproj @@ -29,7 +29,7 @@ - + @@ -62,7 +62,6 @@ - diff --git a/tests/BotSharp.Plugin.PizzaBot/BotSharp.Plugin.PizzaBot.csproj b/tests/BotSharp.Plugin.PizzaBot/BotSharp.Plugin.PizzaBot.csproj index b4c62dd8..1ba90eb7 100644 --- a/tests/BotSharp.Plugin.PizzaBot/BotSharp.Plugin.PizzaBot.csproj +++ b/tests/BotSharp.Plugin.PizzaBot/BotSharp.Plugin.PizzaBot.csproj @@ -1,4 +1,4 @@ - + netstandard2.1 @@ -19,6 +19,104 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + diff --git a/tests/BotSharp.Plugin.PizzaBot/agents/b284db86-e9c2-4c25-a59e-4649797dd130/agent.json b/tests/BotSharp.Plugin.PizzaBot/data/agents/b284db86-e9c2-4c25-a59e-4649797dd130/agent.json similarity index 100% rename from tests/BotSharp.Plugin.PizzaBot/agents/b284db86-e9c2-4c25-a59e-4649797dd130/agent.json rename to tests/BotSharp.Plugin.PizzaBot/data/agents/b284db86-e9c2-4c25-a59e-4649797dd130/agent.json diff --git a/tests/BotSharp.Plugin.PizzaBot/agents/b284db86-e9c2-4c25-a59e-4649797dd130/functions.json b/tests/BotSharp.Plugin.PizzaBot/data/agents/b284db86-e9c2-4c25-a59e-4649797dd130/functions.json similarity index 100% rename from tests/BotSharp.Plugin.PizzaBot/agents/b284db86-e9c2-4c25-a59e-4649797dd130/functions.json rename to tests/BotSharp.Plugin.PizzaBot/data/agents/b284db86-e9c2-4c25-a59e-4649797dd130/functions.json diff --git a/tests/BotSharp.Plugin.PizzaBot/agents/b284db86-e9c2-4c25-a59e-4649797dd130/instruction.liquid b/tests/BotSharp.Plugin.PizzaBot/data/agents/b284db86-e9c2-4c25-a59e-4649797dd130/instruction.liquid similarity index 100% rename from tests/BotSharp.Plugin.PizzaBot/agents/b284db86-e9c2-4c25-a59e-4649797dd130/instruction.liquid rename to tests/BotSharp.Plugin.PizzaBot/data/agents/b284db86-e9c2-4c25-a59e-4649797dd130/instruction.liquid diff --git a/tests/BotSharp.Plugin.PizzaBot/agents/c2b57a74-ae4e-4c81-b3ad-9ac5bff982bd/agent.json b/tests/BotSharp.Plugin.PizzaBot/data/agents/c2b57a74-ae4e-4c81-b3ad-9ac5bff982bd/agent.json similarity index 100% rename from tests/BotSharp.Plugin.PizzaBot/agents/c2b57a74-ae4e-4c81-b3ad-9ac5bff982bd/agent.json rename to tests/BotSharp.Plugin.PizzaBot/data/agents/c2b57a74-ae4e-4c81-b3ad-9ac5bff982bd/agent.json diff --git a/tests/BotSharp.Plugin.PizzaBot/agents/c2b57a74-ae4e-4c81-b3ad-9ac5bff982bd/functions.json b/tests/BotSharp.Plugin.PizzaBot/data/agents/c2b57a74-ae4e-4c81-b3ad-9ac5bff982bd/functions.json similarity index 100% rename from tests/BotSharp.Plugin.PizzaBot/agents/c2b57a74-ae4e-4c81-b3ad-9ac5bff982bd/functions.json rename to tests/BotSharp.Plugin.PizzaBot/data/agents/c2b57a74-ae4e-4c81-b3ad-9ac5bff982bd/functions.json diff --git a/tests/BotSharp.Plugin.PizzaBot/agents/c2b57a74-ae4e-4c81-b3ad-9ac5bff982bd/instruction.liquid b/tests/BotSharp.Plugin.PizzaBot/data/agents/c2b57a74-ae4e-4c81-b3ad-9ac5bff982bd/instruction.liquid similarity index 100% rename from tests/BotSharp.Plugin.PizzaBot/agents/c2b57a74-ae4e-4c81-b3ad-9ac5bff982bd/instruction.liquid rename to tests/BotSharp.Plugin.PizzaBot/data/agents/c2b57a74-ae4e-4c81-b3ad-9ac5bff982bd/instruction.liquid diff --git a/tests/BotSharp.Plugin.PizzaBot/agents/c2b57a74-ae4e-4c81-b3ad-9ac5bff982bd/responses/func.get_pizza_price.0.liquid b/tests/BotSharp.Plugin.PizzaBot/data/agents/c2b57a74-ae4e-4c81-b3ad-9ac5bff982bd/responses/func.get_pizza_price.0.liquid similarity index 100% rename from tests/BotSharp.Plugin.PizzaBot/agents/c2b57a74-ae4e-4c81-b3ad-9ac5bff982bd/responses/func.get_pizza_price.0.liquid rename to tests/BotSharp.Plugin.PizzaBot/data/agents/c2b57a74-ae4e-4c81-b3ad-9ac5bff982bd/responses/func.get_pizza_price.0.liquid diff --git a/tests/BotSharp.Plugin.PizzaBot/agents/dfd9b46d-d00c-40af-8a75-3fbdc2b89869/agent.json b/tests/BotSharp.Plugin.PizzaBot/data/agents/dfd9b46d-d00c-40af-8a75-3fbdc2b89869/agent.json similarity index 100% rename from tests/BotSharp.Plugin.PizzaBot/agents/dfd9b46d-d00c-40af-8a75-3fbdc2b89869/agent.json rename to tests/BotSharp.Plugin.PizzaBot/data/agents/dfd9b46d-d00c-40af-8a75-3fbdc2b89869/agent.json diff --git a/tests/BotSharp.Plugin.PizzaBot/agents/dfd9b46d-d00c-40af-8a75-3fbdc2b89869/instruction.liquid b/tests/BotSharp.Plugin.PizzaBot/data/agents/dfd9b46d-d00c-40af-8a75-3fbdc2b89869/instruction.liquid similarity index 100% rename from tests/BotSharp.Plugin.PizzaBot/agents/dfd9b46d-d00c-40af-8a75-3fbdc2b89869/instruction.liquid rename to tests/BotSharp.Plugin.PizzaBot/data/agents/dfd9b46d-d00c-40af-8a75-3fbdc2b89869/instruction.liquid diff --git a/tests/BotSharp.Plugin.PizzaBot/agents/dfd9b46d-d00c-40af-8a75-3fbdc2b89869/templates/instruction.executor.liquid b/tests/BotSharp.Plugin.PizzaBot/data/agents/dfd9b46d-d00c-40af-8a75-3fbdc2b89869/templates/instruction.executor.liquid similarity index 100% rename from tests/BotSharp.Plugin.PizzaBot/agents/dfd9b46d-d00c-40af-8a75-3fbdc2b89869/templates/instruction.executor.liquid rename to tests/BotSharp.Plugin.PizzaBot/data/agents/dfd9b46d-d00c-40af-8a75-3fbdc2b89869/templates/instruction.executor.liquid diff --git a/tests/BotSharp.Plugin.PizzaBot/agents/dfd9b46d-d00c-40af-8a75-3fbdc2b89869/templates/instruction.reviewer.liquid b/tests/BotSharp.Plugin.PizzaBot/data/agents/dfd9b46d-d00c-40af-8a75-3fbdc2b89869/templates/instruction.reviewer.liquid similarity index 100% rename from tests/BotSharp.Plugin.PizzaBot/agents/dfd9b46d-d00c-40af-8a75-3fbdc2b89869/templates/instruction.reviewer.liquid rename to tests/BotSharp.Plugin.PizzaBot/data/agents/dfd9b46d-d00c-40af-8a75-3fbdc2b89869/templates/instruction.reviewer.liquid diff --git a/tests/BotSharp.Plugin.PizzaBot/agents/dfd9b46d-d00c-40af-8a75-3fbdc2b89869/templates/task.place_pizza_order.liquid b/tests/BotSharp.Plugin.PizzaBot/data/agents/dfd9b46d-d00c-40af-8a75-3fbdc2b89869/templates/task.place_pizza_order.liquid similarity index 100% rename from tests/BotSharp.Plugin.PizzaBot/agents/dfd9b46d-d00c-40af-8a75-3fbdc2b89869/templates/task.place_pizza_order.liquid rename to tests/BotSharp.Plugin.PizzaBot/data/agents/dfd9b46d-d00c-40af-8a75-3fbdc2b89869/templates/task.place_pizza_order.liquid diff --git a/tests/BotSharp.Plugin.PizzaBot/agents/fe8c60aa-b114-4ef3-93cb-a8efeac80f75/agent.json b/tests/BotSharp.Plugin.PizzaBot/data/agents/fe8c60aa-b114-4ef3-93cb-a8efeac80f75/agent.json similarity index 100% rename from tests/BotSharp.Plugin.PizzaBot/agents/fe8c60aa-b114-4ef3-93cb-a8efeac80f75/agent.json rename to tests/BotSharp.Plugin.PizzaBot/data/agents/fe8c60aa-b114-4ef3-93cb-a8efeac80f75/agent.json diff --git a/tests/BotSharp.Plugin.PizzaBot/agents/fe8c60aa-b114-4ef3-93cb-a8efeac80f75/functions.json b/tests/BotSharp.Plugin.PizzaBot/data/agents/fe8c60aa-b114-4ef3-93cb-a8efeac80f75/functions.json similarity index 100% rename from tests/BotSharp.Plugin.PizzaBot/agents/fe8c60aa-b114-4ef3-93cb-a8efeac80f75/functions.json rename to tests/BotSharp.Plugin.PizzaBot/data/agents/fe8c60aa-b114-4ef3-93cb-a8efeac80f75/functions.json diff --git a/tests/BotSharp.Plugin.PizzaBot/agents/fe8c60aa-b114-4ef3-93cb-a8efeac80f75/instruction.liquid b/tests/BotSharp.Plugin.PizzaBot/data/agents/fe8c60aa-b114-4ef3-93cb-a8efeac80f75/instruction.liquid similarity index 100% rename from tests/BotSharp.Plugin.PizzaBot/agents/fe8c60aa-b114-4ef3-93cb-a8efeac80f75/instruction.liquid rename to tests/BotSharp.Plugin.PizzaBot/data/agents/fe8c60aa-b114-4ef3-93cb-a8efeac80f75/instruction.liquid diff --git a/src/WebStarter/data/users/10d12798-08fb-4aa6-977b-5dd94d82dbfe/agents.json b/tests/BotSharp.Plugin.PizzaBot/data/users/10d12798-08fb-4aa6-977b-5dd94d82dbfe/agents.json similarity index 100% rename from src/WebStarter/data/users/10d12798-08fb-4aa6-977b-5dd94d82dbfe/agents.json rename to tests/BotSharp.Plugin.PizzaBot/data/users/10d12798-08fb-4aa6-977b-5dd94d82dbfe/agents.json diff --git a/src/WebStarter/data/users/10d12798-08fb-4aa6-977b-5dd94d82dbfe/user.json b/tests/BotSharp.Plugin.PizzaBot/data/users/10d12798-08fb-4aa6-977b-5dd94d82dbfe/user.json similarity index 100% rename from src/WebStarter/data/users/10d12798-08fb-4aa6-977b-5dd94d82dbfe/user.json rename to tests/BotSharp.Plugin.PizzaBot/data/users/10d12798-08fb-4aa6-977b-5dd94d82dbfe/user.json diff --git a/src/WebStarter/data/users/456e35c5-caf0-4d45-9084-b44a8ca717e4/agents.json b/tests/BotSharp.Plugin.PizzaBot/data/users/456e35c5-caf0-4d45-9084-b44a8ca717e4/agents.json similarity index 100% rename from src/WebStarter/data/users/456e35c5-caf0-4d45-9084-b44a8ca717e4/agents.json rename to tests/BotSharp.Plugin.PizzaBot/data/users/456e35c5-caf0-4d45-9084-b44a8ca717e4/agents.json diff --git a/src/WebStarter/data/users/456e35c5-caf0-4d45-9084-b44a8ca717e4/user.json b/tests/BotSharp.Plugin.PizzaBot/data/users/456e35c5-caf0-4d45-9084-b44a8ca717e4/user.json similarity index 100% rename from src/WebStarter/data/users/456e35c5-caf0-4d45-9084-b44a8ca717e4/user.json rename to tests/BotSharp.Plugin.PizzaBot/data/users/456e35c5-caf0-4d45-9084-b44a8ca717e4/user.json diff --git a/src/WebStarter/data/users/d0e6680d-03d5-4ed8-bdcd-aa7d86f2a1bc/agents.json b/tests/BotSharp.Plugin.PizzaBot/data/users/d0e6680d-03d5-4ed8-bdcd-aa7d86f2a1bc/agents.json similarity index 100% rename from src/WebStarter/data/users/d0e6680d-03d5-4ed8-bdcd-aa7d86f2a1bc/agents.json rename to tests/BotSharp.Plugin.PizzaBot/data/users/d0e6680d-03d5-4ed8-bdcd-aa7d86f2a1bc/agents.json diff --git a/src/WebStarter/data/users/d0e6680d-03d5-4ed8-bdcd-aa7d86f2a1bc/user.json b/tests/BotSharp.Plugin.PizzaBot/data/users/d0e6680d-03d5-4ed8-bdcd-aa7d86f2a1bc/user.json similarity index 100% rename from src/WebStarter/data/users/d0e6680d-03d5-4ed8-bdcd-aa7d86f2a1bc/user.json rename to tests/BotSharp.Plugin.PizzaBot/data/users/d0e6680d-03d5-4ed8-bdcd-aa7d86f2a1bc/user.json diff --git a/src/WebStarter/data/users/e465af5f-044f-414b-b670-92834929b96c/agents.json b/tests/BotSharp.Plugin.PizzaBot/data/users/e465af5f-044f-414b-b670-92834929b96c/agents.json similarity index 100% rename from src/WebStarter/data/users/e465af5f-044f-414b-b670-92834929b96c/agents.json rename to tests/BotSharp.Plugin.PizzaBot/data/users/e465af5f-044f-414b-b670-92834929b96c/agents.json diff --git a/src/WebStarter/data/users/e465af5f-044f-414b-b670-92834929b96c/user.json b/tests/BotSharp.Plugin.PizzaBot/data/users/e465af5f-044f-414b-b670-92834929b96c/user.json similarity index 100% rename from src/WebStarter/data/users/e465af5f-044f-414b-b670-92834929b96c/user.json rename to tests/BotSharp.Plugin.PizzaBot/data/users/e465af5f-044f-414b-b670-92834929b96c/user.json