mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-10 13:27:36 +00:00
Improve llm graph transformer docstring (#22939)
This commit is contained in:
parent
7a0af56177
commit
1c661fd849
@ -610,6 +610,13 @@ class LLMGraphTransformer:
|
|||||||
strict_mode (bool, optional): Determines whether the transformer should apply
|
strict_mode (bool, optional): Determines whether the transformer should apply
|
||||||
filtering to strictly adhere to `allowed_nodes` and `allowed_relationships`.
|
filtering to strictly adhere to `allowed_nodes` and `allowed_relationships`.
|
||||||
Defaults to True.
|
Defaults to True.
|
||||||
|
node_properties (Union[bool, List[str]]): If True, the LLM can extract any
|
||||||
|
node properties from text. Alternatively, a list of valid properties can
|
||||||
|
be provided for the LLM to extract, restricting extraction to those specified.
|
||||||
|
relationship_properties (Union[bool, List[str]]): If True, the LLM can extract
|
||||||
|
any relationship properties from text. Alternatively, a list of valid
|
||||||
|
properties can be provided for the LLM to extract, restricting extraction to
|
||||||
|
those specified.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
Loading…
Reference in New Issue
Block a user