mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-13 16:07:22 +00:00
Renamed the extension classes of interfaces to drop the I prefix (#1190)
This commit is contained in:
1 parent
d8ef328e6e
commit
6f187f1bd8
30 files changed
+59
-59
No files matched your search
@@ -84,7 +84,7 @@ public sealed class PassageBudget(int limit, Func<string, CancellationToken, Tas
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// A passage longer than the whole budget is shortened until it fits, and filtered again, see
|
||||
/// IRetrievalContextExtensions.ShortenToFitAsync. It then has to fit into what is left like any
|
||||
/// RetrievalContextExtensions.ShortenToFitAsync. It then has to fit into what is left like any
|
||||
/// other passage.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace AIStudio.Tools.RAG;
|
||||
/// ready to be numbered.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Made by IRetrievalContextExtensions.PrepareForModelAsync. Which number a context gets depends on
|
||||
/// Made by RetrievalContextExtensions.PrepareForModelAsync. Which number a context gets depends on
|
||||
/// which contexts the caller hands on in the end, so the header is written only then, see
|
||||
/// ToMarkdown. The app writes it itself, which is why it needs no filter.
|
||||
/// </remarks>
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ using AIStudio.Tools.Security;
|
||||
|
||||
namespace AIStudio.Tools.RAG;
|
||||
|
||||
public static class IRetrievalContextExtensions
|
||||
public static class RetrievalContextExtensions
|
||||
{
|
||||
private static readonly ILogger<IRetrievalContext> LOGGER = Program.LOGGER_FACTORY.CreateLogger<IRetrievalContext>();
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace AIStudio.Tools.RAG;
|
||||
/// so it is not shown as if it had.<br/><br/>
|
||||
/// A passage belongs to the source it is listed under, which is why it is only made for a context
|
||||
/// with a source, see SourceUrl. A context which names nothing to open, e.g., by a path which only
|
||||
/// its ERI server knows, gets a source named as text, see IRetrievalContextExtensions.ToSources.<br/><br/>
|
||||
/// its ERI server knows, gets a source named as text, see RetrievalContextExtensions.ToSources.<br/><br/>
|
||||
/// Plain stored values only: a computed property would be written into every chat file as well.
|
||||
/// </remarks>
|
||||
public sealed record SourcePassage
|
||||
|
||||
Reference in new issue
Block a user