Neo4j, Llm, Langchain, ChatGPT, OpenAI.
LLMGraphTransformer(llm=llm) # Extract graph data graph_documents = llm_transformer.convert_to_graph_documents(documents) # Store to neo4j graph.add_graph_documents( graph_documents, baseEntityLabel=True, include_source=True ) You can define which LLM you want the knowledge graph generation chain