Build Communities
Creates communities in the graph by analyzing entity relationships and similarities.
Communities are created through the following process:
- Analyzes entity relationships and metadata to build a similarity graph
- Applies advanced community detection algorithms (e.g. Leiden) to identify densely connected groups
- Creates hierarchical community structure with multiple granularity levels
- Generates natural language summaries and statistical insights for each community
The resulting communities can be used to:
- Understand high-level graph structure and organization
- Identify key entity groupings and their relationships
- Navigate and explore the graph at different levels of detail
- Generate insights about entity clusters and their characteristics
The community detection process is configurable through settings like:
- Community detection algorithm parameters
- Summary generation prompt
Path parameters
collection_id
The unique identifier of the collection
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
X-API-Key
Request
This endpoint expects an object.
graph_enrichment_settings
Settings for the graph enrichment process.
run_with_orchestration
Response
Successful Response
results