diff --git a/any_parser/base.py b/any_parser/base.py index ec1eec2..9437f57 100644 --- a/any_parser/base.py +++ b/any_parser/base.py @@ -95,8 +95,7 @@ def _request_info_extraction(self, user_id, job_id, s3_key, mode, prompt=""): "userId": user_id, "jobId": job_id, "fileKey": s3_key, - "user_prompt": prompt, - "use_textract": "True" if mode == "advanced" else "False", + "userPrompt": prompt, } response = requests.post( self._parseurl, headers=self._request_header, json=payload @@ -115,8 +114,7 @@ def _request_instruction_extraction(self, user_id, job_id, s3_key, mode, prompt= "userId": user_id, "jobId": job_id, "fileKey": s3_key, - "user_prompt": prompt, - "use_textract": "True" if mode == "advanced" else "False", + "userPrompt": prompt, } response = requests.post( self._instructurl, headers=self._request_header, json=payload