langchain/docs/modules/document_loaders/key_concepts.md
2023-02-05 23:02:07 -08:00

556 B

Key Concepts

Document

This class is a container for document information. This contains two parts:

  • page_content: The content of the actual page itself.
  • metadata: The metadata associated with the document. This can be things like the file path, the url, etc.

Loader

This base class is a way to load documents. It exposes a load method that returns Document objects.

Unstructured

Unstructured is a python package specifically focused on transformations from raw documents to text.