Skip to content

Commit

Permalink
Merge pull request #2007 from asselindebeauville/fix/incorrect-temper…
Browse files Browse the repository at this point in the history
…ature-usage

Fix incorrect temperature usage in `_LLMBasedQuestionGenerator`
  • Loading branch information
kevinmessiaen authored Aug 30, 2024
2 parents c4d6981 + 576acc9 commit fe3a611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion giskard/rag/question_generators/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def _llm_client(self):
def _llm_complete(self, messages: Sequence[ChatMessage]) -> dict:
out = self._llm_client.complete(
messages=messages,
temperature=0.5,
temperature=self._llm_temperature,
caller_id=self.__class__.__name__,
)

Expand Down

0 comments on commit fe3a611

Please sign in to comment.