mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-13 13:53:47 +00:00
Allowed the web page retrieval to read text content such as JSON
This commit is contained in:
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,
|
||||
}
|
||||
Reference in new issue
Block a user