Use of Model Adapters in Pipeline Builder

Hello,

Following a question I previously raised in SO:
palantir foundry - How to use a Model Adapter in a User Defined Functions (UDF) for Pipeline Builder - Stack Overflow.

With the new Python UDF functions, we would like to know if it would be possible to use a Model Adapter API within a UDF in order to infer all the rows of input data ?

Best regards,

Hi! Welcome to the Palantir Developer Community!

As of now, model assets are not supported in Pipeline Builder. We definitely want to build an integration, however we do not have any concrete timelines at this time.

As the stack overflow answer suggests, you can use a python transform or batch deployment to create a dataset of model predictions and then use those in your pipeline.

Hello Tucker,

Thank you for your reply and will look forward for this implementation.

Slightly related to this topic but from Workshop module, what would be the way to infer a Live deployed model from Workshop ?
Does using Typescript or Python function with an API call to the model endpoint would work ? (It does work in Slate.)

Best regards,

This should work out of the box

https://palantir.com/docs/foundry/functions/functions-on-models/