Skip to content

Commit

Permalink
Updated type ignore comments in langchain_compatiblity.py
Browse files Browse the repository at this point in the history
  • Loading branch information
alexthomas93 committed Oct 22, 2024
1 parent 7bb7281 commit 76f4450
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/customize/answer/langchain_compatiblity.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 76f4450

Please sign in to comment.