Arize-ai / phoenix

AI Observability & Evaluation
https://docs.arize.com/phoenix
Other
4.05k stars 299 forks source link

[playground][ui] show invocation param form field errors on fields that have issues #5540

Open Parker-Stafford opened 3 days ago

Parker-Stafford commented 3 days ago

invocation parameter form errors should be shown on the field that they apply to. There may be some complications with more complicated validation but at least for required.

Use controllers and validation rules example: https://github.com/Arize-ai/phoenix/blob/main/app/src/components/dataset/DatasetForm.tsx#L54-L74

image

example of current error, should be moved to max tokens field image