OpenAI's File Search. Where to attach file/pdf in the OpenAI module?

I am extracting company’s credit assessment report (22 pages+) from pdf file, and output a function call.

I am not extracting all information, only certain section in the report, thus using File Search is the best method, is it? At least this is according to ChatGPT.

But it seems like I couldn’t find where to attach the file for the OpenAI module. I have made the file public by uploading in Supabase. I have attached the file link to Function URL. Check below image.

But the output from OpenAI is always mentioned that there is no pdf file attached. Below image.

Has anyone ever done File Search with PDF with Open AI module? Curious how to setup and get this right.

Thank you.

1 Like

Hi @Faisal_Karim

Please read this solution for such usecase : Passing two documents into a gpt module - #7 by Prem_Patel

Let me know if you need more help!

Best
@Prem_Patel

1 Like

Thank you for taking your time to reply @Prem_Patel . I will try and give you the feedback soon.

1 Like