LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Client
  • AsyncClient
  • Run Helpers
  • Run Trees
  • Evaluation
  • Schemas
  • Utilities
  • Wrappers
  • Anonymizer
  • Testing
  • Expect API
  • Middleware
  • Pytest Plugin
  • Deployment SDK
  • RemoteGraph
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDKRemoteGraph
Language
Theme
Pythonlangsmithrun_helpersLangSmithExtra
Class●Since v0.0

LangSmithExtra

Any additional info to be injected into the run dynamically.

Copy
LangSmithExtra()

Bases

TypedDict

Constructors

constructor
__init__
NameType
nameOptional[str]
reference_example_idOptional[ls_client.ID_TYPE]
run_extraOptional[dict]
parentOptional[Union[run_trees.RunTree, str, Mapping]]
run_treeOptional[run_trees.RunTree]
project_nameOptional[str]
metadataOptional[dict[str, Any]]
tagsOptional[list[str]]
run_idOptional[ls_client.ID_TYPE]
clientOptional[ls_client.Client]
on_endOptional[Callable[[run_trees.RunTree], Any]]

Attributes

attribute
name: Optional[str]

Optional name for the run.

attribute
reference_example_id: Optional[ls_client.ID_TYPE]

Optional ID of a reference example.

attribute
run_extra: Optional[dict]

Optional additional run information.

attribute
parent: Optional[Union[run_trees.RunTree, str, Mapping]]

Optional parent run, can be a RunTree, string, or mapping.

attribute
run_tree: Optional[run_trees.RunTree]

Optional run tree (deprecated).

attribute
project_name: Optional[str]

Optional name of the project.

attribute
metadata: Optional[dict[str, Any]]

Optional metadata for the run.

attribute
tags: Optional[list[str]]

Optional list of tags for the run.

attribute
run_id: Optional[ls_client.ID_TYPE]

Optional ID for the run.

attribute
client: Optional[ls_client.Client]

Optional LangSmith client.

attribute
on_end: Optional[Callable[[run_trees.RunTree], Any]]

Optional callback function to be called after the run ends and is sent.

View source on GitHub