Property DataSourceIdentifier
DataSourceIdentifier
Gets the unique identifier of the data source from which the text partition originates.
public string DataSourceIdentifier { get; }
Property Value
Examples
var matches = ragEngine.FindMatchingPartitions("retrieval", topK: 5);
// Group results by their originating data source.
var grouped = matches.GroupBy(m => m.DataSourceIdentifier);
foreach (var group in grouped)
{
Console.WriteLine($"Data source '{group.Key}': {group.Count()} matches");
}