<!--
{
  "availability" : [
    "Xcode: 27.0.0 -",
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Evaluations",
  "identifier" : "/documentation/Evaluations/ModelJudgeEvaluator/init(judge:dimensions:scoringMode:prompt:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Evaluations"
    ],
    "preciseIdentifier" : "s:11Evaluations19ModelJudgeEvaluatorV5judge10dimensions11scoringMode6promptACyxG16FoundationModels08LanguageB0_p_SayAA14ScoreDimensionVGAA07ScoringH0OAA0bC6PromptVyxGtcfc"
  },
  "title" : "init(judge:dimensions:scoringMode:prompt:)"
}
-->

# init(judge:dimensions:scoringMode:prompt:)

Creates a multi-metric evaluator with a custom judge prompt.

```
init(judge: any LanguageModel, dimensions: [ScoreDimension], scoringMode: ScoringMode = .discrete, prompt: ModelJudgePrompt<Input>)
```

## Parameters

`judge`

The language model to use as judge.

`dimensions`

The dimensions to score. Each produces a separate DataFrame column.

`scoringMode`

A value that indicates whether scores are discrete (default) or allow any floating-point value.

`prompt`

Configuration for the judge prompt, including instructions, response presentation, and reference.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)