fix: support seed and fix absolute path (#278)

* fix: support seed and fix absolute path

* Absolute path

* lint
This commit is contained in:
you-n-g
2024-09-19 22:03:33 +08:00
committed by GitHub
parent 145e2f79e5
commit ca4e7e928b
3 changed files with 19 additions and 5 deletions
@@ -505,6 +505,7 @@ class FactorFinalDecisionEvaluator(Evaluator):
user_prompt=user_prompt,
system_prompt=system_prompt,
json_mode=True,
seed=attempts, # in case of useless retrying when cache enabled.
),
)
final_decision = final_evaluation_dict["final_decision"]