mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-13 13:53:47 +00:00
Added local RAG (#756)
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
1 parent
d043fbc8f0
commit
c7b42bee96
179 files changed
+276977
-1421
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