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
PythonlangsmithschemasExample
Class●Since v0.0

Example

Example model.

Copy
Example(
  self,
  _host_url: Optional[str] = None,
  _tenant_id: Optional[UUID] 

Bases

ExampleBase

Used in Docs

  • How to define a code evaluator
  • How to evaluate a graph
  • How to fetch performance metrics for an experiment
  • Run SWE-bench with LangSmith

Constructors

Attributes

Inherited fromExampleBase

Attributes

Ainputs: inputsAoutputs: Optional[dict[str, Any]]Ametadata: Optional[dict[str, Any]]
—

Optional metadata for the run.

Amodel_config
View source on GitHub
=
None
,
**
kwargs
:
Any
=
{
}
)
constructor
__init__
NameType
_host_urlOptional[str]
_tenant_idOptional[UUID]
attribute
id: UUID
attribute
created_at: datetime
attribute
dataset_id: UUID
attribute
modified_at: Optional[datetime]
attribute
source_run_id: Optional[UUID]
attribute
attachments: Optional[dict[str, AttachmentInfo]]
attribute
url: Optional[str]

Dictionary with attachment names as keys and a tuple of the S3 url and a reader of the data for the file.

URL of this run within the app.