> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# judge • Rust AI Agent SDK

> judge: Judge an output (placeholder - would use LLM in real implementation).

# judge

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**Judge**](../classes/Judge) class in the [**eval**](../modules/eval) module.

Judge an output (placeholder - would use LLM in real implementation).

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def judge(&self, _input: &str, _output: &str, _expected: Option<&str>) -> JudgeResult
```

## Parameters

<ParamField query="_input" type="&str" required={true}>
  No description available.
</ParamField>

<ParamField query="_output" type="&str" required={true}>
  No description available.
</ParamField>

<ParamField query="_expected" type="Option<&str>" required={true}>
  No description available.
</ParamField>

### Returns

<ResponseField name="Returns" type="JudgeResult">
  The result of the operation.
</ResponseField>
