Filimoa / open-parse

Improved file parsing for LLM’s
https://filimoa.github.io/open-parse/
MIT License
2.55k stars 100 forks source link

Parser throws internal error #70

Open LtSalt opened 1 month ago

LtSalt commented 1 month ago

Initial Checks

Description

The parser throws an internal error:

'dict' object has no attribute 'name'

See code here. Does not seem to be dependent on the parsing algorithm.

Example Code

No response

Python, open-parse & OS Version

python_version: 3.12.0
             operating_system: Darwin
                   os_version: 24.0.0
           open-parse version: 0.6.0
                 install path: /Users/david/Desktop/projekte/film-funding/venv/lib/python3.12/site-packages/openparse
               python version: 3.12.0 (main, Oct 10 2024, 22:12:41) [Clang 16.0.0 (clang-1600.0.26.3)]
                     platform: macOS-15.0-arm64-arm-64bit
             related packages: torch-2.4.1 PyMuPDF-1.24.11 pydantic-2.9.2 torchvision-0.19.1 tokenizers-0.20.1 transformers-4.45.2