Skip to content

Commit

Permalink
client
Browse files Browse the repository at this point in the history
  • Loading branch information
hinthornw committed Apr 15, 2024
1 parent ba4d5ae commit 20ff248
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python/langsmith/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -3387,15 +3387,16 @@ 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
The display value or non-numeric value for this 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
Expand Down

0 comments on commit 20ff248

Please sign in to comment.