Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions pageindex/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -883,8 +883,9 @@ def submit_document(
Args:
file_path (str): Path to the PDF file.
mode (str, optional): Local: "flash" (default) or "standard", a
full LLM-built tree. Cloud: None (default), the default
cloud pipeline, or "flash".
full LLM-built tree. Cloud: None (default), an outline. The
PageIndex cloud no longer builds "flash" trees and raises
PageIndexAPIError (HTTP 400); a private deployment still does.
beta_headers (list[str], optional): Cloud-only beta feature headers.
folder_id (str, optional): Cloud-only folder (workspace) ID.
metadata (dict, optional): Your own JSON-serializable tags for the
Expand Down
4 changes: 3 additions & 1 deletion pageindex/cloud_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ def submit_document(

Args:
file_path (str): Path to the PDF file.
mode (str, optional): None (default), the default cloud pipeline, or "flash".
mode (str, optional): None (default), an outline. The PageIndex
cloud no longer builds "flash" trees and answers HTTP 400; a
private deployment still does.
beta_headers (List[str], optional): Beta feature headers (e.g., ["block_reference"]
to enable block-level content with bounding boxes). Defaults to None.
folder_id (str, optional): Folder (workspace) ID to assign the document to. Defaults to None.
Expand Down
Loading