Neo4j, Graph, Langchain, Llm, OpenAI.
return_snippet = "RETURN '#title ' + a.title + '\n#date ' + toString(a.date) + '\n#text ' + c.text AS output" complete_query = ( base_query + " AND ".join(where_queries) + vector_snippet + return_snippet ) # Retrieve information from the database data = graph.query(complete_query, params)