-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add teacher/judge section to ilab form #3777
Add teacher/judge section to ilab form #3777
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it looks good to me, just a nit
...tend/src/pages/pipelines/global/modelCustomization/teacherJudgeSection/JudgeModelSection.tsx
Outdated
Show resolved
Hide resolved
7c526b4
to
75bede7
Compare
Updated the PR, use |
frontend/src/pages/pipelines/global/modelCustomization/FineTunePageFooter.tsx
Outdated
Show resolved
Hide resolved
The functionality and Zod validation work well. I'm also waiting for the above comment so I can also make changes in my PR accordingly |
@DaoDaoNoCode , I just notice that |
@pnaik1 Nice catch! I updated the zod validation functions. |
...pts/pipelines/content/modelCustomizationForm/modelCustomizationFormSchema/validationUtils.ts
Outdated
Show resolved
Hide resolved
frontend/src/pages/pipelines/global/modelCustomization/FineTunePageFooter.tsx
Outdated
Show resolved
Hide resolved
@DaoDaoNoCode take a look at what Purva did for here taxonomy PR we should just do something like const [runFormData] = useRunFormData(ilabPipelineVersion); then with on submit you do something like handleSubmit({
...runFormData,
...translateIlabFormToPipelineInput(formData, judgeSecretName, teacherSecretName)
}) |
ae1bfad
to
aaeae49
Compare
aaeae49
to
19c45b6
Compare
frontend/src/pages/pipelines/global/modelCustomization/FineTunePageFooter.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Gkrumbach07 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
e3b27a0
into
opendatahub-io:main
JIRA: RHOAIENG-19108
Description
Added 2 similar sections to the form: Teacher model and Judge model. Here are the descriptions.
api_token
, 'endpoint' andmodel_name
. When it's public, theapi_token
field will be set as empty string.How Has This Been Tested?
Test Impact
Added unit tests for the validation
Added cypress tests for the 2 sections
Request review criteria:
Self checklist (all need to be checked):
If you have UI changes:
After the PR is posted & before it merges:
main