Skip to content

Commit

Permalink
Merge branch 'releases/rc-trulens-eval-0.18.0' of github.com:truera/t…
Browse files Browse the repository at this point in the history
…rulens into releases/rc-trulens-eval-0.18.0
  • Loading branch information
Shayak Sen committed Nov 16, 2023
2 parents 3b825e9 + c6a6f38 commit d6ff5e6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions trulens_eval/trulens_eval/feedback/provider/openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit d6ff5e6

Please sign in to comment.