"tests/vscode:/vscode.git/clone" did not exist on "9249be28ccd7359a2c9099a37874fc7660ddfd79"
Unverified Commit 9ba95ba1 authored by zhanluxianshen's avatar zhanluxianshen
Browse files

clean demo function notes.


Signed-off-by: default avatarzhanluxianshen <zhanluxianshen@163.com>
parent 94410962
...@@ -169,8 +169,8 @@ def parse_doc( ...@@ -169,8 +169,8 @@ def parse_doc(
backend="pipeline", backend="pipeline",
method="auto", method="auto",
server_url=None, server_url=None,
start_page_id=0, # Start page ID for parsing, default is 0 start_page_id=0,
end_page_id=None # End page ID for parsing, default is None (parse all pages until the end of the document) end_page_id=None
): ):
""" """
Parameter description: Parameter description:
...@@ -192,6 +192,8 @@ def parse_doc( ...@@ -192,6 +192,8 @@ def parse_doc(
Without method specified, 'auto' will be used by default. Without method specified, 'auto' will be used by default.
Adapted only for the case where the backend is set to "pipeline". Adapted only for the case where the backend is set to "pipeline".
server_url: When the backend is `sglang-client`, you need to specify the server_url, for example:`http://127.0.0.1:30000` server_url: When the backend is `sglang-client`, you need to specify the server_url, for example:`http://127.0.0.1:30000`
start_page_id: Start page ID for parsing, default is 0
end_page_id: End page ID for parsing, default is None (parse all pages until the end of the document)
""" """
try: try:
file_name_list = [] file_name_list = []
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment