> ## 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.

# 内联标注跟踪和运行

LangSmith 允许您在应用程序内手动为跟踪添加反馈标注。这对于为跟踪添加上下文信息非常有用，例如用户的评论或关于特定问题的备注。
您可以通过内联方式标注跟踪，也可以将跟踪发送到标注队列，以便逐一仔细检查并记录运行的反馈。
反馈标签与您的[工作区](/langsmith/administration-overview#workspaces)相关联。

<Note>
  **您可以将用户反馈附加到跟踪的任何中间运行（跨度），而不仅仅是根跨度。**

  这对于批评 LLM 应用程序的特定部分非常有用，例如 RAG 管道的检索步骤或生成步骤。
</Note>

要内联标注跟踪，请点击跟踪视图中任何特定运行右上角的 `Annotate`。

<img src="https://mintcdn.com/other-405835d4/U_V3brHb6y_62TSF/langsmith/images/annotate-trace-inline.png?fit=max&auto=format&n=U_V3brHb6y_62TSF&q=85&s=15bf08f77087e9cb7c148db230987477" alt="内联标注跟踪" width="1722" height="1035" data-path="langsmith/images/annotate-trace-inline.png" />

这将打开一个面板，允许您从与工作区关联的反馈标签中进行选择，并为特定标签添加分数。您还可以添加独立的评论。请按照[设置反馈标准](/langsmith/set-up-feedback-criteria)为您的工作区设置反馈标签。
您也可以直接在面板内设置新的反馈标准。

<img src="https://mintcdn.com/other-405835d4/U_V3brHb6y_62TSF/langsmith/images/annotation-sidebar.png?fit=max&auto=format&n=U_V3brHb6y_62TSF&q=85&s=b3535fe1aecc9b0d4710f87dc028f3bf" alt="标注侧边栏" width="1376" height="758" data-path="langsmith/images/annotation-sidebar.png" />

您可以使用标记的键盘快捷键来简化标注过程。

***

<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/annotate-traces-inline.mdx) 或 [提交问题](https://github.com/langchain-ai/docs/issues/new/choose)。
  </Callout>
</div>
