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

Chat LangChain

What can I help with?

Enter to send·Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDK
Language
Theme
PythonlangsmithclientClientdelete_feedback_config
Method●Since v0.14

delete_feedback_config

Copy
delete_feedback_config(
  self,
  feedback_key: Optional[str] = None,
  *,
  config_id: Optional
View source on GitHub
[
ID_TYPE
]
=
None
)
->
None

Parameters

NameTypeDescription
feedback_keyOptional[str]
Default:None

Delete every configuration of this feedback key.

config_idOptional[Union[UUID, str]]
Default:None

Delete a feedback configuration.

This performs a soft delete. The configuration can be recreated later with the same key. Pass exactly one of feedback_key or config_id.

Example:

.. code-block:: python

from langsmith import Client

client = Client() client.delete_feedback_config("user-rating")

Delete only this configuration. Self-hosted deployments need LangSmith v0.18 or later.