# update_feedback_config

> **Method** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/client/Client/update_feedback_config)

Update a feedback configuration.

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

## Signature

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

## Description

**Example:**

.. code-block:: python

from langsmith import Client

client = Client()
config = client.update_feedback_config(
    "user-rating",
    is_lower_score_better=True,
)

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `feedback_key` | `str` | Yes |  The feedback key of the configuration to update. |
| `feedback_config` | `Optional[FeedbackConfig]` | No |  The new configuration values. (default: `None`) |
| `is_lower_score_better` | `Optional[bool]` | No |  Whether a lower score is considered better. (default: `None`) |

## Returns

`ls_schemas.FeedbackConfigSchema`

The updated feedback configuration.

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-sdk/blob/ce9e9e8973442b33e98ec3ce1b9c2dd3f58a43a7/python/langsmith/client.py#L8135)