extract_cypher#

langchain_community.chains.graph_qa.memgraph.extract_cypher(text: str) str[source]#

Extract Cypher code from a text.

Parameters:

text (str) – Text to extract Cypher code from.

Returns:

Cypher code extracted from the text.

Return type:

str