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
PythonlangsmithclientClientget_test_results
Method●Since v0.0

get_test_results

Read the record-level information from an experiment into a Pandas DF.

Note

This will fetch whatever data exists in the DB. Results are not immediately available in the DB upon evaluation run completion.

Feedback score values will be returned as an average across all runs for the experiment. Non-numeric feedback scores will be omitted.

Copy
get_test_results(
  self,
  *,
  project_id: Optional[ID_TYPE] = None,
  project_name: Optional[str] = None
) -> pd.DataFrame

Parameters

NameTypeDescription
project_idOptional[Union[UUID, str]]
Default:None

The ID of the project.

project_nameOptional[str]
Default:None

The name of the project.

View source on GitHub