> ## Documentation Index
> Fetch the complete documentation index at: https://cndoc-langchain.site/llms.txt
> Use this file to discover all available pages before exploring further.

# 如何审核评估器评分

LLM作为评判的评估器并非总是正确。因此，人工审核评估器留下的评分并在必要时进行修正通常很有用。LangSmith 允许您在用户界面或 SDK 中对评估器评分进行修正。

## 在比较视图中

在比较视图中，您可以点击任何反馈标签以查看反馈详情。然后，点击右侧的“编辑”图标以打开修正视图。接着，您可以在“进行修正”下方的文本框中输入您期望的分数。如果您愿意，还可以为修正附加说明。如果您使用的是[少样本评估器](/langsmith/create-few-shot-evaluators)，这将非常有用，该说明将自动插入到您的少样本示例中，替代 `few_shot_explanation` 提示变量。

<img src="https://mintcdn.com/other-405835d4/jwwDDYly65_K9YMB/langsmith/images/corrections-comparison-view.png?fit=max&auto=format&n=jwwDDYly65_K9YMB&q=85&s=f9dfedaaf4da04d20821a5e82a31c64b" alt="审核评估器比较视图" width="3426" height="1878" data-path="langsmith/images/corrections-comparison-view.png" />

## 在运行表格中

在运行表格中，找到“反馈”列并点击反馈标签以查看反馈详情。同样，点击右侧的“编辑”图标以打开修正视图。

<img src="https://mintcdn.com/other-405835d4/jwwDDYly65_K9YMB/langsmith/images/corrections-runs-table.png?fit=max&auto=format&n=jwwDDYly65_K9YMB&q=85&s=73f7de037ede2e51b43a3222199730f3" alt="审核评估器运行表格" width="1734" height="1002" data-path="langsmith/images/corrections-runs-table.png" />

## 在 SDK 中

可以通过 SDK 的 `update_feedback` 函数，使用 `correction` 字典进行修正。您必须指定一个 `score` 键，其对应一个数字，以便在用户界面中渲染。

<CodeGroup>
  ```python Python theme={"theme":{"light":"catppuccin-latte","dark":"catppuccin-mocha"}}
  import langsmith

  client = langsmith.Client()

  client.update_feedback(
      my_feedback_id,
      correction={
          "score": 1,
      },
  )
  ```

  ```typescript TypeScript theme={"theme":{"light":"catppuccin-latte","dark":"catppuccin-mocha"}}
  import { Client } from 'langsmith';

  const client = new Client();

  await client.updateFeedback(
      myFeedbackId,
      {
          correction: {
              score: 1,
          }
      }
  )
  ```
</CodeGroup>

***

<div className="source-links">
  <Callout icon="terminal-2">
    [连接这些文档](/use-these-docs)到 Claude、VSCode 等，通过 MCP 获取实时答案。
  </Callout>

  <Callout icon="edit">
    [在 GitHub 上编辑此页面](https://github.com/langchain-ai/docs/edit/main/src/langsmith/audit-evaluator-scores.mdx) 或 [提交问题](https://github.com/langchain-ai/docs/issues/new/choose)。
  </Callout>
</div>
