Skip to content

Commit

Permalink
Ignore type checking for lines that adhere to official langchain doc
Browse files Browse the repository at this point in the history
  • Loading branch information
joy13975 committed Feb 28, 2024
1 parent f7500b7 commit a7ab74b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ragas/testset/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,13 @@ def with_google(
HarmCategory.HARM_CATEGORY_DANGEROUS_CONTENT: HarmBlockThreshold.BLOCK_NONE,
}
generator_llm_model = LangchainLLMWrapper(
ChatGoogleGenerativeAI(
ChatGoogleGenerativeAI( # type: ignore
model=generator_llm,
safety_settings=safety_blocknone,
)
)
critic_llm_model = LangchainLLMWrapper(
ChatGoogleGenerativeAI(
ChatGoogleGenerativeAI( # type: ignore
model=critic_llm,
safety_settings=safety_blocknone,
)
Expand Down

0 comments on commit a7ab74b

Please sign in to comment.