Skip to content

Commit

Permalink
Add instructions for getting message ID
Browse files Browse the repository at this point in the history
  • Loading branch information
gharbat committed Jun 20, 2024
1 parent 4e7b1ea commit a7f34a7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/votes/rlhf.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,11 @@ At the moment, the RLHF feature is only available to a few users. We are working
## What can I do for now?

You can still use the votes endpoint to vote on the quality of the AI response, and you can use the history endpoints to see the history of votes.


## From where I can get the message ID?

You have two options:

1. In the chat widget, after every AI response you will get a socket event with the name `vote`. The event will contain the message ID of the last AI response.
2. Or you can use the `history` endpoint to get the history of votes and find the message ID of the last AI response.

0 comments on commit a7f34a7

Please sign in to comment.