using AIStudio.Settings;
using AIStudio.Tools.RAG;
namespace AIStudio.Tools.ToolCallingSystem.ToolCallingImplementations.SemanticSearch;
///
/// What a search tells the model about one data source, besides its passages.
///
/// The data source searched.
/// How many of its passages reached the model.
/// Whether a further page of this data source holds passages.
/// What kept the search from covering the whole data source.
/// How many of its passages a search of several data sources found, but had no room for.
internal sealed record DataSourceSearchOutcome(IDataSource DataSource, int ResultCount, bool HasMore, IReadOnlyList Gaps, int LeftOutCount = 0);