File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
zhipuai/api_resource/file_parser Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ def create(
5757 # multipart/form-data; boundary=---abc--
5858 extra_headers = {"Content-Type" : "multipart/form-data" , ** (extra_headers or {})}
5959 return self ._post (
60- "/fileParse /create" ,
60+ "/files/parser /create" ,
6161 body = maybe_transform (body , FileParserCreateParams ),
6262 files = files ,
6363 options = make_request_options (
@@ -89,7 +89,7 @@ def content(
8989 raise ValueError (f"Expected a non-empty value for `task_id` but received { task_id !r} " )
9090 extra_headers = {"Accept" : "application/binary" , ** (extra_headers or {})}
9191 return self ._get (
92- f"/fileParse /getResult/{ task_id } /{ format_type } " ,
92+ f"/files/parser /getResult/{ task_id } /{ format_type } " ,
9393 options = make_request_options (
9494 extra_headers = extra_headers , extra_body = extra_body , timeout = timeout
9595 ),
You can’t perform that action at this time.
0 commit comments