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

Chat LangChain

What can I help with?

Enter to sendยทShift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDK
Language
Theme
PythonlangsmithschemasExampleUpsertWithAttachments
Classโ—Since v0.5

ExampleUpsertWithAttachments

Copy
ExampleUpsertWithAttachments(
    self,
    data = {},
)

Bases

ExampleCreate

Attributes

Inherited fromExampleCreate

Attributes

Aid: Optional[UUID]Acreated_at: datetimeAinputs: Optional[dict[str, Any]]Areference_outputs: Optional[dict[str, Any]]
View source on GitHub
A
metadata
: Optional[dict[str, Any]]
Asplit: Optional[Union[str, list[str]]]
Aattachments: Optional[dict[str, _AttachmentLike]]
Ause_source_run_io: bool
Ause_source_run_attachments: Optional[list[str]]
Asource_run_id: Optional[UUID]
Aoutputs: Optional[dict[str, Any]]
โ€”

Deprecated alias for reference_outputs.

Methods

Mmodel_copy
โ€”

Copy the example, accepting the deprecated outputs update alias.

Mmodel_dump
โ€”

Dump the example, accepting the deprecated outputs field selector.

Mmodel_dump_json
โ€”

Dump the example as JSON, accepting the deprecated outputs field selector.

Mcopy
โ€”

Copy the example, accepting the deprecated outputs update alias.

Inherited fromBaseModel

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
attribute
dataset_id: UUID

Example create with attachments.