Skip to content

Commit

Permalink
fix: chat
Browse files Browse the repository at this point in the history
  • Loading branch information
aMahanna committed Jan 3, 2025
1 parent 46e6b69 commit 09fa974
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nx_arangodb/classes/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -621,9 +621,11 @@ def chat(
if llm is None:
llm = ChatOpenAI(temperature=0, model_name="gpt-4")

graph = ArangoGraph(self.db, graph_name=self.name)

chain = ArangoGraphQAChain.from_llm(
llm=llm,
graph=ArangoGraph(self.db),
graph=graph,
verbose=verbose,
)

Expand Down

0 comments on commit 09fa974

Please sign in to comment.