Providers
judge, review, synthesize, diagnose and suggest all use the model named by the judge: section of judy.yaml. Three
kinds of backend are supported. They differ only in where the model runs and how you authenticate; judy sends them the same
prompts.
# judy.yaml: pick one
judge: {provider: eis, cluster: live, inference_id: .anthropic-claude-4.5-haiku-chat_completion}
# judge: {provider: anthropic}
# judge: {provider: openai, base_url: "https://llm.example.test/v1", model: my-model, api_key: env:LLM_API_KEY}
| Provider | Where the model runs | You need |
|---|---|---|
eis |
on the Elasticsearch cluster you already search, through its inference API | a cluster from clusters: and a chat-completion inference_id |
anthropic |
Anthropic's API | ANTHROPIC_API_KEY |
openai |
any server that speaks the OpenAI chat completions API | a base_url and a model; an api_key if the server wants one |
--provider and --model override the configuration for one run. You can try another model without editing the file: judy judge wands.judgements.yaml --target hybrid --provider anthropic --model claude-sonnet-5-5.
If your cluster has chat-completion endpoints, judy can use them. There is no second account and no second key: judy reaches the model through the cluster connection it already has.
clusters:
live: {url: env:ES_URL, api_key: env:ES_API_KEY}
judge: {provider: eis, cluster: live, inference_id: .anthropic-claude-4.5-haiku-chat_completion}
List what your cluster offers with GET _inference/_all and look for chat_completion endpoints. judy calls
POST _inference/chat_completion/{inference_id}/_stream, so the endpoint must support the chat-completion task, not just
completion. The inference id doubles as the model name recorded with each label.
| Key | Meaning |
|---|---|
cluster |
a cluster from clusters: |
inference_id |
the chat-completion endpoint |
batch_size |
documents graded per model call (default 5) |
judge: {provider: anthropic}
Reads ANTHROPIC_API_KEY. The default model is claude-haiku-5-5, a small, fast model. Use a larger one when the labels need
more care.
| Key | Meaning |
|---|---|
model |
the model, such as claude-sonnet-5-5 |
api_key |
env:NAME, instead of ANTHROPIC_API_KEY |
base_url |
a proxy or gateway in front of the API |
effort |
an effort level, for models that accept one |
batch_size |
documents graded per call (default 5) |
judge:
provider: openai
base_url: "https://llm.example.test/v1"
model: my-model
api_key: env:LLM_API_KEY
judy calls POST {base_url}/chat/completions with a bearer token when there is an api_key. That is the interface hosted
providers, gateways and local servers share, so a model you run yourself works too. model is required. base_url defaults to
https://api.openai.com/v1.
This backend is covered by tests but has not been run against a live service yet. If it misbehaves on yours, that is a bug worth reporting.
Write keys as env:NAME, which reads the environment variable when it is used, so judy.yaml can be committed. See
configuration.
The judge makes many small calls, one per few documents, so cost scales with how many results are unjudged. Run
judy judge … --dry-run to see how many calls a run needs before you choose. judy's examples use a small, fast model
(claude-haiku-5-5). If you doubt the labels, grade a sample with a larger model and compare the two with judy review. The labels are yours to
check. An approved label counts as a human rating.