Compare commits

...

3 Commits

Author SHA1 Message Date
Simon Suo 01e7ae6001 wip 2024-08-28 22:24:03 -07:00
Simon Suo 84549b20c8 wip] 2024-08-28 16:01:57 -07:00
Simon Suo 3ca291ff95 wip 2024-08-28 16:00:52 -07:00
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -137,6 +137,10 @@ class LlamaParse(BasePydanticReader):
default=None,
description="The model name for the vendor multimodal API.",
)
take_screenshot: bool = Field(
default=False,
description="Whether to take screenshot of each page of the document.",
)
@field_validator("api_key", mode="before", check_fields=True)
@classmethod
@@ -206,6 +210,7 @@ class LlamaParse(BasePydanticReader):
"vendor_multimodal_api_key": self.vendor_multimodal_api_key,
"use_vendor_multimodal_model": self.use_vendor_multimodal_model,
"vendor_multimodal_model_name": self.vendor_multimodal_model_name,
"take_screenshot": self.take_screenshot,
}
# only send page separator to server if it is not None
+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "llama-parse"
version = "0.5.0"
version = "0.5.1"
description = "Parse files into RAG-Optimized formats."
authors = ["Logan Markewich <logan@llamaindex.ai>"]
license = "MIT"