-
-
Notifications
You must be signed in to change notification settings - Fork 377
[GSK-1978,GSK-1965] LLM scan consolidation #1513
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
Conversation
|
GSK-1978 Add unit tests for LLM scan GSK-1965 Standardized config of internal LLM usage
In particular what is used in internal LLM utils |
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.
Only very minor points. Great job on the tests @mattbit!
| if out.function_call.args["passed_test"]: | ||
| results.append(EvalTestResult(score=5, reason="The answer is correct")) | ||
| else: | ||
| results.append(EvalTestResult(score=0, reason=out.function_call.args.get("reason"))) |
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.
clarification: so this 3 indicates that the answer can be improved currently never happens?
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.
This code is legacy and will be removed soon.
|
Kudos, SonarCloud Quality Gate passed! |








Few fixes and tests for the LLM scan.
prompt_injection