Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
rogue/prompt_injection_evaluator/run_prompt_injection_evaluator.py
Outdated
Show resolved
Hide resolved
| model=judge_llm, | ||
| messages=[{"role": "system", "content": prompt}], | ||
| api_key=judge_llm_api_key, | ||
| response_format={"type": "json_object"}, |
There was a problem hiding this comment.
I think we can pass a pydantic model in the response_format to make sure the output is indeed as expected
rogue/prompt_injection_evaluator/run_prompt_injection_evaluator.py
Outdated
Show resolved
Hide resolved
* --wip-- [skip ci] * --wip-- [skip ci] * --wip-- [skip ci] * Update rogue/ui/components/scenario_runner.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * --wip-- [skip ci] * --wip-- [skip ci] * --wip-- [skip ci] (#4) * --wip-- [skip ci] * --wip-- [skip ci] * --wip-- [skip ci] * --wip-- [skip ci] * Some fixes * mypy fixes --------- Co-authored-by: Yuval <yuval@qualifire.ai> * Fix multiple conversations bug * Remove duplicated function * Remove comment --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Yuval <yuval@qualifire.ai>
No description provided.