23 lines
627 B
C#
23 lines
627 B
C#
using BotSharp.Abstraction.Knowledges.Enums;
|
|
|
|
namespace BotSharp.Abstraction.Knowledges.Settings;
|
|
|
|
public class KnowledgeBaseSettings
|
|
{
|
|
public SettingBase VectorDb { get; set; }
|
|
public SettingBase GraphDb { get; set; }
|
|
|
|
public DefaultKnowledgeBaseSetting Default { get; set; }
|
|
}
|
|
|
|
public class DefaultKnowledgeBaseSetting
|
|
{
|
|
public string CollectionName { get; set; } = KnowledgeCollectionName.BotSharp;
|
|
public KnowledgeTextEmbeddingSetting TextEmbedding { get; set; }
|
|
}
|
|
|
|
public class KnowledgeTextEmbeddingSetting : SettingBase
|
|
{
|
|
public string Model { get; set; }
|
|
public int Dimension { get; set; }
|
|
} |