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
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: UUID
—

The unique ID of the feedback.

Acreated_at: Optional[datetime]
—

The time the feedback was created.

Amodified_at: Optional[datetime]
—

The time the feedback was last modified.

Arun_id: Optional[UUID]
—

The associated run ID this feedback is logged for.

Atrace_id: Optional[UUID]
—

The associated trace ID this feedback is logged for.

Akey: str
—

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

Ascore: SCORE_TYPE
—

Value or score to assign the run.

Avalue: VALUE_TYPE
—

The display value, tag or other value for the feedback if not a metric.

Acomment: Optional[str]
—

Comment or explanation for the feedback.

Acorrection: Union[str, dict, None]
—

Correction for the run.

Asession_id: Optional[UUID]
—

The associated project ID (Session = Project) this feedback is logged for.

Astart_time: Optional[datetime]
—

The start time of the run this feedback is associated with.

Acomparative_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: Optional[dict]
—

The metadata of the feedback.

Amodel_config
View source on GitHub