From 76f4450c96e9891cdd03d3158c495d503040f14c Mon Sep 17 00:00:00 2001 From: Alex Thomas Date: Tue, 22 Oct 2024 16:56:14 +0100 Subject: [PATCH] Updated type ignore comments in langchain_compatiblity.py --- examples/customize/answer/langchain_compatiblity.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/customize/answer/langchain_compatiblity.py b/examples/customize/answer/langchain_compatiblity.py index 6b5724d6..d3382849 100644 --- a/examples/customize/answer/langchain_compatiblity.py +++ b/examples/customize/answer/langchain_compatiblity.py @@ -30,14 +30,14 @@ driver, index_name=INDEX, retrieval_query="WITH node, score RETURN node.title as title, node.plot as plot", - embedder=embedder, + embedder=embedder, # type: ignore[arg-type, unused-ignore] ) llm = ChatOpenAI(model="gpt-4o", temperature=0) rag = GraphRAG( retriever=retriever, - llm=llm, + llm=llm, # type: ignore[arg-type, unused-ignore] ) result = rag.search("Tell me more about Avatar movies")