Yes
Notice the paperclip icon.
I was hoping to do an entire prompt and reply then share the conversation but was greeted with
Following are the details of an example.
The sample invoice is from
which was just uploaded to ChatGPT using drag and drop.
The prompt used to test access to the image was
Convert image to text
and the result:
from PIL import Image
import pytesseract
# Load the image from the uploaded file
image_path = '/mnt/data/Invoice.png'
image = Image.open(image_path)
# Use pytesseract to do OCR on the image
extracted_text = pytesseract.image_to_string(image)
extracted_text.strip() # Clean up the extracted text by stripping any leading/trailing whitespace.
Here’s the extracted text from the invoice:
INVOICE
East Repair Inc.
1912 Harvest Lane
New York, NY 12210
BILL TO
John Smith
2 Court Square
New York, NY 12210
SHIP TO
John Smith
3787 Pineview Drive
Cambridge, MA 12210
INVOICE # US-001
INVOICE DATE 11/02/2019
P.O. # 2312/2019
DUE DATE 26/02/2019
QTY |
DESCRIPTION |
UNIT PRICE |
AMOUNT |
1 |
Front and rear brake cables |
100.00 |
100.00 |
2 |
New set of pedal arms |
15.00 |
30.00 |
3 |
Labor 3 hrs |
5.00 |
15.00 |
Subtotal: $145.00
Sales Tax 6.25%: $9.06
TOTAL: $154.06
Thank you
John Smith
TERMS & CONDITIONS
Payment is due within 15 days
Please make checks payable to: East Repair Inc.
Here is the prompt and reply in an image to show that the code and extracted text were both provided in the ChatGPT result.
ChatGPT FAQ notes
How many files can I upload at once per GPT?
Up to 20 files per GPT for the lifetime of that GPT. Keep in mind there are file size restrictions and usage caps per user/org.
What are the file upload size restrictions?
-
All files uploaded to a GPT or a ChatGPT conversation have a hard limit of 512MB per file.
-
All text and document files uploaded to a GPT or to a ChatGPT conversation are capped at 2M tokens per file. This limitation does not apply to spreadsheets.
-
For CSV files or spreadsheets, the file size cannot exceed approximately 50MB, depending on the size of each row.
-
For images, there’s a limit of 20MB per image.
-
Additionally, there are usage caps:
-
Each end-user is capped at 10GB.
-
Each organization is capped at 100GB.
-
Note: An error will be displayed if a user/org cap has been hit.
HTH
If you provide an example of a real invoice with fictional data and a prompt you would like to see run I will test run it for you and return the results.