Skip to content

Commit

Permalink
langchain
Browse files Browse the repository at this point in the history
  • Loading branch information
ayulockin committed Dec 14, 2024
1 parent 0a79a04 commit f84f300
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ragas/llms/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,9 @@ def __init__(
langchain_llm: BaseLanguageModel,
run_config: t.Optional[RunConfig] = None,
is_finished_parser: t.Optional[t.Callable[[LLMResult], bool]] = None,
cache: t.Optional[CacheInterface] = None,
):
super().__init__(cache=cache)
self.langchain_llm = langchain_llm
if run_config is None:
run_config = RunConfig()
Expand Down

0 comments on commit f84f300

Please sign in to comment.