Chainlit / docs

10 stars 76 forks source link

How to collect data from human feedback #74

Closed kiangkiangkiang closed 10 months ago

kiangkiangkiang commented 10 months ago

I'm trying to collect the data from human feedback (negative feedback & positive feedback & additional feedback).

But I couldn't find any callback function that the "Submit feedback" button invoke.

截圖 2023-11-15 下午5 30 24

Is there any Python decorator that can catch the event or any way to solve the problem?

willydouhard commented 10 months ago

You cannot react to the human feedback atm, you can however retrieve the data at a later stage using the python cloud client.