You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: separate model/judge API keys, fix f-string syntax, rename jobs
- Add judge_api_key input (defaults to llm_api_key when not set)
- Fix Python SyntaxError: backslash in f-string (use constants instead)
- Rename workflow job to "VerifyWise LLM Evaluation (model_name)"
- Update README to document two-key architecture and when each is needed
- Update reusable workflow header with cross-provider example
Made-with: Cursor
|`LLM_API_KEY`| yes | API key for the model being evaluated (e.g. OpenAI, Anthropic) |
135
+
|`JUDGE_API_KEY`| no | API key for the judge LLM. Defaults to `LLM_API_KEY` if not set. Only needed when the model and judge use different providers. |
136
+
137
+
> **How it works:** The evaluation uses two LLMs — the **model** generates responses to your prompts, and the **judge** scores those responses against the selected metrics. If both use the same provider (e.g. both OpenAI), a single `LLM_API_KEY` is enough. If they use different providers (e.g. evaluating a Claude model with GPT-4o as judge), set `JUDGE_API_KEY` separately.
135
138
136
139
---
137
140
@@ -146,7 +149,8 @@ jobs:
146
149
|`model_name`|**yes**| — | Model to evaluate (e.g. `gpt-4o-mini`, `claude-3-5-sonnet`) |
147
150
|`model_provider`|**yes**| — |`openai`, `anthropic`, `google`, `mistral`, `xai`, or `self-hosted`|
148
151
|`vw_api_token`|**yes**| — | VerifyWise API token (store as a repository secret) |
149
-
|`llm_api_key`|**yes**| — | API key for the LLM provider (store as a repository secret) |
152
+
|`llm_api_key`|**yes**| — | API key for the model being evaluated |
153
+
|`judge_api_key`| no |*(same as llm_api_key)*| API key for the judge LLM (only needed when model and judge use different providers) |
150
154
|`judge_model`| no |`gpt-4o`| LLM used to judge responses |
151
155
|`judge_provider`| no |`openai`| Provider for the judge LLM |
152
156
|`threshold`| no |`0.7`| Pass/fail threshold (0.0–1.0) |
0 commit comments