construct_schema#

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

Filter the schema based on included or excluded types

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

  • include_types (List[str])

  • exclude_types (List[str])

  • is_enhanced (bool)

Return type:

str