Very large Neo4j graph + LLM

We have used Neo4j + gpt-4o + LLMGraphTransformer from langchain_experimental.graph_transformers
The problem of large schema is sidestepped by finding similar or identical words that match Nodes, relations and properties of the schema. The actual call to OpenAI is to only translate the NL to Cypher using these key words. This means you do not need to send the whole schema to OpenAI at all.

1 Like