You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from_pdf (bool): Determines whether to include the PdfLoader in the pipeline.
60
65
If True, expects `file_path` input in `run` methods.
61
66
If False, expects `text` input in `run` methods.
62
-
text_splitter (Optional[Any]): A text splitter component. Defaults to FixedSizeSplitter().
63
-
pdf_loader (Optional[Any]): A PDF loader component. Defaults to PdfLoader().
64
-
kg_writer (Optional[Any]): A knowledge graph writer component. Defaults to Neo4jWriter().
67
+
text_splitter (Optional[TextSplitter]): A text splitter component. Defaults to FixedSizeSplitter().
68
+
pdf_loader (Optional[DataLoader]): A PDF loader component. Defaults to PdfLoader().
69
+
kg_writer (Optional[KGWriter]): A knowledge graph writer component. Defaults to Neo4jWriter().
65
70
on_error (str): Error handling strategy for the Entity and relation extractor. Defaults to "IGNORE", where chunk will be ignored if extraction fails. Possible values: "RAISE" or "IGNORE".
66
71
perform_entity_resolution (bool): Merge entities with same label and name. Default: True
67
72
prompt_template (str): A custom prompt template to use for extraction.
0 commit comments