Open
Description
In continuous_eval/metrics/generation/text/llm_based.py, line 39, the full model parameters are not being passed to the LLMBasedContextCoverage class. This means that the code defaults to calling OpenAI API even if another LLM is passed as self.model
Changes requied
AS-IS:
context_coverage = LLMBasedContextCoverage(use_few_shot=self.use_few_shot)
TO-BE:
context_coverage = LLMBasedContextCoverage(model=self._llm, use_few_shot=self.use_few_shot)
Metadata
Metadata
Assignees
Labels
No labels