mmz-001 / knowledge_gpt

Accurate answers and instant citations for your documents.
https://knowledgegpt.streamlit.app/
MIT License
1.57k stars 716 forks source link

Integrating Trubrics SDK for Feedback Collection and Analysis in KnowledgeGPT #51

Open PBozmarov opened 1 year ago

PBozmarov commented 1 year ago

Hey @mmz-001, this PR enables you to gather and analyze feedback for the results and sources of the KnowledgeGPT 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:

  1. Register for a free account with Trubrics here
  2. Input your Trubrics email & password into st.secrets

Preview

Here is an example of gathering and storing feedback using the thumbs feature. know_gpt

In the following image, we can see the feedback saved in our Trubrics account. saved_feedback

Useful links

  1. See here for information on how to integrate Trubrics with Streamlit.
  2. Here you can find descriptions of the various feedback components (thumbs, faces, custom text).

If you have any questions, feel free to contact me.