rememberFile

open fun rememberFile(inputStream: InputStream, filename: String, user: <Error class: unknown class>)

Extract propositions from a file via Tika and persist them. Requires embabel-agent-rag-tika on the classpath.

This is the signature that existed before requests, kept as its own declaration so it stays overridable — see the note on rememberText.


open fun rememberFile(inputStream: InputStream, filename: String, user: <Error class: unknown class>, request: ExtractionRequest)

Extract propositions from a file via Tika, on the terms the request sets — the source it was read from, the revision of that source, the content profile it runs under, the extraction run it belongs to.

A request that carries nothing hands straight back to the three-argument form, so a call that looks like a pre-request call also dispatches like one.