Compare commits

...

2 Commits

Author SHA1 Message Date
Sacha Bron 353c49d7ba Lint 2025-04-15 17:39:34 +02:00
Sacha Bron 0fbd1fe890 Add markdown_table_multiline_header_separator support 2025-04-15 17:32:30 +02:00
3 changed files with 12 additions and 3 deletions
+9
View File
@@ -267,6 +267,10 @@ class LlamaParse(BasePydanticReader):
language: Optional[str] = Field(
default="en", description="The language of the text to parse."
)
markdown_table_multiline_header_separator: Optional[str] = Field(
default=None,
description="The separator to use to split the header of the markdown table into multiple lines. Default is: <br/>",
)
max_pages: Optional[int] = Field(
default=None,
description="The maximum number of pages to extract text from documents. If set to 0 or not set, all pages will be that should be extracted will be extracted (can work in combination with targetPages).",
@@ -798,6 +802,11 @@ class LlamaParse(BasePydanticReader):
if self.webhook_url is not None:
data["webhook_url"] = self.webhook_url
if self.markdown_table_multiline_header_separator is not None:
data[
"markdown_table_multiline_header_separator"
] = self.markdown_table_multiline_header_separator
# Deprecated
if self.bounding_box is not None:
data["bounding_box"] = self.bounding_box
+2 -2
View File
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "llama-parse"
version = "0.6.12"
version = "0.6.13"
description = "Parse files into RAG-Optimized formats."
authors = ["Logan Markewich <logan@llamaindex.ai>"]
license = "MIT"
@@ -13,7 +13,7 @@ packages = [{include = "llama_parse"}]
[tool.poetry.dependencies]
python = ">=3.9,<4.0"
llama-cloud-services = ">=0.6.12"
llama-cloud-services = ">=0.6.13"
[tool.poetry.group.dev.dependencies]
pytest = "^8.0.0"
+1 -1
View File
@@ -8,7 +8,7 @@ python_version = "3.10"
[tool.poetry]
name = "llama-cloud-services"
version = "0.6.12"
version = "0.6.13"
description = "Tailored SDK clients for LlamaCloud services."
authors = ["Logan Markewich <logan@runllama.ai>"]
license = "MIT"