fix: modify megaparse strategy (#3474)

This commit is contained in:
Chloé Daems 2024-11-12 22:35:41 +01:00 committed by GitHub
parent 063bbd323d
commit da97b2cf14
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,7 +33,7 @@ class MegaparseBaseConfig(BaseModel):
class MegaparseConfig(MegaparseBaseConfig):
method: ParserType = ParserType.UNSTRUCTURED
strategy: StrategyEnum = StrategyEnum.AUTO
strategy: StrategyEnum = StrategyEnum.FAST
check_table: bool = False
parsing_instruction: str | None = None
model_name: str = "gpt-4o"