-
Notifications
You must be signed in to change notification settings - Fork 167
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
Support showing knowledge base #406
Conversation
jaypume
commented
May 5, 2023
- Support showing knowledge base in crd status field.
- Add knowledge base types definition.
- Add autogen crd related code based on types.go.
- Add some comment.
499b356
to
9ebdf0b
Compare
eb7e205
to
a9ee5e1
Compare
Signed-off-by: Jie Pu <[email protected]>
Signed-off-by: Jie Pu <[email protected]>
Signed-off-by: Jie Pu <[email protected]>
a9ee5e1
to
ff223d0
Compare
@@ -281,6 +281,10 @@ func (lm *Manager) evalTask(job *Job) error { | |||
jobConfig.UniqueIdentifier, err) | |||
} | |||
|
|||
// 这个触发器是指,LC已经告诉GM可以触发Eval worker了, |
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.
please comment by english
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.
The comment has been changed to English.
numberOfSamples := 0 | ||
aiModels := sednav1.AIModels{} | ||
aiclasses := sednav1.AIClasses{} | ||
aiclasses.ListOfAIClasses = cd.Output.Models[0].Classes |
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 is recommended that slice lengths be allocated in advance.
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.
The following line has beed added to optimize slice allocation.
aiModels.ListOfAIModels = make([]sednav1.AIModel, 0, len(cd.Output.Models))
/lgtm |
@seveirbian: changing LGTM is restricted to collaborators In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Signed-off-by: Jie Pu <[email protected]>
ff223d0
to
6753b22
Compare
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jaypume 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 |