Skip to content

Commit

Permalink
docs: remove param output_type (#33)
Browse files Browse the repository at this point in the history
Co-authored-by: Um Changyong <[email protected]>
  • Loading branch information
e7217 and Um Changyong authored Nov 29, 2024
1 parent 203fbdb commit c4db226
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions libs/upstage/langchain_upstage/document_parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class UpstageDocumentParseLoader(BaseLoader):
file_path = "/PATH/TO/YOUR/FILE.pdf"
loader = UpstageDocumentParseLoader(
file_path, split="page", output_type="text"
file_path, split="page", output_format="text"
)
"""

Expand All @@ -95,9 +95,6 @@ def __init__(
Args:
file_path (Union[str, Path, List[str], List[Path]]): The path to the
document to be loaded.
output_type (Union[OutputType, dict], optional): The type of output to be
generated by the parser.
Defaults to "html".
split (SplitType, optional): The type of splitting to be applied.
Defaults to "none" (no splitting).
api_key (str, optional): The API key for accessing the Upstage API.
Expand Down

0 comments on commit c4db226

Please sign in to comment.