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
PythonlangsmithclientClientupdate_feedback
Method●Since v0.0

update_feedback

Update a feedback in the LangSmith API.

Copy
update_feedback( self, feedback_id: ID_TYPE, *, score: Union[float, int, bool, None] = None, value: Union[float, int, bool, str, dict, None] = None, correction: Union[dict, None] = None, comment: Union[str, None] = None ) -> None

Parameters

NameTypeDescription
feedback_id*Union[UUID, str]

The ID of the feedback to update.

scoreOptional[Union[float, int, bool]]
Default:None

The score to update the feedback with.

valueOptional[Union[float, int, bool, str, dict]]
Default:None

The value to update the feedback with.

correctionOptional[dict]
Default:None

The correction to update the feedback with.

commentOptional[str]
Default:None

The comment to update the feedback with.

View source on GitHub