Operating System: Windows (inferred from file paths)
Installation method: pip (conda environment)
Description
The infer_schema method, which is expected to be available on the LlamaParse object, is not present. This leads to an AttributeError when trying to use this method.
Steps to Reproduce
Install LlamaParse version 0.4.9
Create a Python script with the following content:
The infer_schema method should be available and execute without raising an AttributeError.
Actual Behavior
An AttributeError is raised with the message:
AttributeError: 'LlamaParse' object has no attribute 'infer_schema'
Additional Information
The LlamaParse object does have other methods related to parsing and schemas, including:
parse_file
parse_obj
parse_raw
schema
schema_json
It's unclear if any of these methods are intended to replace the infer_schema functionality or if infer_schema was removed unintentionally.
Possible Workarounds
None identified at this time. Users of version 0.4.9 cannot use the infer_schema method as expected.
Impact
This issue prevents users from using the infer_schema method, which may be a critical functionality for many workflows involving LlamaParse. It requires users to find alternative methods or potentially use older versions of the library.
Additional Notes
It would be helpful to clarify in the documentation or release notes if the infer_schema method has been deprecated or replaced by another method in version 0.4.9.
LlamaParse Bug Report
Environment
Description
The
infer_schema
method, which is expected to be available on theLlamaParse
object, is not present. This leads to anAttributeError
when trying to use this method.Steps to Reproduce
Create a Python script with the following content:
Expected Behavior
The
infer_schema
method should be available and execute without raising an AttributeError.Actual Behavior
An AttributeError is raised with the message:
Additional Information
LlamaParse
object does have other methods related to parsing and schemas, including:infer_schema
functionality or ifinfer_schema
was removed unintentionally.Possible Workarounds
None identified at this time. Users of version 0.4.9 cannot use the
infer_schema
method as expected.Impact
This issue prevents users from using the
infer_schema
method, which may be a critical functionality for many workflows involving LlamaParse. It requires users to find alternative methods or potentially use older versions of the library.Additional Notes
It would be helpful to clarify in the documentation or release notes if the
infer_schema
method has been deprecated or replaced by another method in version 0.4.9.