Schema

Base schema for data structures.

class BaseDocument

Generic abstract interface for retrievable documents.

abstract get_content()

Get document content.

get_embedding()

Get metadata.

get_metadata()

Get metadata.

abstract property hash: str

Get hash.

class Document

Generic interface for data document.

get_content()

Get the text content.

property hash: str

Get document hash.