langchain.chains.graph_qa.cypher.construct_schema¶

langchain.chains.graph_qa.cypher.construct_schema(structured_schema: Dict[str, Any], include_types: List[str], exclude_types: List[str]) 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]) –

Return type

str