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
  • Traceable
  • Jestlike
  • Vercel
  • Anthropic
  • Sandbox
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

LangSmith
ClientRun TreesTraceableEvaluationSchemasLangchainJestVitestWrappersAnonymizerTraceableJestlikeVercelAnthropicSandbox
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

property
attachments: Record<string, AttachmentInfo>

Attachments for the example

property
created_at: string

Timestamp when the sandbox was created.

property
dataset_id: string
property
id: string

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

property
inputs: KVMap

Inputs that were used to initiate the run.

property
metadata: KVMap

Additional metadata associated with the example.

property
modified_at: string
property
outputs: KVMap

Outputs produced by the run, if any.

property
runs: Run[]
property
source_run_id: string
property
split: string | string[]

The split(s) to assign the example to.

Inherited fromBaseExample

Properties

Pdataset_id: stringPinputs: KVMap
—

Inputs that were used to initiate the run.

Pmetadata: KVMap
—

Additional metadata associated with the example.

Poutputs: KVMap
—

Outputs produced by the run, if any.

Psource_run_id: string
View source on GitHub