Having diffficulties with "bring your own code" on AI Center

Hi, we are currently building a project that recieves a text and returns a true/false classification based a series of facts. Our python code recives a CSV with training data to train the model, we have tested the code localy and its running fine.

We have some experience with running our own code on AI Center, to integrate it better with out autommation, but we haven’t done it in a while. We are using the Joblib approach to use our code on AI Center, but the Main.py file seems to be giving us a hard time. Everything was uploaded to AI Center without problems and its ready to be used via Endpoint. But once we call it on the ML Skill activity we get a Bad Request with no other error logs whatsoever.

I know that AI Center can be very picky about functions name, input and return. Are we doing anything wrong?

Some prints to help with following

Hi @Jeremy_Tederry , could you help us? Would really appreciate it, we are kind of in a hurry

Hi @mziade

Welcome to UiPath community.

Can you please try using ML Extractor activity instead of ML skill activity and check the execution.

cheers