Closed Sparkier closed 11 months ago
Causes failure w/ special characters such as question marks
If you call create_system with the following arguments (note the ".." in the system name), it gives a cryptic "not found" APIError: ``` project.upload_system(df_out, name="../gpt-4", output_column="answer", id_column="example_id") ``` This resulted in user confusion: [https://lti-at-cmu.slack.com/archives/C05QRD1LPJQ/p1696606706259099](https://lti-at-cmu.slack.com/archives/C05QRD1LPJQ/p1696606706259099) In general, I would prefer doing most data validation on the backend side (because there's a possibility that people would make requests without using our client). But in this particular case if the input is invalid it will result in hitting a non-existant URL, so it probably has to be done on the client side.
…aracter
towards ZEN-233 fix ZEN-219