Giskard-AI / giskard

🐢 Open-Source Evaluation & Testing for ML & LLM systems
https://docs.giskard.ai
Apache License 2.0
4.07k stars 267 forks source link

Fix incorrect temperature usage in `_LLMBasedQuestionGenerator` #2007

Closed ghost closed 2 months ago

ghost commented 2 months ago

Description

This PR fixes incorrect temperature usage in the _llm_complete method of the _LLMBasedQuestionGenerator class as described in the related issue. It replaces the hardcoded temperature value of 0.5 with self._llm_temperature.

Related Issue

1998

Type of Change

Checklist

kevinmessiaen commented 2 months ago

Thanks @asselindebeauville for your contribution! 🎉