langchain/templates/neo4j-cypher/main.py

6 lines
165 B
Python
Raw Normal View History

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