trim_query# langchain_community.chains.graph_qa.neptune_cypher.trim_query(query: str) → str[source]# 修剪查询以仅包含Cypher关键字。 Parameters: query (str) Return type: 字符串