Annotate traces and runs inline

no

Original Documentation

Documentation Index#

Fetch the complete documentation index at: https://docs.langchain.com/llms.txt Use this file to discover all available pages before exploring further.

LangSmith allows you to manually annotate traces with feedback within the application. This can be useful for adding context to a trace, such as a user’s comment or a note about a specific issue. You can annotate a trace either inline or by sending the trace to an annotation queue, which allows you to closely inspect and log feedbacks to runs one at a time. Feedback tags are associated with your workspace.

You can attach user feedback to ANY intermediate run (span) of the trace, not just the root span.

This is useful for critiquing specific parts of the LLM application, such as the retrieval step or generation step of the RAG pipeline.

To annotate a trace inline, click on the Annotate in the upper right corner of trace view for any particular run that is part of the trace.

Annotate trace inline

This will open up a pane that allows you to choose from feedback tags associated with your workspace and add a score for particular tags. You can also add a standalone comment. Follow this guide to set up feedback tags for your workspace. You can also set up new feedback criteria from within the pane itself.

Annotation sidebar

You can use the labeled keyboard shortcuts to streamline the annotation process.


Edit this page on GitHub or file an issue.

Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

Link last verified June 7, 2026. View original ↗
Source: LangChain Docs
Link last verified: 2026-03-04