update_feedback_config(
self,
feedback_key: str,
*,
feedback_config: Optional[ls_schemas.FeedbackConfig] =| Name | Type | Description |
|---|---|---|
feedback_key* | str | The feedback key of the configuration to update. |
feedback_config | Optional[FeedbackConfig] | Default: NoneThe new configuration values. |
is_lower_score_better | Optional[bool] | Default: None |
Update a feedback configuration.
Only the provided fields will be updated; others remain unchanged.
Example:
.. code-block:: python
from langsmith import Client
client = Client() config = client.update_feedback_config( "user-rating", is_lower_score_better=True, )
Whether a lower score is considered better.