mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-13 13:27:21 +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
+2
-2
@@ -208,7 +208,7 @@ internal sealed record PendingMail(DataSourceMailbox Mailbox, MailSummary Summar
|
||||
/// <remarks>
|
||||
/// The attachments are numbered the way the index numbers them, cf. MailSummary.AttachmentNames.
|
||||
/// Where in an attachment is worded like the location of any other passage, cf.
|
||||
/// IRetrievalContextExtensions.DescribeLocation. A passage of the text of the mail names
|
||||
/// RetrievalContextExtensions.DescribeLocation. A passage of the text of the mail names
|
||||
/// no attachment, and neither does one of a mail indexed before attachments were told apart.
|
||||
/// </remarks>
|
||||
/// <param name="texts">The filtered texts of the result.</param>
|
||||
@@ -220,6 +220,6 @@ internal sealed record PendingMail(DataSourceMailbox Mailbox, MailSummary Summar
|
||||
|
||||
var type = DataSourceLocalRetrievalService.GetRetrievalContentType(Path.GetExtension(this.Summary.AttachmentNames[position]));
|
||||
var located = DataSourceLocalRetrievalService.LocatePassage(location, type, chunkNumber: 1);
|
||||
return new(texts[attachment], IRetrievalContextExtensions.DescribeLocation(located.PageNumber, located.EndPageNumber, located.SheetName, located.StartRow, located.EndRow, located.StartLine, located.EndLine));
|
||||
return new(texts[attachment], RetrievalContextExtensions.DescribeLocation(located.PageNumber, located.EndPageNumber, located.SheetName, located.StartRow, located.EndRow, located.StartLine, located.EndLine));
|
||||
}
|
||||
}
|
||||
+2
-2
@@ -70,7 +70,7 @@ public sealed class SemanticSearchTool(SettingsManager settingsManager, DataSour
|
||||
/// A chunk is as long as the embedding model takes at once, by default 8,192 tokens, so a
|
||||
/// single passage may already fill tens of thousands of characters. A passage which does not
|
||||
/// fit starts the next page, see SearchAsync. Only a passage longer than a whole page is
|
||||
/// shortened, and filtered again, see IRetrievalContextExtensions.ShortenToFitAsync. The limit
|
||||
/// shortened, and filtered again, see RetrievalContextExtensions.ShortenToFitAsync. The limit
|
||||
/// is the one a web search has by default, and it leaves room for about three searches within
|
||||
/// the budget of all tool results of an answer, see ToolSelectionRules.MAX_TOOL_RESULT_CHARACTERS:
|
||||
/// a question with several aspects gets one search per aspect.
|
||||
@@ -422,7 +422,7 @@ public sealed class SemanticSearchTool(SettingsManager settingsManager, DataSour
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// A passage longer than a whole page would hold up every passage after it, so it is shortened
|
||||
/// to fill a page of its own, see IRetrievalContextExtensions.ShortenToFitAsync.
|
||||
/// to fill a page of its own, see RetrievalContextExtensions.ShortenToFitAsync.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
/// <param name="request">The search to run.</param>
|
||||
|
||||
Reference in new issue
Block a user