Added research on the web to the BeyondFacts Lab (#1186)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-11-10 18:17:44 +01:00
1 parent e5c0931a60
commit 9a676101f7
66 files changed
+3609 -70

No files matched your search

@@ -32,4 +32,11 @@ public enum OutboundDataOrigin
/// model: found by Semantic Search or by the classic RAG process.
/// </summary>
DATA_SOURCE,
/// <summary>
/// A preparation of the BeyondFacts Lab, which the chat of every one of its steps holds from the start: details,
/// material, and work states which may be unpublished. The lab searches the web in agents of its own, which receive
/// the public details about the event only, see BflResearchRunner.
/// </summary>
BEYOND_FACTS_LAB,
}
@@ -5,7 +5,6 @@ namespace AIStudio.Settings.DataModel;
public static class OutboundDataRequirementExtensions
{
private static string TB(string fallbackEN) => I18N.I.T(fallbackEN, typeof(OutboundDataRequirementExtensions).Namespace, nameof(OutboundDataRequirementExtensions));
/// <param name="requirement">What the chat demands.</param>
extension(OutboundDataRequirement requirement)
{
@@ -28,6 +27,7 @@ public static class OutboundDataRequirementExtensions
OutboundDataOrigin.CONFLUENCE_WIKI => string.Format(TB("This chat holds content from your Confluence wiki, found while the setting 'Where a chat may send data after reading internal pages' of the tool 'Read Web Page' was '{0}'. This tool would send data beyond that, so it is not available in this chat. A new chat without this content can use it again."), requirement.Restriction.Name),
OutboundDataOrigin.INTERNAL_WEB_PAGE => string.Format(TB("This chat holds content from an internal web page on '{0}', read while the setting 'Where a chat may send data after reading internal pages' of the tool 'Read Web Page' was '{1}'. This tool would send data beyond that, so it is not available in this chat. A new chat without this content can use it again."), requirement.Reference, requirement.Restriction.Name),
OutboundDataOrigin.DATA_SOURCE => GetDataSourceBlockedMessage(requirement, settings.DataSources),
OutboundDataOrigin.BEYOND_FACTS_LAB => TB("This chat holds a preparation of the BeyondFacts Lab, which may be unpublished, so it reads only web pages whose addresses stand in the chat. This tool would send data beyond that, so it is not available in this chat. The lab searches the web in a research of its own, which receives only the public details about the event. A new chat without this content can use it again."),
// NONE keeps no tool from running, since nothing restricts such a chat. What is left is an
// origin this version does not know: