Node#

llama_index.schema Module#

Base schema for data structures.

Classes#

Any(*args, **kwargs)

Special type indicating an unconstrained type.

BaseComponent

Base component object to capture class names.

BaseModel

BaseNode

Base node Object.

BytesIO([initial_bytes])

Buffered I/O implementation using an in-memory bytes buffer.

DataClassJsonMixin()

DataClassJsonMixin is an ABC that functions as a Mixin.

Document

Generic interface for a data document.

Enum(value[, names, module, qualname, type, ...])

Create a collection of name/value pairs.

ImageDocument

Data document containing an image.

ImageNode

Node with image.

IndexNode

Node with reference to any object.

MetadataMode(value[, names, module, ...])

Node

alias of TextNode

NodeRelationship(value[, names, module, ...])

Node relationships used in BaseNode class.

NodeWithScore

ObjectType(value[, names, module, qualname, ...])

QueryBundle(query_str[, image_path, ...])

Query bundle.

RelatedNodeInfo

TextNode

TransformComponent

Base class for transform components.

auto([value])

Instances are replaced with an appropriate value in Enum class suites.