Update a feedback in the LangSmith API.
update_feedback(
self,
feedback_id: ID_TYPE,
*,
score: Union[float, int, bool, None] = None,
value: Union[float, int, bool, str, dict, None] = None,
correction: Union[dict, None] = None,
comment: Union[str, None] = None
) -> None| Name | Type | Description |
|---|---|---|
feedback_id* | Union[UUID, str] | The ID of the feedback to update. |
score | Optional[Union[float, int, bool]] | Default: NoneThe score to update the feedback with. |
value | Optional[Union[float, int, bool, str, dict]] | Default: NoneThe value to update the feedback with. |
correction | Optional[dict] | Default: NoneThe correction to update the feedback with. |
comment | Optional[str] | Default: NoneThe comment to update the feedback with. |