Compare commits

...

4 Commits

Author SHA1 Message Date
Logan Markewich 658ac0020b patch instead of minor 2025-10-15 11:57:03 -06:00
bogdan c73607ae4a add changeset 2025-10-15 19:49:31 +02:00
bogdan 04388b1393 lint 2025-10-15 19:32:07 +02:00
bogdan 8d31cf8e62 add arg 2025-10-15 19:14:43 +02:00
2 changed files with 12 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"llama-cloud-services-py": patch
---
Add aggressive_table_extraction flag in python sdk
+7
View File
@@ -188,6 +188,10 @@ class LlamaParse(BasePydanticReader):
default=False,
description="If set to true, LlamaParse will try to detect long table and adapt the output.",
)
aggressive_table_extraction: Optional[bool] = Field(
default=False,
description="If set to true, LlamaParse will try to extract tables aggressively, may lead to false positives.",
)
annotate_links: Optional[bool] = Field(
default=False,
description="Annotate links found in the document to extract their URL.",
@@ -713,6 +717,9 @@ class LlamaParse(BasePydanticReader):
if self.adaptive_long_table:
data["adaptive_long_table"] = self.adaptive_long_table
if self.aggressive_table_extraction:
data["aggressive_table_extraction"] = self.aggressive_table_extraction
if self.annotate_links:
data["annotate_links"] = self.annotate_links