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
perform_clustering
boolean
default: trueWhether to perform leiden clustering on the graph or not.
kg_enrichment_settings
string | null
Settings for the graph enrichment process.
Response
200 - application/json
results
object
requiredWas this page helpful?