Extract entities and relationships
Extracts entities and relationships from a document. The entities and relationships extraction process involves:
- Parsing documents into semantic chunks
- Extracting entities and relationships using LLMs
Path parameters
The ID of the document to extract entities and relationships from.
Headers
Bearer authentication of the form Bearer <token>, where token is your auth token.
Query parameters
Whether to run the entities and relationships extraction process with orchestration.
Request
Settings for the entities and relationships extraction process.
Whether to use remote clustering for graph creation.
The prompt to use for knowledge graph extraction.
The prompt to use for entity description generation.
The types of entities to extract.
The types of relations to extract.
The number of extractions to merge into a single graph extraction.
The maximum number of knowledge relationships to extract from each chunk.
The maximum length of the description for a node in the graph.
Configuration for text generation during graph enrichment.
Whether to automatically deduplicate entities.
Response
Successful Response