Reviews & Score
Last updated
Last updated
Review are a core feature of both Prompts and Agents. They allow you to determine how your prompts are performing and super-charge the analytics feature.
After each interaction with the Agent/Prompt API you'll receive a chatId
. This can then be used in our Reviews API for your app's user to review the quality of the output they received.
For example, if your user just finished your AI powered language lesson, you can present them with a 1-5 star rating element & text review field. You then connect the chatId (from the previous Prompt / Agent output), reviewScore (stars, 1-5), and reviewText (freeform user text) to our reviews API.
We then save and store this so you can see how your users judge the quality of your AI outputs. We find this to be absolutely invaluable when developing AI features, and strongly recommend connecting to the review API.
This endpoint allows users to submit reviews based on their chat interactions. It records the review score and optional textual feedback.
The ID of the chat being reviewed
chat-67890
Textual content of the review
Great assistance, very helpful!
Numerical score of the review
4.5
ID of the user submitting the review
user-54321