langchain_experimental.graph_transformers.llm.create_simple_model

langchain_experimental.graph_transformers.llm.create_simple_model(node_labels: Optional[List[str]] = None, rel_types: Optional[List[str]] = None, node_properties: Union[bool, List[str]] = False) Type[_Graph][source]

Simple model allows to limit node and/or relationship types. Doesn’t have any node or relationship properties.

Parameters
  • node_labels (Optional[List[str]]) –

  • rel_types (Optional[List[str]]) –

  • node_properties (Union[bool, List[str]]) –

Return type

Type[_Graph]