ExtractRequest

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

sourceId

Optional source identifier for provenance

knownEntities

Entities to associate with extracted propositions (e.g., the user)

schemaName

Optional schema name for extraction. Uses default if not specified.

options

Extraction options

sourceLocator

Optional typed pointer to where this text came from

sourceRevision

Optional opaque revision of sourceLocator. Requires sourceLocator; the controller rejects a revision on its own, because there would be nothing to attach it to.