Zekun Wu
commited on
Commit
•
51c7b4d
1
Parent(s):
388107d
update
Browse files
pages/5_Conversation_Evaluation.py
CHANGED
@@ -102,7 +102,7 @@ else:
|
|
102 |
|
103 |
if st.button('Evaluate Conversation'):
|
104 |
if conversation and context:
|
105 |
-
eval =
|
106 |
scores = eval.evaluate_conversation(conversation, context)
|
107 |
st.write('### Scores')
|
108 |
details = write_evaluation_commentary(scores["aggregate_scores"])
|
|
|
102 |
|
103 |
if st.button('Evaluate Conversation'):
|
104 |
if conversation and context:
|
105 |
+
eval = evaluator(model_name)
|
106 |
scores = eval.evaluate_conversation(conversation, context)
|
107 |
st.write('### Scores')
|
108 |
details = write_evaluation_commentary(scores["aggregate_scores"])
|