2024-08-09 21:03:29 +00:00
|
|
|
using BotSharp.Abstraction.Knowledges.Enums;
|
|
|
|
|
|
2024-08-15 23:19:10 +00:00
|
|
|
namespace BotSharp.Abstraction.VectorStorage.Models;
|
2023-06-18 18:15:00 +00:00
|
|
|
|
2024-08-15 23:19:10 +00:00
|
|
|
public class VectorSearchOptions
|
2023-06-18 18:15:00 +00:00
|
|
|
{
|
2024-08-09 21:03:29 +00:00
|
|
|
public IEnumerable<string>? Fields { get; set; } = new List<string> { KnowledgePayloadName.Text, KnowledgePayloadName.Answer };
|
|
|
|
|
public int? Limit { get; set; } = 5;
|
|
|
|
|
public float? Confidence { get; set; } = 0.5f;
|
|
|
|
|
public bool WithVector { get; set; }
|
2023-06-18 18:15:00 +00:00
|
|
|
}
|