Knowledge Graph
Enrich Graph
This endpoint enriches the graph with additional information. It creates communities of nodes based on their similarity and adds embeddings to the graph. This step is necessary for GraphRAG to work.
POST
/
v2
/
enrich_graph
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
skip_clustering
boolean
default: falseWhether to skip leiden clustering on the graph or not.
force_enrichment
boolean
default: falseForce Enrichment step even if graph creation is still in progress for some documents.
kg_enrichment_settings
string | null
Settings for the graph enrichment process.
Response
200 - application/json
results
object
requiredWas this page helpful?