Allowed the web page retrieval to read text content such as JSON

This commit is contained in:
Thorsten Sommer committed 2026-09-23 21:49:42 +02:00
1 parent ed2e17229b
commit d08382c52c
9 files changed
+210 -22

No files matched your search

@@ -0,0 +1,19 @@
namespace AIStudio.Tools.Web;
/// <summary>
/// What a retrieved web resource turned out to be, which decides how its content was read.
/// </summary>
public enum WebContentKind
{
/// <summary>
/// An HTML page. Its readable part was extracted and converted to Markdown, so the content
/// can be shorter than the page when the extraction missed something.
/// </summary>
HTML_PAGE,
/// <summary>
/// A text document such as plain text, JSON, XML, or CSV. The extracted Markdown is its text
/// as the server sent it, so nothing of it was left out.
/// </summary>
TEXT_DOCUMENT,
}