Skip to content

Commit cc9a034

Browse files
committed
more debugging prints
1 parent 868931c commit cc9a034

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/evaluation.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,14 +108,17 @@ def evaluation_function(response, answer, param=None):
108108
response = parse_input(response)
109109
answer = parse_input(answer)
110110

111-
print("response: ", response, "; answer: ", answer) #TODO: debugging
111+
print("response: ", response, "; answer: ", answer, "; param: ", param) #TODO: debugging
112112

113113

114114
# Ensure config is provided
115115
if param is None:
116+
print("param is None, set default...") #TODO: debugging
116117
param = Param()
117118
elif type(param) is dict:
119+
print("param is dict, load them...") #TODO: debugging
118120
param = Param(**param)
121+
print("param: ", param) #TODO: debugging
119122

120123
# Initialize LLM
121124
print("Setting up LLM...") #TODO: debugging

0 commit comments

Comments
 (0)