Skip to main content
Question

PDFs with AI

  • August 20, 2025
  • 5 replies
  • 112 views

runneals
Supporter
Forum|alt.badge.img+28

I have a lot of multipage PDF documents that I need to each summarize. Does anyone have any tips/experience/recommendations with working with multipage pdfs in FME and an AI of choice?

I’ve played around with Copilot a bit and have got prompts to return pretty good results, but it seems like FME doesn’t natively support Copilot, so I’ll have to probably switch AI solutions.

 

Thanks in advance!

5 replies

runneals
Supporter
Forum|alt.badge.img+28
  • Author
  • Supporter
  • August 27, 2025

Got access to Azure OpenAI, but it doesn’t look like any of the Azure OpenAI transformers or connectors support files like the OpenAIConnector does. Anyone have any experience with that?


desiree_at_safe
Safer
Forum|alt.badge.img+16

Hi ​@runneals!

Did you mean the AzureAIFoundaryConnector? I’m on 2025.1 and it seems like it now does support files along with other functionalities.    

 

Let me know if you were hoping for some other functionality or if I might have misunderstood your question!

Also, not sure if you were aware of this before, but this (like other) FME Hub custom transformers can be downloaded and customized as needed! You can embed it, make edits, then save it as a new FMX file. I’ve done something similar before when I was comparing my custom transformer to another similarly working one off the Hub.

Here’s more information about custom transformers if you’re interested! 🙂


runneals
Supporter
Forum|alt.badge.img+28
  • Author
  • Supporter
  • November 11, 2025

Hi ​@runneals!

Did you mean the AzureAIFoundaryConnector? I’m on 2025.1 and it seems like it now does support files along with other functionalities.    

 

Let me know if you were hoping for some other functionality or if I might have misunderstood your question!

Also, not sure if you were aware of this before, but this (like other) FME Hub custom transformers can be downloaded and customized as needed! You can embed it, make edits, then save it as a new FMX file. I’ve done something similar before when I was comparing my custom transformer to another similarly working one off the Hub.

Here’s more information about custom transformers if you’re interested! 🙂

I saw the file search initially, but that functionality seemed to allow you to upload files as resources to the model as a whole instead of passing them through for a single user message, so I ended up not going down that path. If it indeed is only used for the user message, I’d recommend renaming/updating the documentation.


desiree_at_safe
Safer
Forum|alt.badge.img+16

Thanks for explaining! I think I understand what you mean. You're looking to pass a file as part of a single message/query (like attaching a document to one specific question), rather than uploading it as a persistent resource for the assistant to reference across multiple interactions.

Could you share a bit more about your use case or any particular issue you encountered? What would this message-level file passing allow you to do that the current approach doesn't support?

It might also be helpful to see a template workspace (.fmwt) if you're getting unexpected responses. That should help me better understand what you're working with! 🙂

 


crystalwang
Safer
Forum|alt.badge.img+14
  • Safer
  • November 19, 2025

Hi ​@runneals,

Thanks for posting your question on the FME Community!

If you’re looking for an AI transformer that can handle PDFs without permanently uploading the file, the OpenAIConnector or AzureAIFoundryConnector custom transformers should fit your use case. These two custom transformers both have the File Search capability.

Both connectors temporarily upload your file for a single request, process it, and then delete it automatically before the workspace completes. Here’s what happens under the hood in the OpenAIConnector:

The uploaded file is removed automatically when the translation finishes, so it won’t be a permanent upload unless you remove the deletion step from the custom transformer workflow.

OpenAIConnector documentation from the FME Hub:

The file to include in your file search request and temporarily uploaded to the [Files endpoint](https://platform.openai.com/docs/api-reference/files. The uploaded file is automatically deleted after the workspace completes). This file will be uploaded and used in the context of the query.

 

For more background, we also have some helpful Knowledge Base articles on working with PDFs in FME using the OpenAIConnector:

Feel free to reach out if you have any additional questions, I’d be happy to help!