Extract Request
constructor(text: String, sourceId: String? = null, knownEntities: List<KnownEntityDto> = emptyList(), schemaName: String? = null, options: ExtractOptions = ExtractOptions(), sourceLocator: SourceLocatorInputDto? = null, sourceRevision: String? = null)
Parameters
text
The text to extract propositions from
source Id
Optional source identifier for provenance
known Entities
Entities to associate with extracted propositions (e.g., the user)
schema Name
Optional schema name for extraction. Uses default if not specified.
options
Extraction options
source Locator
Optional typed pointer to where this text came from
source Revision
Optional opaque revision of sourceLocator. Requires sourceLocator; the controller rejects a revision on its own, because there would be nothing to attach it to.