langchain.chains.graph_qa.neptune_cypher.trim_query¶

langchain.chains.graph_qa.neptune_cypher.trim_query(query: str) str[source]¶

Trim the query to only include Cypher keywords.