> Discover all available pages from the documentation index: https://mastra.zisheng.pro/ja/llms.txt # listScorers() `listScorers()` メソッドは、Mastra インスタンスに登録されているすべての Scorer を返します。Scorer は AI の出力を評価するために使用され、Agent の生成時や Workflow の実行時にデフォルトの Scorer を上書きできます。 ## 使用例 ```typescript import { mastra } from './mastra' // Get all registered scorers const allScorers = mastra.listScorers() // Access a specific scorer const myScorer = allScorers.relevancyScorer ``` ## パラメーター このメソッドはパラメーターを受け取りません。 ## 戻り値 **scorers** (`Record | undefined`): 登録済みのすべての Scorer を含むオブジェクト。キーは Scorer 名、値は MastraScorer インスタンスです。Scorer が登録されていない場合は undefined を返します。 ## 関連項目 - [getScorer()](https://mastra.zisheng.pro/ja/reference/core/getScorer): キーで特定の Scorer を取得 - [getScorerById()](https://mastra.zisheng.pro/ja/reference/core/getScorerById): id プロパティで Scorer を取得 - [Scorer の概要](https://mastra.zisheng.pro/ja/docs/evals/overview): Scorer の作成方法と使用方法