MS-873: Add eval run name editing and model catalog badges to OpenAPI spec#1200
MS-873: Add eval run name editing and model catalog badges to OpenAPI spec#1200chandrudo wants to merge 4 commits into
Conversation
…talog
Introduces PATCH /v2/gen-ai/model_evaluation_runs/{eval_run_uuid} for
editing evaluation run display names, and adds badges field to model
catalog entries and catalog card responses.
| $ref: ../../shared/responses/unexpected_error.yml | ||
| security: | ||
| - bearer_auth: | ||
| - genai:default |
There was a problem hiding this comment.
Shouldn't this be genai:update?
There was a problem hiding this comment.
Not sure, these comes from automated generation workflow. I guess our team never edits this manually
| @@ -0,0 +1,39 @@ | |||
| operationId: genai_GenAIAPI_GetModelCatalogCard | |||
There was a problem hiding this comment.
Are these 3 new files used anywhere?
There was a problem hiding this comment.
there is no direct referrals, but aren't these files required by default?
There was a problem hiding this comment.
if not required I can remove these
There was a problem hiding this comment.
yes, they are not used anywhere it better to remove them
| type: object | ||
| apiUpdateModelEvaluationRunInputPublic: | ||
| properties: | ||
| eval_run_uuid: |
There was a problem hiding this comment.
If we are sending the eval_run_uuid in the path do we need to add it in request body?
There was a problem hiding this comment.
I don't think so, uuid goes in the url
name goes in the request body
Co-authored-by: anup-deka <adeka@digitalocean.com>
Summary
PATCH /v2/gen-ai/model_evaluation_runs/{eval_run_uuid}endpoint allowing users to update a model evaluation run's display namebadgesfield toapiModelCatalogEntryandapiModelCatalogCardschemas to support model badge display in the catalogTest Plan
make previewrenders the new PATCH endpoint without errorsdisplay_namein the request bodybadgesarray field