From 7fcf92fe484d3089aa64c706bdd6d76de1e921f8 Mon Sep 17 00:00:00 2001 From: Haiping Chen <101423@smsassist.com> Date: Tue, 2 Jan 2024 23:07:41 -0600 Subject: [PATCH] Add agent copy post-build event. --- src/Infrastructure/BotSharp.Core/BotSharp.Core.csproj | 4 ++++ .../agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/agent.json | 2 +- .../01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/instruction.liquid | 0 .../templates/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.WebDriver.csproj | 4 ++++ .../BotSharp.Plugin.PizzaBot/BotSharp.Plugin.PizzaBot.csproj | 4 ++++ 9 files changed, 13 insertions(+), 1 deletion(-) rename src/{WebStarter/data => Infrastructure/BotSharp.Core/Planning}/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/agent.json (84%) rename src/{WebStarter/data => Infrastructure/BotSharp.Core/Planning}/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/instruction.liquid (100%) rename src/{WebStarter/data => Infrastructure/BotSharp.Core/Planning}/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/templates/next_step_prompt.hf_planner.liquid (100%) rename src/{WebStarter/data => Infrastructure/BotSharp.Core/Planning}/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/templates/next_step_prompt.liquid (100%) rename src/{WebStarter/data => Infrastructure/BotSharp.Core/Planning}/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/templates/response_with_function.liquid (100%) rename src/{WebStarter/data => Infrastructure/BotSharp.Core/Planning}/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/templates/welcome.liquid (100%) diff --git a/src/Infrastructure/BotSharp.Core/BotSharp.Core.csproj b/src/Infrastructure/BotSharp.Core/BotSharp.Core.csproj index 8099a315..aa3dd2ee 100644 --- a/src/Infrastructure/BotSharp.Core/BotSharp.Core.csproj +++ b/src/Infrastructure/BotSharp.Core/BotSharp.Core.csproj @@ -62,4 +62,8 @@ + + + + diff --git a/src/WebStarter/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/agent.json b/src/Infrastructure/BotSharp.Core/Planning/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/agent.json similarity index 84% rename from src/WebStarter/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/agent.json rename to src/Infrastructure/BotSharp.Core/Planning/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/agent.json index 0394958a..d3756375 100644 --- a/src/WebStarter/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/agent.json +++ b/src/Infrastructure/BotSharp.Core/Planning/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/agent.json @@ -1,7 +1,7 @@ { "name": "PizzaBot", "description": "Pizza restaurant AI Bot", - "createdDateTime": "2023-08-18T14:39:32.2349685Z", + "createdDateTime": "2023-08-18T10:39:32.2349685Z", "updatedDateTime": "2023-08-18T14:39:32.2349686Z", "id": "01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a", "iconUrl": "https://cdn.iconscout.com/icon/premium/png-256-thumb/route-1613278-1368497.png", diff --git a/src/WebStarter/data/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/instruction.liquid b/src/Infrastructure/BotSharp.Core/Planning/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/Planning/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/Planning/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/Planning/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/Planning/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/Planning/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/Planning/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/Planning/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/Planning/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/Planning/agents/01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a/templates/welcome.liquid diff --git a/src/Plugins/BotSharp.Plugin.WebDriver/BotSharp.Plugin.WebDriver.csproj b/src/Plugins/BotSharp.Plugin.WebDriver/BotSharp.Plugin.WebDriver.csproj index 292bfe36..9be92d3f 100644 --- a/src/Plugins/BotSharp.Plugin.WebDriver/BotSharp.Plugin.WebDriver.csproj +++ b/src/Plugins/BotSharp.Plugin.WebDriver/BotSharp.Plugin.WebDriver.csproj @@ -27,4 +27,8 @@ + + + + diff --git a/tests/BotSharp.Plugin.PizzaBot/BotSharp.Plugin.PizzaBot.csproj b/tests/BotSharp.Plugin.PizzaBot/BotSharp.Plugin.PizzaBot.csproj index b4c62dd8..140108d8 100644 --- a/tests/BotSharp.Plugin.PizzaBot/BotSharp.Plugin.PizzaBot.csproj +++ b/tests/BotSharp.Plugin.PizzaBot/BotSharp.Plugin.PizzaBot.csproj @@ -23,4 +23,8 @@ + + + +