Compare commits

...

4 Commits

Author SHA1 Message Date
Pierre-Loic Doulcet 106d56455e Merge branch 'main' into fastMode 2024-05-29 15:35:16 -07:00
Logan 270d96b7e3 bump version, add image support (#201) 2024-05-28 15:54:54 -06:00
Ajit Mistry ea21daa96f Add example for Weaviate (#181)
add weaviate example
2024-05-28 13:40:11 -07:00
Pierre-Loic Doulcet 938ffbc47f Add the fast mode flag 2024-05-23 20:22:19 +02:00
4 changed files with 2902 additions and 1 deletions
File diff suppressed because one or more lines are too long
+5
View File
@@ -73,6 +73,10 @@ class LlamaParse(BasePydanticReader):
default=None,
description="The API key for the GPT-4o API. Lowers the cost of parsing.",
)
fast_mode: bool = Field(
default=False,
description="Super fast mode for parsing. Only output Text, do not extract tables, images, etc.",
)
ignore_errors: bool = Field(
default=True,
description="Whether or not to ignore and skip errors raised during parsing.",
@@ -129,6 +133,7 @@ class LlamaParse(BasePydanticReader):
data={
"language": self.language.value,
"parsing_instruction": self.parsing_instruction,
"fast_mode": self.fast_mode,
"invalidate_cache": self.invalidate_cache,
"skip_diagonal_text": self.skip_diagonal_text,
"gpt4o_mode": self.gpt4o_mode,
+7
View File
@@ -149,4 +149,11 @@ SUPPORTED_FILE_TYPES = [
# html
".html",
".htm",
# media,
".jpg",
".jpeg",
".png",
".tiff",
".gif",
".svg",
]
+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "llama-parse"
version = "0.4.3"
version = "0.4.4"
description = "Parse files into RAG-Optimized formats."
authors = ["Logan Markewich <logan@llamaindex.ai>"]
license = "MIT"