RssReader#

pydantic model llama_index.readers.RssReader#

RSS reader.

Reads content from an RSS feed.

Show JSON schema
{
   "title": "RssReader",
   "description": "RSS reader.\n\nReads content from an RSS feed.",
   "type": "object",
   "properties": {
      "is_remote": {
         "title": "Is Remote",
         "default": true,
         "type": "boolean"
      },
      "html_to_text": {
         "title": "Html To Text",
         "type": "boolean"
      },
      "class_name": {
         "title": "Class Name",
         "type": "string",
         "default": "RssReader"
      }
   },
   "required": [
      "html_to_text"
   ]
}

Config
  • arbitrary_types_allowed: bool = True

Fields
  • html_to_text (bool)

  • is_remote (bool)

field html_to_text: bool [Required]#
field is_remote: bool = True#
classmethod class_name() str#

Get the class name, used as a unique ID in serialization.

This provides a key that makes serialization robust against actual class name changes.

load_data(urls: List[str]) List[Document]#

Load data from RSS feeds.

Parameters

urls (List[str]) – List of RSS URLs to load.

Returns

List of documents.

Return type

List[Document]