├── .gitignore ├── LICENSE ├── MANIFEST.in ├── README.md ├── gptparse ├── __init__.py ├── cli.py ├── config │ ├── __init__.py │ └── logging_config.py ├── handlers │ ├── __init__.py │ ├── base.py │ ├── docling_handler.py │ ├── image_handler.py │ └── pdf_handler.py ├── models │ ├── __init__.py │ ├── base.py │ ├── model_interface.py │ ├── providers │ │ ├── anthropic_provider.py │ │ ├── google_provider.py │ │ └── openai_provider.py │ └── types.py ├── modes │ ├── __init__.py │ ├── fast.py │ ├── hybrid.py │ └── vision.py ├── outputs.py └── utils │ ├── __init__.py │ ├── callbacks.py │ ├── image_utils.py │ └── pdf_utils.py ├── poetry.lock ├── pyproject.toml └── tests ├── __init__.py ├── models └── test_providers.py ├── test_cli.py └── test_vision.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gptscript-ai/gptparse/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gptscript-ai/gptparse/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gptscript-ai/gptparse/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gptscript-ai/gptparse/HEAD/README.md -------------------------------------------------------------------------------- /gptparse/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /gptparse/cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gptscript-ai/gptparse/HEAD/gptparse/cli.py -------------------------------------------------------------------------------- /gptparse/config/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gptscript-ai/gptparse/HEAD/gptparse/config/__init__.py -------------------------------------------------------------------------------- /gptparse/config/logging_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gptscript-ai/gptparse/HEAD/gptparse/config/logging_config.py -------------------------------------------------------------------------------- /gptparse/handlers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gptscript-ai/gptparse/HEAD/gptparse/handlers/__init__.py -------------------------------------------------------------------------------- /gptparse/handlers/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gptscript-ai/gptparse/HEAD/gptparse/handlers/base.py -------------------------------------------------------------------------------- /gptparse/handlers/docling_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gptscript-ai/gptparse/HEAD/gptparse/handlers/docling_handler.py -------------------------------------------------------------------------------- /gptparse/handlers/image_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gptscript-ai/gptparse/HEAD/gptparse/handlers/image_handler.py -------------------------------------------------------------------------------- /gptparse/handlers/pdf_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gptscript-ai/gptparse/HEAD/gptparse/handlers/pdf_handler.py -------------------------------------------------------------------------------- /gptparse/models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /gptparse/models/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gptscript-ai/gptparse/HEAD/gptparse/models/base.py -------------------------------------------------------------------------------- /gptparse/models/model_interface.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gptscript-ai/gptparse/HEAD/gptparse/models/model_interface.py -------------------------------------------------------------------------------- /gptparse/models/providers/anthropic_provider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gptscript-ai/gptparse/HEAD/gptparse/models/providers/anthropic_provider.py -------------------------------------------------------------------------------- /gptparse/models/providers/google_provider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gptscript-ai/gptparse/HEAD/gptparse/models/providers/google_provider.py -------------------------------------------------------------------------------- /gptparse/models/providers/openai_provider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gptscript-ai/gptparse/HEAD/gptparse/models/providers/openai_provider.py -------------------------------------------------------------------------------- /gptparse/models/types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gptscript-ai/gptparse/HEAD/gptparse/models/types.py -------------------------------------------------------------------------------- /gptparse/modes/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /gptparse/modes/fast.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gptscript-ai/gptparse/HEAD/gptparse/modes/fast.py -------------------------------------------------------------------------------- /gptparse/modes/hybrid.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gptscript-ai/gptparse/HEAD/gptparse/modes/hybrid.py -------------------------------------------------------------------------------- /gptparse/modes/vision.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gptscript-ai/gptparse/HEAD/gptparse/modes/vision.py -------------------------------------------------------------------------------- /gptparse/outputs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gptscript-ai/gptparse/HEAD/gptparse/outputs.py -------------------------------------------------------------------------------- /gptparse/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /gptparse/utils/callbacks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gptscript-ai/gptparse/HEAD/gptparse/utils/callbacks.py -------------------------------------------------------------------------------- /gptparse/utils/image_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gptscript-ai/gptparse/HEAD/gptparse/utils/image_utils.py -------------------------------------------------------------------------------- /gptparse/utils/pdf_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gptscript-ai/gptparse/HEAD/gptparse/utils/pdf_utils.py -------------------------------------------------------------------------------- /poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gptscript-ai/gptparse/HEAD/poetry.lock -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gptscript-ai/gptparse/HEAD/pyproject.toml -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/models/test_providers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gptscript-ai/gptparse/HEAD/tests/models/test_providers.py -------------------------------------------------------------------------------- /tests/test_cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gptscript-ai/gptparse/HEAD/tests/test_cli.py -------------------------------------------------------------------------------- /tests/test_vision.py: -------------------------------------------------------------------------------- 1 | --------------------------------------------------------------------------------