API endpoints for entity detection and knowledge graph management
Parameter | Type | Description | Default |
---|---|---|---|
document_ids | array | Array of document IDs to process (optional) | null |
force_rebuild | boolean | Whether to force rebuilding the knowledge graph | false |
Parameter | Type | Description | Default |
---|---|---|---|
limit | integer | Maximum number of entities to return | 100 |
entity_type | string | Filter by entity type | null |
min_mentions | integer | Minimum number of mentions required | 2 |
Parameter | Type | Description |
---|---|---|
entity_id | string | ID of the entity to retrieve |
Parameter | Type | Description |
---|---|---|
source_entities | array | Array of entity IDs to merge |
target_entity | string | ID of the entity to merge into |
Parameter | Type | Description | Default |
---|---|---|---|
limit | integer | Maximum number of relationships to return | 100 |
relationship_type | string | Filter by relationship type | null |
Parameter | Type | Description | Default |
---|---|---|---|
node_label | string | Label of the starting node | Required |
max_depth | integer | Maximum depth of the graph traversal | 3 |
max_nodes | integer | Maximum number of nodes to return | 1000 |
embeddingRank | integer | Rank of embeddings to use | 128 |
useGPU | boolean | Whether to use GPU for embedding generation | false |
Parameter | Type | Description | Default |
---|---|---|---|
node_label | string | Label of the starting node | Required |
max_depth | integer | Maximum depth of the graph traversal | 3 |
max_nodes | integer | Maximum number of nodes to return | 1000 |
embeddingRank | integer | Rank of embeddings to use | 128 |
useGPU | boolean | Whether to use GPU for embedding generation | false |
Parameter | Type | Description | Default |
---|---|---|---|
limit_entities | integer | Maximum number of entities to include | 100 |
limit_hyperedges | integer | Maximum number of hyperedges to include | 20 |
embedding_rank | integer | Rank of embeddings to use | 128 |
Parameter | Type | Description | Default |
---|---|---|---|
embedding_rank | integer | Rank of embeddings to use | 128 |
Parameter | Type | Description | Default |
---|---|---|---|
embedding_rank | integer | Rank of embeddings to generate | 128 |
use_gpu | boolean | Whether to use GPU for embedding generation | false |
Parameter | Type | Description | Default |
---|---|---|---|
uri | string | URI of the Neo4j database | ”bolt://localhost:7687” |
username | string | Username for Neo4j authentication | ”neo4j” |
password | string | Password for Neo4j authentication | ”password” |
database | string | Name of the Neo4j database (optional) | null |