langchain/templates/neo4j-cypher/main.py
2024-05-22 15:21:08 -07:00

6 lines
165 B
Python

from neo4j_cypher.chain import chain
if __name__ == "__main__":
original_query = "Who played in Top Gun?"
print(chain.invoke({"question": original_query}))