Update LLMInsights.py
Browse files- LLMInsights.py +3 -3
LLMInsights.py
CHANGED
@@ -394,11 +394,11 @@ with tab1:
|
|
394 |
else:
|
395 |
score = "Evaluation is Turned OFF"
|
396 |
st.markdown('<h1 style="color:#100170;font-size:24px;">Confidence Score</h1>', unsafe_allow_html=True)
|
397 |
-
st.text_area(label="", value=score, height=30
|
398 |
st.markdown('<h1 style="color:#100170;font-size:24px;">Hallucinated?</h1>', unsafe_allow_html=True)
|
399 |
-
st.text_area(label="", value=hallucination_score, height=30
|
400 |
st.markdown('<h1 style="color:#100170;font-size:24px;">Context</h1>', unsafe_allow_html=True)
|
401 |
-
st.text_area(label="", value=context
|
402 |
|
403 |
metadata_list = [doc.metadata for doc in response["source_documents"]]
|
404 |
formatted_metadata_list = []
|
|
|
394 |
else:
|
395 |
score = "Evaluation is Turned OFF"
|
396 |
st.markdown('<h1 style="color:#100170;font-size:24px;">Confidence Score</h1>', unsafe_allow_html=True)
|
397 |
+
st.text_area(label="", value=score, height=30)
|
398 |
st.markdown('<h1 style="color:#100170;font-size:24px;">Hallucinated?</h1>', unsafe_allow_html=True)
|
399 |
+
st.text_area(label="", value=hallucination_score, height=30)
|
400 |
st.markdown('<h1 style="color:#100170;font-size:24px;">Context</h1>', unsafe_allow_html=True)
|
401 |
+
st.text_area(label="", value=context)
|
402 |
|
403 |
metadata_list = [doc.metadata for doc in response["source_documents"]]
|
404 |
formatted_metadata_list = []
|