curl --request POST \
--url https://api.intelligence.io.solutions/api/r2r/v3/documents/{id}/extract \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"settings": {
"graph_extraction_prompt": "graph_extraction",
"graph_entity_description_prompt": "graph_entity_description",
"entity_types": "<string>",
"relation_types": "<string>",
"chunk_merge_count": 2,
"max_knowledge_relationships": 100,
"max_description_input_length": 65536,
"generation_config": {},
"automatic_deduplication": false
},
"run_with_orchestration": true
}
'