trim_query#

langchain_community.chains.graph_qa.neptune_cypher.trim_query(query: str) str[source]#

Trim the query to only include Cypher keywords.

Parameters:

query (str) –

Return type:

str