BotSharp/BotSharp.Core/PlatformSettingsBase.cs
haiping008 3c7c3c183b add ContextStorageFactory
persist context to file
2018-12-07 16:57:26 -06:00

30 lines
711 B
C#

using BotSharp.Platform.Abstraction;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.Text;
namespace BotSharp.Core
{
public class PlatformSettingsBase : IPlatformSettings
{
/// <summary>
/// Set default settings
/// </summary>
public PlatformSettingsBase()
{
BotEngine = "BotSharpNLU";
AgentStorage = "AgentStorageInFile";
ContextStorage = "ContextStorageInFile";
}
public string BotEngine { get; set; }
public string ContextStorage { get; set; }
public string AgentStorage { get; set; }
}
}