change compilation symbol and fix Sqlite database isssue.
This commit is contained in:
parent
a7e0280b1d
commit
a7acf7e14d
|
|
@ -45,7 +45,7 @@
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="DotNetToolkit" Version="1.6.0" />
|
<PackageReference Include="DotNetToolkit" Version="1.6.0" />
|
||||||
<PackageReference Include="EntityFrameworkCore.BootKit" Version="1.9.0" />
|
<PackageReference Include="EntityFrameworkCore.BootKit" Version="1.9.1" />
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Cryptography.KeyDerivation" Version="2.1.1" />
|
<PackageReference Include="Microsoft.AspNetCore.Cryptography.KeyDerivation" Version="2.1.1" />
|
||||||
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
|
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
|
||||||
<PackageReference Include="RestSharp" Version="106.3.1" />
|
<PackageReference Include="RestSharp" Version="106.3.1" />
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,10 @@
|
||||||
<Platforms>AnyCPU;x64</Platforms>
|
<Platforms>AnyCPU;x64</Platforms>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||||
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Folder Include="Fasttext\" />
|
<Folder Include="Fasttext\" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,10 @@
|
||||||
<PackageTags>BotSharp, NLP, NLU, POS, CRS, NER, LSTM, CRF</PackageTags>
|
<PackageTags>BotSharp, NLP, NLU, POS, CRS, NER, LSTM, CRF</PackageTags>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||||
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\BotSharp.MachineLearning\BotSharp.MachineLearning.csproj" />
|
<ProjectReference Include="..\BotSharp.MachineLearning\BotSharp.MachineLearning.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||||
<DocumentationFile>bin\Debug\netcoreapp2.1\BotSharp.RestApi.xml</DocumentationFile>
|
<DocumentationFile>bin\Debug\netcoreapp2.1\BotSharp.RestApi.xml</DocumentationFile>
|
||||||
<DefineConstants>TRACE;DEBUG;MODE_RASA</DefineConstants>
|
<DefineConstants>TRACE;DEBUG;RASA_UI</DefineConstants>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ using System.Text;
|
||||||
|
|
||||||
namespace BotSharp.RestApi.Rasa
|
namespace BotSharp.RestApi.Rasa
|
||||||
{
|
{
|
||||||
#if MODE_RASA
|
#if RASA_UI
|
||||||
[Route("[controller]")]
|
[Route("[controller]")]
|
||||||
public class ConfigController : ControllerBase
|
public class ConfigController : ControllerBase
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ using System.Text;
|
||||||
|
|
||||||
namespace BotSharp.RestApi.Rasa
|
namespace BotSharp.RestApi.Rasa
|
||||||
{
|
{
|
||||||
#if MODE_RASA
|
#if RASA_UI
|
||||||
[Route("[controller]")]
|
[Route("[controller]")]
|
||||||
public class ParseController : ControllerBase
|
public class ParseController : ControllerBase
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ using System.Text;
|
||||||
|
|
||||||
namespace BotSharp.RestApi.Rasa
|
namespace BotSharp.RestApi.Rasa
|
||||||
{
|
{
|
||||||
#if MODE_RASA
|
#if RASA_UI
|
||||||
[Route("[controller]")]
|
[Route("[controller]")]
|
||||||
public class StatusController : ControllerBase
|
public class StatusController : ControllerBase
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace BotSharp.RestApi.Rasa
|
namespace BotSharp.RestApi.Rasa
|
||||||
{
|
{
|
||||||
#if MODE_RASA
|
#if RASA_UI
|
||||||
[Route("[controller]")]
|
[Route("[controller]")]
|
||||||
public class TrainController : ControllerBase
|
public class TrainController : ControllerBase
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ using System.Text;
|
||||||
|
|
||||||
namespace BotSharp.RestApi.Rasa
|
namespace BotSharp.RestApi.Rasa
|
||||||
{
|
{
|
||||||
#if MODE_RASA
|
#if RASA_UI
|
||||||
[Route("[controller]")]
|
[Route("[controller]")]
|
||||||
public class VersionController : ControllerBase
|
public class VersionController : ControllerBase
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue