You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Tracks feedback (positive or negative) related to the output of the model.
42
63
/// </summary>
64
+
/// <remarks>Records at most once per Tracker; further calls are ignored.</remarks>
43
65
/// <param name="feedback">the feedback</param>
44
66
/// <exception cref="ArgumentOutOfRangeException">thrown if the feedback value is not <see cref="Feedback.Positive"/> or <see cref="Feedback.Negative"/></exception>
45
67
publicvoidTrackFeedback(Feedbackfeedback);
46
68
47
69
/// <summary>
48
70
/// Tracks a generation event related to this config.
49
71
/// </summary>
72
+
/// <remarks>
73
+
/// Records at most once per Tracker. TrackSuccess and TrackError share state; only
74
+
/// one of the two can record per Tracker, and subsequent calls are ignored.
75
+
/// </remarks>
50
76
publicvoidTrackSuccess();
51
77
52
78
/// <summary>
53
79
/// Tracks an unsuccessful generation event related to this config.
54
80
/// </summary>
81
+
/// <remarks>
82
+
/// Records at most once per Tracker. TrackSuccess and TrackError share state; only
83
+
/// one of the two can record per Tracker, and subsequent calls are ignored.
84
+
/// </remarks>
55
85
publicvoidTrackError();
56
86
57
87
/// <summary>
@@ -86,13 +116,18 @@ public interface ILdAiConfigTracker
86
116
/// Task is automatically measured and recorded as the latency metric associated with this request.
87
117
///
88
118
/// </summary>
119
+
/// <remarks>
120
+
/// Subsequent calls re-run the task but emit only metrics not already recorded on this Tracker.
121
+
/// Call <c>CreateTracker</c> on the AI Config to start a new run.
122
+
/// </remarks>
89
123
/// <param name="request">a task representing the request</param>
0 commit comments