| Name | Type | Description |
|---|---|---|
node_labels | Optional[List[str]] | Default: NoneSpecifies the allowed node types. Defaults to None, allowing all node types. |
rel_types | Optional[List[str]] | Default: None |
node_properties | Union[bool, List[str]] | Default: False |
relationship_properties | Union[bool, List[str]] | Default: False |
llm_type | Optional[str] | Default: None |
Create a simple graph model with optional constraints on node and relationship types.
Specifies the allowed relationship types. Defaults to None, allowing all relationship types.
Specifies if node properties should be included. If a list is provided, only properties with keys in the list will be included. If True, all properties are included. Defaults to False.
Specifies if relationship properties should be included. If a list is provided, only properties with keys in the list will be included. If True, all properties are included. Defaults to False.
The type of the language model. Defaults to None. Only openai supports enum param: openai-chat.