GraphRAG Inputs
This package provides input document loading utilities for GraphRAG, supporting multiple file formats including CSV, JSON, JSON Lines, and plain text.
Supported File Types
The following four standard file formats are supported out of the box:
- CSV - Tabular data with configurable column mappings
- JSON - JSON files with configurable property paths
- JSON Lines - Line-delimited JSON records
- Text - Plain text files
Markitdown Support
Additionally, we support the InputType.MarkItDown format, which uses the MarkItDown library to import any supported file type. The MarkItDown converter can handle a wide variety of file formats including Office documents, PDFs, HTML, and more.
Note: Additional optional dependencies may need to be installed depending on the file type you're processing. The choice of converter is determined by MarkItDowns's processing logic, which primarily uses the file extension to select the appropriate converter. Please refer to the MarkItDown repository for installation instructions and detailed information about supported formats.
Examples
Basic usage with the factory:
- Import a pdf with MarkItDown:
pip install 'markitdown[pdf]' # required dependency for pdf processing
- YAML config example for above:
input:
type: markitdown
file_pattern: ".*\\.pdf$$"
input_storage:
type: file
base_dir: "input"
Metadata
Release files for graphrag-input 3.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| graphrag_input-3.3.0.tar.gz | 17.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| graphrag_input-3.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 32.2 kB
Release files / graphrag_input-3.3.0.tar.gz
| Download URL | graphrag_input-3.3.0.tar.gz |
|---|---|
| Size | 17.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
78ced48f2e0698a2508ac9d6a1e9a49173d25dfc01ca2a098dc11f42ac83d01c
|
|
BLAKE2b-256 checksum How to use checksums |
dde233ad0eda592f46589f2199c0fa9d45fea3ce52076ddfef34c893b2a69d17
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.17
|
Release files / graphrag_input-3.3.0-py3-none-any.whl
| Download URL | graphrag_input-3.3.0-py3-none-any.whl |
|---|---|
| Size | 15.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
92ceb0029ba2aeb12e4ac1897d58edda6371296f3fcb625541e8e6b92242c956
|
|
BLAKE2b-256 checksum How to use checksums |
6d03fe08f3a5fcb17f99af6580bfca1285e51d7c13d6c8dc26d85968435b7c2e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.17
|
Security for graphrag-input 3.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.