SLB API Console
/api
Sign in
Credentials required to access the tools.
Graph Extraction Pipeline — Quick Map
Follow these steps in order to go from raw report → ontology → graph → Q&A.
Upload & Extract
Convert the report into clean text + metadata.
Ontology Extraction: adversarial step
Generate initial classes + relationships from the text.
Ontology Lookup
Match extracted terms to the reference TTL in Neo4j.
Candidate Creation
Propose missing categories/relations for review.
Candidate Decision
Approve or reject the candidate changes.
Graph Extraction
Build validated triples (optionally push to Neo4j).
Q&A Chat
Ask questions and explore the report insights.
1Content extraction
/v1/extract
Step 1 — Upload a document to extract clean text + metadata.
- Accepted files: PDF, DOCX, PPTX, XLSX, TXT.
- Output: extracted text, detected language, pages/tables info.
23Ontology tools
/v1/fa/extract-ontology · /v1/fa/lookup-ontology
Step 2 — Convert text into an ontology, then match it to the reference TTL.
- Extraction = propose classes/relations from text.
- Lookup = match those classes to the reference TTL in Neo4j.
2Ontology extraction: adversarial step
/v1/fa/extract-ontology
Build a compact list of classes + relationships from the report text. Create a critical version of it from adversarial LLM and refine it until completion.
3Ontology lookup
/v1/fa/lookup-ontology
Compare the extracted ontology to the reference TTL (Neo4j).
45Ontology candidates
/v1/fa/candidate-ontology
Step 3 — Propose missing categories if coverage is too low.
- Use this when coverage is below your threshold.
- Approving a candidate can update the reference TTL.
4Create a candidate
/v1/fa/candidate-ontology
Create a candidate for missing classes/relations.
5Approve a candidate
/v1/fa/candidate-ontology/<id>/(approve|reject)
Approve or reject a candidate and merge into the TTL.
1-6Graph Extraction (full pipeline)
/v1/fa/run-workflow
End-to-end graph extraction pipeline with SME validation.
- Phase 1 runs extract → ontology → lookup → graph automatically when coverage is sufficient.
- If it returns pending_sme, a candidate needs validation.
- Phase 2 approves/rejects the candidate, then resumes and extracts the graph.
Phase 1 — Extraction & validation
upload → (done | pending_sme)
Runs the pipeline end-to-end (extract → ontology → lookup → graph) unless an ontology candidate must be validated. If it returns pending_sme, run phase 2 to approve/reject the candidate and resume graph extraction.
Phase 2 — Decision & graph
approve → extract graph
Validates the candidate and extracts the final graph.