mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-12-03 16:02:01 +00:00
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
10 lines
754 B
C#
10 lines
754 B
C#
namespace AIStudio.Tools.Web;
|
|
|
|
/// <summary>
|
|
/// What loading web content brought, waiting for the reader of its field, see WebContentImportService.TryTakeResult.
|
|
/// </summary>
|
|
/// <param name="Url">The address the content was loaded from.</param>
|
|
/// <param name="Markdown">The content, filtered for prompt injections. It is what arrived before an error, which may be nothing.</param>
|
|
/// <param name="Issue">What went wrong, if anything.</param>
|
|
/// <param name="ErrorMessage">Why the content could not be loaded, for <see cref="WebContentImportIssue.LOAD_FAILED"/>; null otherwise.</param>
|
|
public sealed record WebContentImportResult(string Url, string Markdown, WebContentImportIssue Issue = WebContentImportIssue.NONE, string? ErrorMessage = null); |