mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-07 05:29:40 +00:00
Resolve the remaining unused-symbol warnings
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user