LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
LangSmith
  • Client
  • Run Trees
  • Traceable
  • Evaluation
  • Schemas
  • Langchain
  • Jest
  • Vitest
  • Wrappers
  • Anonymizer
  • Jestlike
  • Vercel
  • Anthropic
  • Sandbox
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

LangSmith
ClientRun TreesTraceableEvaluationSchemasLangchainJestVitestWrappersAnonymizerJestlikeVercelAnthropicSandbox
Language
Theme
JavaScriptlangsmithindexExample
Interface●Since v0.0

Example

Copy
interface Example

Bases

BaseExample

Used in Docs

  • How to define a code evaluator
  • How to evaluate an application's intermediate steps
  • How to evaluate an LLM application
  • How to fetch performance metrics for an experiment
  • How to return categorical vs numerical metrics

Properties

Inherited fromBaseExample

Properties

Pdataset_id: stringPinputs: KVMap
—

Inputs that were used to initiate the run.

Pmetadata: KVMap
—

Additional metadata associated with the example.

Poutputs
View source on GitHub
: KVMap
—

Outputs produced by the run, if any.

Psource_run_id: string
property
attachments: Record<string, AttachmentInfo>
property
created_at: string
property
dataset_id: string
property
id: string
property
inputs: KVMap
property
metadata: KVMap
property
modified_at: string
property
outputs: KVMap
property
runs: Run[]
property
source_run_id: string
property
split: string | string[]

Attachments for the example

Timestamp when the sandbox was created.

Unique identifier (UUID). Remains constant even if name changes.

Inputs that were used to initiate the run.

Additional metadata associated with the example.

Outputs produced by the run, if any.

The split(s) to assign the example to.