langchain.chains.graph_qa.cypher.extract_cypher¶

langchain.chains.graph_qa.cypher.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