Compare commits

...

1 Commits

Author SHA1 Message Date
Jerry Liu 5350161ddb cr 2024-10-17 10:44:22 -07:00
+5 -5
View File
@@ -159,10 +159,10 @@ class LlamaParse(BasePydanticReader):
description="Disable the OCR on the document. LlamaParse will only extract the copyable text from the document.",
)
# Coming Soon
# annotate_links: bool = Field(
# default=False,
# description="Annotate links found in the document to extract their URL.",
# )
annotate_links: bool = Field(
default=False,
description="Annotate links found in the document to extract their URL.",
)
webhook_url: Optional[str] = Field(
default=None,
description="A URL that needs to be called at the end of the parsing job.",
@@ -265,7 +265,7 @@ class LlamaParse(BasePydanticReader):
"vendor_multimodal_model_name": self.vendor_multimodal_model_name,
"take_screenshot": self.take_screenshot,
"disable_ocr": self.disable_ocr,
# "annotate_links": self.annotate_links,
"annotate_links": self.annotate_links,
}
# only send page separator to server if it is not None