langchain.chains.graph_qa.neptune_cypher.extract_cypher¶

langchain.chains.graph_qa.neptune_cypher.extract_cypher(text: str) str[source]¶

Extract Cypher code from text using Regex.

Parameters

text (str) –

Return type

str