Setup
chatbot.py with the following contents:
streamlit run chatbot.py.
Now, you can interact with this application and click the feedback buttons after each response.
Visit the Weave UI to see the attached feedback.
Explanation
If we consider our decorated prediction function as:call object, which is obtained by using the .call() method instead of calling the function as normal:
result above.