hayhooks icon indicating copy to clipboard operation
hayhooks copied to clipboard

🟨 Support user feedbacks? Frontends like `open-webui` have 👍 and 👎 feedback icons, would be nice to store those somewhere

Open julian-risch opened this issue 9 months ago • 2 comments

julian-risch avatar Mar 26 '25 08:03 julian-risch

Open WebUI is already able to collect detailed user feedbacks:

Image

To make Hayhooks able to collect and return this data, an idea could be:

  1. Create a dedicated API endpoint for Open WebUI feedbacks
  2. Provide to Hayhooks the Open WebUI deployment URL (in settings or as above API endpoint param)
  3. Hayhooks will grab the actual stats from DB calling this Open WebUI API: http://localhost:3000/api/v1/chats/all/db
  4. JSON results will be parsed and all stats related to deployed models will be collected and returned as a response

Same thing may be achieved with a CLI command which is returning a CSV or JSON dataset.

mpangrazzi avatar Jul 31 '25 14:07 mpangrazzi

Is there a way to make what @mpangrazzi proposed more generalized and less Open WebUI specific? The logic would still follow similarly though

aymbot avatar Oct 16 '25 12:10 aymbot