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
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDK
Language
Theme
PythonlangsmithschemasExample
Class●Since v0.0

Example

Example model.

Copy
Example( self, _host_url: Optional[str] = None, _tenant_id: Optional[UUID] = None, **kwargs: Any = {} )

Bases

ExampleBase

Used in Docs

  • How to define a code evaluator
  • How to evaluate a graph
  • How to fetch performance metrics for an experiment

Constructors

constructor
__init__
NameType
_host_urlOptional[str]
_tenant_idOptional[UUID]

Attributes

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]]

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

attribute
url: Optional[str]

URL of this run within the app.

Inherited fromExampleBase

Attributes

Ainputs: Optional[dict[str, Any]]Aoutputs: Optional[dict[str, Any]]Ametadata: Optional[dict[str, Any]]Amodel_config
View source on GitHub