Is there a way to write/update a dataset using a function/API?

I have a frontend that I want to call a function with 3 inputs: exampleFunc(‘a’,‘b’,‘c’). I want this function to update a dataset I have in Foundry. I understand that python or SQL transforms can update a dataset, but I haven’t figured out a way to make them public as a useable function. Does anyone know how to do this?

I am trying to replace the values of a dataset with new values. Then I will set up a schedule that listens for these changes which will trigger a model to retrain. This is the only chronology I can think of that will allow my frontend to trigger a retrain on new data. If there is a better way, please let me know!!!

Hi, why don’t you add a materialization dataset to your object type and have a downstream transform that gets triggered and retrains your model?

That would be the foundry-way of doing things.

Didn’t know about materializations! Thanks so much!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.