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

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDKRemoteGraph
Language
Theme
PythonlangsmithSchemas

Schemas

Classes

Class

Attachment

Annotated type that will be stored as an attachment if used.

Class

BinaryIOLike

Protocol for binary IO-like objects.

Class

ExampleBase

Example base model.

Class

ExampleCreate

Example upload with attachments.

Class

ExampleUpsertWithAttachments

Example create with attachments.

Class

AttachmentInfo

Info for an attachment.

Class

Example

Example model.

Class

ExampleSearch

Example returned via search.

Class

AttachmentsOperations

Operations to perform on attachments.

Class

ExampleUpdate

Example update with attachments.

Class

DataType

Enum for dataset data types.

Class

DatasetBase

Dataset base model.

Class

DatasetTransformation

Schema for dataset transformations.

Class

Dataset

Dataset ORM model.

Class

DatasetVersion

Class representing a dataset version.

Class

RunBase

Base Run schema.

Class

Run

Run schema when loading from the DB.

Class

RunTypeEnum

(Deprecated) Enum for run types. Use string directly.

Class

RunLikeDict

Run-like dictionary, for type-hinting.

Class

RunWithAnnotationQueueInfo

Run schema with annotation queue info.

Class

FeedbackSourceBase

Base class for feedback sources.

Class

APIFeedbackSource

API feedback source.

Class

ModelFeedbackSource

Model feedback source.

Class

FeedbackSourceType

Feedback source type.

Class

FeedbackBase

Feedback schema.

Class

FeedbackCategory

Specific value and label pair for feedback.

Class

FeedbackConfig

Represents how a feedback value ought to be interpreted.

Class

FeedbackCreate

Schema used for creating feedback.

Class

Feedback

Schema for getting feedback.

Class

TracerSession

TracerSession schema for the API.

Class

TracerSessionResult

A project, hydrated with additional information.

Class

BaseMessageLike

A protocol representing objects similar to BaseMessage.

Class

DatasetShareSchema

Represents the schema for a dataset share.

Class

AnnotationQueueRubricItem

Represents a rubric item assigned to an annotation queue.

Class

AnnotationQueue

Represents an annotation queue.

Class

AnnotationQueueWithDetails

Represents an annotation queue with details.

Class

BatchIngestConfig

Configuration for batch ingestion.

Class

LangSmithInfo

Information about the LangSmith server.

Class

LangSmithSettings

Settings for the LangSmith tenant.

Class

FeedbackIngestToken

Represents the schema for a feedback ingest token.

Class

RunEvent

Run event schema.

Class

TimeDeltaInput

Timedelta input schema.

Class

DatasetDiffInfo

Represents the difference information between two datasets.

Class

ComparativeExperiment

Represents a comparative experiment.

Class

PromptCommit

Represents a Prompt with a manifest.

Class

ListedPromptCommit

Represents a listed prompt commit with associated metadata.

Class

Prompt

Represents a Prompt with metadata.

Class

ListPromptsResponse

A list of prompts with metadata.

Class

PromptSortField

Enum for sorting fields for prompts.

Class

InputTokenDetails

Breakdown of input token counts.

Class

OutputTokenDetails

Breakdown of output token counts.

Class

InputCostDetails

Breakdown of input token costs.

Class

OutputCostDetails

Breakdown of output token costs.

Class

UsageMetadata

Usage metadata for a message, such as token counts.

Class

ExtractedUsageMetadata

Usage metadata dictionary extracted from a run.

Class

UpsertExamplesResponse

Response object returned from the upsert_examples_multipart method.

Class

ExampleWithRuns

Example with runs.

Class

ExperimentRunStats

Run statistics for an experiment.

Class

ExperimentResults

Results container for experiment data with stats and examples.

Class

InsightsReport

An Insights Report created by the Insights Agent over a tracing project.

Class

FeedbackFormulaWeightedVariable

A feedback key and weight used when calculating feedback formulas.

Class

FeedbackFormulaCreate

Schema used for creating a feedback formula.

Class

FeedbackFormulaUpdate

Schema used for updating a feedback formula.

Class

FeedbackFormula

Schema for getting feedback formulas.

Class

FeedbackConfigSchema

Represents a feedback configuration for a tenant's feedback key.

Types

Type

SCORE_TYPE

Type

VALUE_TYPE

Constants

Attribute

Attachments

Attachments associated with the run.

Attribute

ExampleUploadWithAttachments

Attribute

ExampleUpdateWithAttachments

Attribute

DatasetTransformationType