langchain_community.chains.graph_qa.neptune_cypher
.trim_query¶
- langchain_community.chains.graph_qa.neptune_cypher.trim_query(query: str) str [source]¶
将查询修剪为仅包含Cypher关键字。
- Parameters
query (str) –
- Return type
str