edwardzev
Member
- Your Task History ID
- IjU3NjUwNTZmMDYzNjA0MzM1MjZmNTUzMTUxMzE1MTZiNTQzOTBmMzAi_pc
I am trying to build workflow that is triggered by an email parser, receive attachment url (invoice - which is pdf file with open text). Fetch details from invoice using openai, and stores it in airtable or any other spreadsheet.
I built an assistant. tested it in playground and the assistant analyze quite efficiently the uploaded file and returns needed details (invoice num, sum, etc)
Step1 - trigger=>attachment url
Step2 - upload file to assistant=>file id
Step3 - create thread=> thread id
Step4 - create message with attachment - here i have a problem. i can't get message created with file id, that contains pdf file, although it is obviously uploaded since I received file id.
Step5 - create run => status queued. Wait a bit
Step6 - list messages=>I get response that indicate that the assistant didn't really checked the uploaded file.
I am aware that the easier option is to retrieve text with the help of third party pdf parser like pdf.co, but since openai assistant easily retrieve data from the open base pdf, i want to make it available through the direct uploading of the file, and not by feeding the extracted text.
I built an assistant. tested it in playground and the assistant analyze quite efficiently the uploaded file and returns needed details (invoice num, sum, etc)
Step1 - trigger=>attachment url
Step2 - upload file to assistant=>file id
Step3 - create thread=> thread id
Step4 - create message with attachment - here i have a problem. i can't get message created with file id, that contains pdf file, although it is obviously uploaded since I received file id.
Step5 - create run => status queued. Wait a bit
Step6 - list messages=>I get response that indicate that the assistant didn't really checked the uploaded file.
I am aware that the easier option is to retrieve text with the help of third party pdf parser like pdf.co, but since openai assistant easily retrieve data from the open base pdf, i want to make it available through the direct uploading of the file, and not by feeding the extracted text.