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

FeedbackCreate

Schema used for creating feedback.

Copy
FeedbackCreate()

Bases

FeedbackBase

Attributes

attribute
feedback_source: FeedbackSourceBase

The source of the feedback.

attribute
feedback_config: Optional[FeedbackConfig]

The config for the feedback

attribute
error: Optional[bool]

Inherited fromFeedbackBase

Attributes

Aid: UUIDAcreated_at: floatAmodified_at: Optional[datetime]Arun_id: Optional[ls_client.ID_TYPE]
—

Optional ID for the run.

Atrace_id: UUIDAkey: str
—

The metric name, tag, or aspect to provide feedback on.

Ascore: SCORE_TYPE
—

Value or score to assign the run.

Avalue: AnyAcomment: Optional[str]
—

Comment or explanation for the feedback.

Acorrection: Union[str, dict, None]
—

Correction for the run.

Asession_id: Optional[UUID]Astart_time: datetimeAcomparative_experiment_id: Optional[UUID]
—

If logged within a 'comparative experiment', this is the ID of the experiment.

Afeedback_group_id: Optional[UUID]
—

For preference scoring, this group ID is shared across feedbacks for each

Aextra: extraAmodel_config
View source on GitHub