graph_transformers
#
Graph Transformers transform Documents into Graph Documents.
Classes
Transform documents into graph documents using Diffbot NLP API. |
|
List of nodes with associated properties. |
|
Simplified schema mapping. |
|
A transformer class for converting documents into graph structures using the GLiNER and GLiREL models. |
|
Transform documents into graph-based documents using a LLM. |
|
Create a new model by parsing and validating input data from keyword arguments. |
|
A transformer class for converting documents into graph structures using the Relik library and models. |
Functions
Formats a string to be used as a property key. |
|
Create a simple graph model with optional constraints on node and relationship types. |
|
Map the SimpleNode to the base Node. |
|
Map the SimpleRelationship to the base Relationship. |
|
Utility function to conditionally create a field with an enum constraint. |