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
JavaScriptlangsmithevaluation
Module●Since v0.0

evaluation

Copy
import { ... } from "langsmith/evaluation";

Functions

function
evaluate→ Promise<ComparisonEvaluationResults>
deprecatedfunction
evaluateComparative→ Promise<ComparisonEvaluationResults>

Classes

class
StringEvaluator

Interfaces

interface
EvaluateOptions
interface
ExperimentResultRow
interface
GradingFunctionParams
interface
GradingFunctionResult
interface
RunEvaluator

Type Aliases

typeAlias
DataT: string | AsyncIterable<Example> | Example[]
typeAlias
EvaluationResult

Represents the result of an evaluation.

typeAlias
EvaluatorT: DeprecatedRunEvaluator | DeprecatedFunctionEvaluator | DeprecatedAsyncFunctionEvaluator | (args: __type)
typeAlias
SummaryEvaluatorT: DeprecatedSyncSummaryEvaluator | DeprecatedAsyncSummaryEvaluator | (args: __type)
typeAlias
TargetT: StandardTargetT<TInput, TOutput> | ComparativeTargetT
View source on GitHub