vercel / ai-chatbot

A full-featured, hackable Next.js AI chatbot built by Vercel
https://chat.vercel.ai
Other
5.6k stars 1.67k forks source link

Feature Request: Add Vote field in Message class to facilitate upvote/downvote for individual response. #248

Open Shailendra-YNOS opened 4 months ago

Shailendra-YNOS commented 4 months ago

It would be nice to have a Upvote/Downvote option for each response message. The corresponding button (UI) should be able to make the additional call to the NextJs backend or to external custom API.

This will enable the developer to use the Upvote/Downvote as per their use-case.

chinnichaitanya commented 4 months ago

+1 Expanding on this, I feel a generalised solution to enable developer to add new / modify existing fields in the Message type would be fantastic!!