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

Dataset

Dataset ORM model.

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

Bases

DatasetBase

Constructors

Attributes

Inherited fromDatasetBase

Attributes

Aname: strAdescription: Optional[str]Adata_type: Optional[DataType]Amodel_config

Inherited fromBaseModel

View source on GitHub
=
None
,
_public_path
:
Optional
[
str
]
=
None
,
**
kwargs
:
Any
=
{
}
)

Attributes

Amodel_fields_set: set[str]Amodel_config: ConfigDictAmodel_construct: construct

Methods

Mto_dict
—

Recursively generate a dictionary representation of the model, optionally specifying which fields to include or exclude.

Mto_json
—

Generates a JSON string representing this model as it would be received from or sent to the API (but with indentation).

MconstructMmodel_dump
—

Usage docs: https://docs.pydantic.dev/2.4/concepts/serialization/#modelmodel_dump

Mmodel_dump_json
—

Usage docs: https://docs.pydantic.dev/2.4/concepts/serialization/#modelmodel_dump_json

Classes

CConfig
constructor
__init__
NameType
_host_urlOptional[str]
_tenant_idOptional[UUID]
_public_pathOptional[str]
attribute
id: UUID
attribute
created_at: datetime
attribute
modified_at: Optional[datetime]
attribute
example_count: Optional[int]
attribute
session_count: Optional[int]
attribute
last_session_start_time: Optional[datetime]
attribute
inputs_schema: Optional[dict[str, Any]]
attribute
outputs_schema: Optional[dict[str, Any]]
attribute
transformations: Optional[list[DatasetTransformation]]
attribute
metadata: Optional[dict[str, Any]]
attribute
url: Optional[str]

URL of this run within the app.