Spaces:
Running
Running
additional ai judge updated
Browse files
app.py
CHANGED
@@ -127,7 +127,6 @@ if prompt := st.chat_input("Tell me about YSA"):
|
|
127 |
# add ai judge as additional rating
|
128 |
independent_ai_judge_score = []
|
129 |
for i in range(final_ref.shape[0]):
|
130 |
-
this_quest = question
|
131 |
this_content = final_ref["answers"][i]
|
132 |
this_score = calculate_sts_openai_score(question, this_content)
|
133 |
independent_ai_judge_score.append(this_score)
|
|
|
127 |
# add ai judge as additional rating
|
128 |
independent_ai_judge_score = []
|
129 |
for i in range(final_ref.shape[0]):
|
|
|
130 |
this_content = final_ref["answers"][i]
|
131 |
this_score = calculate_sts_openai_score(question, this_content)
|
132 |
independent_ai_judge_score.append(this_score)
|