Skip to content

Commit fc409d5

Browse files
add data file copy
1 parent 28b8def commit fc409d5

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

src/WebStarter/WebStarter.csproj

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,29 @@
4848
<PackageReference Include="BotSharp.Plugin.TencentCos" />
4949
</ItemGroup>
5050

51+
<Target Name="CombinedNugetPackage" BeforeTargets="PrepareForRun" Condition="$(SolutionName)=='PizzaBot'">
52+
<ItemGroup>
53+
<CoreContentFiles Include="$(NuGetPackageRoot)botsharp.core\$(BotSharpVersion)\content\data\**\*.*" />
54+
<CoreCrontabContentFiles Include="$(NuGetPackageRoot)botsharp.core.crontab\$(BotSharpVersion)\content\data\**\*.*" />
55+
<FileHandlerContentFiles Include="$(NuGetPackageRoot)botsharp.plugin.filehandler\$(BotSharpVersion)\content\data\**\*.*" />
56+
<KnowledgeBaseContentFiles Include="$(NuGetPackageRoot)botsharp.plugin.knowledgebase\$(BotSharpVersion)\content\data\**\*.*" />
57+
<PlannerContentFiles Include="$(NuGetPackageRoot)botsharp.plugin.planner\$(BotSharpVersion)\content\data\**\*.*" />
58+
<SqlDriverContentFiles Include="$(NuGetPackageRoot)botsharp.plugin.sqldriver\$(BotSharpVersion)\content\data\**\*.*" />
59+
<RulesContentFiles Include="$(NuGetPackageRoot)botsharp.core.rules\$(BotSharpVersion)\content\data\**\*.*" />
60+
<HttpHandlerContentFiles Include="$(NuGetPackageRoot)botsharp.plugin.httphandler\$(BotSharpVersion)\content\data\**\*.*" />
61+
<WebDriverContentFiles Include="$(NuGetPackageRoot)botsharp.plugin.webdriver\$(BotSharpVersion)\content\data\**\*.*" />
62+
</ItemGroup>
63+
64+
<Copy SourceFiles="@(CoreContentFiles)" DestinationFolder="$(OutputPath)data\%(RecursiveDir)" />
65+
<Copy SourceFiles="@(CoreCrontabContentFiles)" DestinationFolder="$(OutputPath)data\%(RecursiveDir)" />
66+
<Copy SourceFiles="@(FileHandlerContentFiles)" DestinationFolder="$(OutputPath)data\%(RecursiveDir)" />
67+
<Copy SourceFiles="@(KnowledgeBaseContentFiles)" DestinationFolder="$(OutputPath)data\%(RecursiveDir)" />
68+
<Copy SourceFiles="@(PlannerContentFiles)" DestinationFolder="$(OutputPath)data\%(RecursiveDir)" />
69+
<Copy SourceFiles="@(SqlDriverContentFiles)" DestinationFolder="$(OutputPath)data\%(RecursiveDir)" />
70+
<Copy SourceFiles="@(RulesContentFiles)" DestinationFolder="$(OutputPath)data\%(RecursiveDir)" />
71+
<Copy SourceFiles="@(HttpHandlerContentFiles)" DestinationFolder="$(OutputPath)data\%(RecursiveDir)" />
72+
<Copy SourceFiles="@(WebDriverContentFiles)" DestinationFolder="$(OutputPath)data\%(RecursiveDir)" />
73+
</Target>
5174
<ItemGroup>
5275
<PackageReference Include="Microsoft.AspNetCore.SignalR.StackExchangeRedis" />
5376
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" />

src/WebStarter/appsettings.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,19 @@
154154
"PromptCost": 0.00002
155155
}
156156
]
157+
},
158+
{
159+
"Provider": "deepseek-ai",
160+
"Models": [
161+
{
162+
"Name": "deepseek-chat",
163+
"ApiKey": "",
164+
"Endpoint": "https://api.deepseek.com/v1/",
165+
"Type": "chat",
166+
"PromptCost": 0.0015,
167+
"CompletionCost": 0.002
168+
}
169+
]
157170
}
158171
],
159172

0 commit comments

Comments
 (0)