diff --git a/trulens_eval/trulens_eval/feedback/provider/openai.py b/trulens_eval/trulens_eval/feedback/provider/openai.py index 9a2e52cf8..50925bb84 100644 --- a/trulens_eval/trulens_eval/feedback/provider/openai.py +++ b/trulens_eval/trulens_eval/feedback/provider/openai.py @@ -64,6 +64,9 @@ def _create_chat_completion( if 'temperature' not in kwargs: kwargs['temperature'] = 0.0 + if 'seed' not in kwargs: + kwargs['seed'] = 123 + if prompt is not None: completion = self.endpoint.client.chat.completions.create(messages=[{ "role": "system",