Toggle Menu
Prev Up Next

# `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) → Type[_Graph]

  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]]) –

  Return type

    Type[_Graph]