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
Pythonlangsmithevaluation_runnerComparativeExperimentResults
Class●Since v0.1

ComparativeExperimentResults

Represents the results of an evaluate_comparative() call.

This class provides an iterator interface to iterate over the experiment results as they become available. It also provides methods to access the experiment name, the number of results, and to wait for the results to be processed.

Copy
ComparativeExperimentResults(
  self,
  results: dict,
  examples: Optional[dict[uuid.UUID, schemas.Example]] = None
)

Constructors

constructor
__init__
NameType
resultsdict
examplesOptional[dict[uuid.UUID, schemas.Example]]
View source on GitHub