mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-16 15:53:48 +00:00
added retrieval with vector and bm25 search
This commit is contained in:
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;
|
||||
}
|
||||
Reference in new issue
Block a user