trackFeedback
method takes two arguments:
runId
: the ID of the message or run you want to track the feedback on.feedback
: an object containing the feedback data. You can use any key/value pair you want.Key | Value | Preview |
---|---|---|
thumb | up or down | 👍 / 👎 |
comment | arbitrary string | eg. “This is not correct.” |
null
as the feedback data.