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]#

Deprecated since version 0.3.8: Use :meth:`~langchain_neo4j.chains.graph_qa.cypher.construct_schema` instead. It will be removed in None==1.0.

Filter the schema based on included or excluded types

Parameters:
  • structured_schema (Dict[str, Any])

  • include_types (List[str])

  • exclude_types (List[str])

Return type:

str