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

update_feedback_config

Update a feedback configuration.

Only the provided fields will be updated; others remain unchanged.

Copy
update_feedback_config(
  self,
  feedback_key: str,
  *,
  feedback_config: Optional[ls_schemas.FeedbackConfig] = None,
  is_lower_score_better: Optional[bool] = None
) -> ls_schemas.FeedbackConfigSchema

Parameters

NameTypeDescription
feedback_key*str

The feedback key of the configuration to update.

feedback_configOptional[ls_schemas.FeedbackConfig]
Default:None

The new configuration values.

is_lower_score_betterOptional[bool]
Default:None

Whether a lower score is considered better.

View source on GitHub