Resolve the remaining unused-symbol warnings

This commit is contained in:
Thorsten Sommer committed 2026-09-06 14:20:53 +02:00
1 parent fb8e37aaf3
commit 2c212f75f6
3 files changed
+16 -1

No files matched your search

@@ -23,6 +23,13 @@ public sealed class DataSourceLocalRetrievalService(
BM25,
}
//
// A hit keeps the complete shape both retrieval channels deliver, even where nothing reads a
// value yet. Merging is deterministic on purpose for now, so Channel, Score and Rank have no
// consumer until reranking arrives. Naming them still beats handing an unlabelled tuple of
// strings and numbers through the service.
//
// ReSharper disable NotAccessedPositionalProperty.Local
private sealed record LocalRetrievalHit(
RetrievalChannel Channel,
string ChunkId,
@@ -41,6 +48,7 @@ public sealed class DataSourceLocalRetrievalService(
int Rank,
string ConfidenceLevel,
int ConfidenceLevelRank);
// ReSharper restore NotAccessedPositionalProperty.Local
public Task<IReadOnlyList<IRetrievalContext>> RetrieveDataAsync(DataSourceLocalFile dataSource, IContent lastUserPrompt, ChatThread thread, CancellationToken token = default) =>
this.RetrieveDataAsync(dataSource, lastUserPrompt, token);