Knowledge Graphs

Bootstrap nodes from documents (non-destructive)

post/api/v0/knowledge-graphs/{kg_id}/nodes/initialize

Path parameters

kg_idstring uuid required

Query parameters

distance_thresholdnumber

Average-linkage cut height for the classify stage, in edit-distance units: tags whose average inter-cluster distance stays below this merge into one class_id. Lower → more, tighter classes; 0 puts every tag in its own class. Only used by the tag-bootstrap path.

Average-linkage cut height for the classify stage, in edit-distance units: tags whose average inter-cluster distance stays below this merge into one class_id. Lower → more, tighter classes; 0 puts every tag in its own class. Only used by the tag-bootstrap path.

Response

Successful Response

nodes_createdinteger required
nodes_updatedinteger required
edges_createdinteger required
edges_removedinteger required
classes_assignedinteger required

Number of distinct classes the recognized tags were grouped into.

distance_thresholdnumber required

The average-linkage cut height (edit-distance units) the clustering ran with.

Changes

No recorded changes to this endpoint across all 1 revision of this API.