Update a feedback configuration.
Only the provided fields will be updated; others remain unchanged.
update_feedback_config(
self,
feedback_key: str,
*,
feedback_config: Optional[ls_schemas.FeedbackConfig] = None,
is_lower_score_better: Optional[bool] = None
) -> ls_schemas.FeedbackConfigSchemaExample:
.. code-block:: python
from langsmith import Client
client = Client() config = client.update_feedback_config( "user-rating", is_lower_score_better=True, )
| 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: NoneWhether a lower score is considered better. |