BotSharp/src/Infrastructure/BotSharp.Abstraction/Knowledges/Settings/KnowledgeBaseSettings.cs

23 lines
627 B
C#
Raw Normal View History

2024-08-14 21:56:32 +00:00
using BotSharp.Abstraction.Knowledges.Enums;
namespace BotSharp.Abstraction.Knowledges.Settings;
2023-06-26 23:08:24 +00:00
public class KnowledgeBaseSettings
{
2024-08-31 00:31:18 +00:00
public SettingBase VectorDb { get; set; }
public SettingBase GraphDb { get; set; }
2024-08-22 20:23:22 +00:00
public DefaultKnowledgeBaseSetting Default { get; set; }
}
public class DefaultKnowledgeBaseSetting
{
public string CollectionName { get; set; } = KnowledgeCollectionName.BotSharp;
public KnowledgeTextEmbeddingSetting TextEmbedding { get; set; }
}
2024-08-31 00:31:18 +00:00
public class KnowledgeTextEmbeddingSetting : SettingBase
{
public string Model { get; set; }
2024-08-22 20:23:22 +00:00
public int Dimension { get; set; }
}