From 20ff24879405d3dd1120c9835c86094dc8b4166a Mon Sep 17 00:00:00 2001 From: William Fu-Hinthorn <13333726+hinthornw@users.noreply.github.com> Date: Mon, 15 Apr 2024 15:56:44 -0700 Subject: [PATCH] client --- python/langsmith/client.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/python/langsmith/client.py b/python/langsmith/client.py index 45b8eda2c..23864e063 100644 --- a/python/langsmith/client.py +++ b/python/langsmith/client.py @@ -3387,7 +3387,7 @@ def create_feedback( The ID of the run to provide feedback for. Either the run_id OR the project_id must be provided. key : str - The name of the metric, tag, or 'aspect' this feedback is about. + The name of the metric or 'aspect' this feedback is about. score : float or int or bool or None, default=None The score to rate this run on the metric or aspect. value : float or int or bool or str or dict or None, default=None @@ -3395,7 +3395,8 @@ def create_feedback( correction : dict or None, default=None The proper ground truth for this run. comment : str or None, default=None - A comment about this feedback. + A comment about this feedback, such as a justification for the score or + chain-of-thought trajectory for an LLM judge. source_info : Dict[str, Any] or None, default=None Information about the source of this feedback. feedback_source_type : FeedbackSourceType or str, default=FeedbackSourceType.API