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
:param expected: (Optional) the ground truth value (an arbitrary, JSON serializable object) that you'd compare to `output` to determine if your `output` value is correct or not.
3892
3892
:param tags: (Optional) a list of strings that you can use to filter and group records later.
3893
3893
:param comment: (Optional) an optional comment string to log about the event.
3894
-
:param metadata: (Optional) a dictionarywith additional data about the feedback. If you have a `user_id`, you can log it here and access it in the Braintrust UI. Note, this metadata does not correspond to the main event itself, but rather the audit log attached to the event.
3894
+
:param metadata: (Optional) a dictionary, or an object that serializes to a dictionary, with additional data about the feedback. If you have a `user_id`, you can log it here and access it in the Braintrust UI. Note, this metadata does not correspond to the main event itself, but rather the audit log attached to the event. The values in `metadata` can be any JSON-serializable type, but its keys must be strings.
3895
3895
:param source: (Optional) the source of the feedback. Must be one of "external" (default), "app", or "api".
:param expected: (Optional) the ground truth value (an arbitrary, JSON serializable object) that you'd compare to `output` to determine if your `output` value is correct or not.
5324
5324
:param tags: (Optional) a list of strings that you can use to filter and group records later.
5325
5325
:param comment: (Optional) an optional comment string to log about the event.
5326
-
:param metadata: (Optional) a dictionarywith additional data about the feedback. If you have a `user_id`, you can log it here and access it in the Braintrust UI. Note, this metadata does not correspond to the main event itself, but rather the audit log attached to the event.
5326
+
:param metadata: (Optional) a dictionary, or an object that serializes to a dictionary, with additional data about the feedback. If you have a `user_id`, you can log it here and access it in the Braintrust UI. Note, this metadata does not correspond to the main event itself, but rather the audit log attached to the event. The values in `metadata` can be any JSON-serializable type, but its keys must be strings.
5327
5327
:param source: (Optional) the source of the feedback. Must be one of "external" (default), "app", or "api".
0 commit comments