added retrieval with vector and bm25 search

This commit is contained in:
PaulKoudelka committed 2026-08-03 20:56:19 +02:00
1 parent c78a8f05ef
commit 010f35b08a
21 files changed
+775 -49

No files matched your search

@@ -40,4 +40,14 @@ public sealed class RetrievalTextContext : IRetrievalContext
/// For example, one sentence or paragraph before and after the matched text.
/// </remarks>
public IReadOnlyList<string> SurroundingContent { get; set; } = [];
/// <summary>
/// Optional title used when this context is displayed as a source reference.
/// </summary>
public string ReferenceTitle { get; init; } = string.Empty;
/// <summary>
/// Optional link used when this context is displayed as a source reference.
/// </summary>
public string ReferenceLink { get; init; } = string.Empty;
}