diff --git a/llama_parse/base.py b/llama_parse/base.py index eb2aa27..9937963 100644 --- a/llama_parse/base.py +++ b/llama_parse/base.py @@ -421,7 +421,7 @@ async def _aget_json( if not isinstance(file_path, (bytes, BufferedIOBase)): result["file_path"] = str(file_path) - + return [result] except Exception as e: file_repr = file_path if isinstance(file_path, str) else "" @@ -507,9 +507,9 @@ async def aget_images( image["path"] = image_path image["job_id"] = job_id - + image["original_file_path"] = result.get("file_path", None) - + image["page_number"] = page["page"] with open(image_path, "wb") as f: image_url = f"{self.base_url}/api/parsing/job/{job_id}/result/image/{image_name}"