Compare commits

...

1 Commits

Author SHA1 Message Date
Sacha Bron f832e254da Add adaptive_long_table option 2025-02-28 15:16:56 +01:00
+7
View File
@@ -111,6 +111,10 @@ class LlamaParse(BasePydanticReader):
)
# Parsing specific configurations (Alphabetical order)
adaptive_long_table: Optional[bool] = Field(
default=False,
description="If set to true, LlamaParse will try to detect long table and adapt the output.",
)
annotate_links: Optional[bool] = Field(
default=False,
description="Annotate links found in the document to extract their URL.",
@@ -520,6 +524,9 @@ class LlamaParse(BasePydanticReader):
data["from_python_package"] = True
if self.adaptive_long_table:
data["adaptive_long_table"] = self.adaptive_long_table
if self.annotate_links:
data["annotate_links"] = self.annotate_links