File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -1540,6 +1540,8 @@ def create_prediction(
15401540 preprocess_config : Optional [dict ] = None ,
15411541 postprocess_config : Optional [dict ] = None ,
15421542 run_async : Optional [bool ] = None ,
1543+ project_id : Optional [str ] = None ,
1544+ project_run_id : Optional [str ] = None ,
15431545 ) -> Dict :
15441546 """Create a prediction on a document using specified model, calls the POST /predictions endpoint.
15451547
@@ -1595,6 +1597,8 @@ def create_prediction(
15951597 'preprocessConfig' : preprocess_config ,
15961598 'postprocessConfig' : postprocess_config ,
15971599 'async' : run_async ,
1600+ 'projectId' : project_id ,
1601+ 'projectRunId' : project_run_id ,
15981602 }
15991603 return self ._make_request (requests .post , '/predictions' , body = dictstrip (body ))
16001604
You can’t perform that action at this time.
0 commit comments