construct_schema#

langchain_community.chains.graph_qa.cypher.construct_schema(structured_schema: Dict[str, Any], include_types: List[str], exclude_types: List[str]) str[source]#

自版本0.3.8起已弃用:请改用:meth:`~langchain_neo4j.chains.graph_qa.cypher.construct_schema`。在langchain-community==1.0之前不会移除。

根据包含或排除的类型筛选模式

Parameters:
  • structured_schema (字典[字符串, 任意类型])

  • include_types (列表[字符串])

  • exclude_types (列表[字符串])

Return type:

字符串