[39] I used ChatGPT to extract invoice lines from a complex PDF file!

[39] I used ChatGPT to extract invoice lines from a complex PDF file!

Pythonic Accountant

1 год назад

18,576 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Muhammad Usman
Muhammad Usman - 15.07.2023 10:39

Impressive

Ответить
Daniel Tung
Daniel Tung - 29.03.2023 10:33

I suspect that this regex method may not be performing well for a variety of different invoice formats styles and wordings for the keywords.

Ответить
Ollieshew
Ollieshew - 20.03.2023 19:54

Hey do you have the final code for this?

Ответить
Michael Redfern
Michael Redfern - 19.03.2023 17:46

Where did you get this copy of an invoice from? Want to practice this specifically on a large invoice. Thanks

Ответить
SUJAN HC
SUJAN HC - 01.03.2023 10:08

can u share the code as well as the pdf? Its for a college project please :(

Ответить
Sounds of L
Sounds of L - 11.02.2023 13:26

Hello Sir. I am currently preparing for a math based entrance examination. How can I make chatgpt to analyse the past year question paper and provide me a topic wise distribution of questions asked in those previous year. the past year papers are available in pdf format and also as an URL. I am really bad at writing codes and stuff like. I really need this as this would really help me a lot in my preparation. Can help me with this?

Ответить
David Ortiz
David Ortiz - 27.01.2023 02:07

How do you feed it information. How do you get it to read the pdf? Is there a limit the amount of pages it can read?

Ответить
Shiffo
Shiffo - 22.12.2022 13:35

ChatGPT just made me use Python 10x more, because as a Finance person I was never able to come up with the right way to calculate the things I wanted in code.
Now I literally have an assistant to ask and keep prompting for the codes I need, just like in this video.
This is a gamechanger.

Ответить
Dan P
Dan P - 20.12.2022 15:17

It seems that the user is trying to use a regular expression to match and capture specific patterns in a list of strings. The patterns the user wants to capture include:

A line that sometimes has something at the beginning
Two sets of six-digit numbers
Two sets of numbers that have a decimal with exactly two digits just after the decimal
Sometimes commas and a description at the end
There are sometimes various characters, digits, or just spaces before and after each of the things the user wants to capture
The user wants to capture these patterns and create a tuple with the captured information, which they are calling "invoice." The tuple will contain the invoice date, due date, invoice amount, and a description. The user is using the GPT language model to write the regular expression code in Python and is testing it to see if it produces the desired results. The user is also trying to account for variations in the formatting of the strings, such as the presence of commas or spaces.

Ответить
masheeniblick
masheeniblick - 20.12.2022 14:06

Chewing gum 😐
As a fellow pythonic accountant, really enjoying the ChatGPT content!

Ответить
Vipan Patial
Vipan Patial - 20.12.2022 10:46

This gpt will kill all developers in future. Period

Ответить
Elbay Mammadyarov
Elbay Mammadyarov - 20.12.2022 10:26

Omg, did not know this thing is capable of doing this. Amazing!

Ответить
Pierre A.
Pierre A. - 20.12.2022 06:34

Thank you SO much!

Ответить