extractFromFile

fun extractFromFile(contextId: String, file: <Error class: unknown class>, sourceId: String?, knownEntitiesJson: String?, schemaName: String?, sourceLocatorJson: String?, sourceRevision: String?): <Error class: unknown class><FileExtractResponse>

Extract propositions from an uploaded document.

Parses the file with Apache Tika (PDF, Word, Markdown, HTML, and more), chunks it, runs each chunk through the extraction pipeline, persists the propositions, and returns an aggregated summary across all chunks.