Hey @melih-unsal, this PR enables you to gather and analyze feedback for the results and sources of the DemoGPT model by integrating the Trubrics SDK. You are then also able to analyse the feedback received through registration on the Trubrics platform.
Setup
To store feedback in your Trubrics account, follow these steps:
Input your Trubrics email & password into st.secrets
Preview
Here is an example of gathering and storing feedback using the faces feature for the generated code from DemoGPT.
We have also integrated feedback into the Streamlit app with the generated model:
In the following image, we can see the feedback saved in our Trubrics account.
Useful links
See here for information on how to integrate Trubrics with Streamlit.
Here you can find descriptions of the various feedback types (thumbs, faces, custom text).
We believe it would be fascinating to investigate the possibility of the feedback collector being automatically incorporated into the code when the model is generated, as opposed to being added externally as we did. Please let me know what you think.
If you have any questions, feel free to contact me.
Hey @melih-unsal, this PR enables you to gather and analyze feedback for the results and sources of the DemoGPT model by integrating the Trubrics SDK. You are then also able to analyse the feedback received through registration on the Trubrics platform.
Setup
To store feedback in your Trubrics account, follow these steps:
Preview
Here is an example of gathering and storing feedback using the faces feature for the generated code from DemoGPT.
We have also integrated feedback into the Streamlit app with the generated model:
In the following image, we can see the feedback saved in our Trubrics account.
Useful links
We believe it would be fascinating to investigate the possibility of the feedback collector being automatically incorporated into the code when the model is generated, as opposed to being added externally as we did. Please let me know what you think.
If you have any questions, feel free to contact me.