Object query tool on AIP logic couldn't read attachment

Object query tool not able to read attachment type property from ontology object.

You likely need to extract the text first from the attachment (use Pipeline Builder) and store that separately in your object as text. Then you can easily pass it onto the LLM.

The LLM prompt interface for AIP Studio only receives text so there needs to be a step to convert your attachment into text. I’m not aware that it can receive files directly.

In AIP logic you could use the “Extract Text from PDF” tool but its essentially the same as the step in Pipeline Builder.

Yeah. Thanks for sharing your thoughts. In our case, we can’t wait pipeline to run because docs are coming from an external front-end app and user expects response immediately. We ended up using media set instead of attachment.