Is there any chatGPT API which takes document as an Argument and extract the text from it based on the prompt we pass into it.
Yes. Although AI language models only deal in plain text, there is “assistants”, an agent framework that can decode several types of documents and allow them to be understood by the AI.
You can then “extract the text from it”. However the AI can do more than copy-and-paste.
ERROR ::: APIError: 413 The data value transmitted exceeds the capacity limit.
Always getting this error