Skip to content

Commit

Permalink
New parameters (#285)
Browse files Browse the repository at this point in the history
wip
  • Loading branch information
hexapode authored Jul 12, 2024
1 parent 478142e commit dac2f7c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions llama_parse/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,18 @@ class LlamaParse(BasePydanticReader):
default=True,
description="Whether to split by page (NOTE: using a predefined separator `\n---\n`)",
)
vendor_multimodal_api_key: Optional[str] = Field(
default=None,
description="The API key for the multimodal API.",
)
use_vendor_multimodal: bool = Field(
default=False,
description="Whether to use the vendor multimodal API.",
)
vendor_multimodal_model_name: Optional[str] = Field(
default=None,
description="The model name for the vendor multimodal API.",
)

@validator("api_key", pre=True, always=True)
def validate_api_key(cls, v: str) -> str:
Expand Down

0 comments on commit dac2f7c

Please sign in to comment.