Example#

class langsmith.schemas.Example[source]#

Bases: ExampleBase

Example model.

Initialize a Dataset object.

param attachments: Dict[str, AttachmentInfo] | None = None#

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

param created_at: datetime [Optional]#
param dataset_id: UUID = UUID('00000000-0000-0000-0000-000000000000')#
param id: UUID [Required]#
param inputs: Dict[str, Any] [Optional]#
param metadata: Dict[str, Any] | None = None#
param modified_at: datetime | None = None#
param outputs: Dict[str, Any] | None = None#
param runs: List[Run] [Optional]#
param source_run_id: UUID | None = None#
property url: str | None#

URL of this run within the app.