You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I am testing different LLM's and evaluating them with G-eval.
I want to log the (GEval) Verbose Logs into a .json file but it keeps appearing as None.
It keeps outputting in the terminal, but I want to log them automatically as I am testing with multiple datasets.
Below is an example of me trying to log the terminal outputs but still failed.
Hello,
I am testing different LLM's and evaluating them with G-eval.
I want to log the (GEval) Verbose Logs into a .json file but it keeps appearing as None.
It keeps outputting in the terminal, but I want to log them automatically as I am testing with multiple datasets.
Below is an example of me trying to log the terminal outputs but still failed.
` log_output = io.StringIO()
with redirect_stdout(log_output):
test_case = LLMTestCase(
input=prompt,
actual_output=model_answer,
expected_output=reference_answer
)
explainability_result = explainability_metric.measure(test_case)
`
The text was updated successfully, but these errors were encountered: