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
Pythonlangsmith_openapi_clienttypesdatasetDataset
Class●Since v0.9

Dataset

Copy
Dataset()

Bases

BaseModel

Attributes

Inherited fromBaseModel

Attributes

Amodel_fields_set: set[str]Amodel_config: ConfigDictAmodel_construct: construct

Methods

Mto_dict
—
View source on GitHub

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).

Mconstruct
Mmodel_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
attribute
id: str
attribute
modified_at: datetime
attribute
name: str
attribute
session_count: int
attribute
tenant_id: str
attribute
baseline_experiment_id: Optional[str]
attribute
created_at: Optional[datetime]
attribute
data_type: Optional[DataType]
attribute
description: Optional[str]
attribute
example_count: Optional[int]
attribute
externally_managed: Optional[bool]
attribute
inputs_schema_definition: Optional[Dict[str, object]]
attribute
last_session_start_time: Optional[datetime]
attribute
metadata: Optional[Dict[str, object]]
attribute
outputs_schema_definition: Optional[Dict[str, object]]
attribute
transformations: Optional[List[DatasetTransformation]]

Dataset schema.

Enum for dataset data types.