Files
wehub-resource-sync da6a09ff09
Auto Bump and Release / auto-bump-and-release (push) Waiting to run
style-check / pre-commit (push) Waiting to run
unit-test / unit testing with python (push) Waiting to run
unit-test / unit testing with python 3.10 (push) Waiting to run
unit-test / unit testing with python 3.11 (push) Waiting to run
chore: import upstream snapshot with attribution
2026-07-13 12:39:49 +08:00

995 B

Data & Data Structure Components

The data & data structure components include:

  • The Document class.
  • The document store.
  • The vector store.

Data Loader

  • PdfLoader

  • Layout-aware with table parsing PdfLoader

    • MathPixLoader: To use this loader, you need MathPix API key, refer to mathpix docs for more information

    • OCRLoader: This loader uses lib-table and Flax pipeline to perform OCR and read table structure from PDF file (TODO: add more info about deployment of this module).

    • Output:

      • Document: text + metadata to identify whether it is table or not

        - "source": source file name
        - "type": "table" or "text"
        - "table_origin": original table in markdown format (to be feed to LLM or visualize using external tools)
        - "page_label": page number in the original PDF document
        

Document Store

  • InMemoryDocumentStore

Vector Store

  • ChromaVectorStore
  • InMemoryVectorStore