ExtractRequest

data class ExtractRequest constructor(val text: String, val sourceId: String? = null, val knownEntities: List<KnownEntityDto> = emptyList(), val schemaName: String? = null, val options: ExtractOptions = ExtractOptions(), val sourceLocator: SourceLocatorInputDto? = null, val sourceRevision: String? = null)

Request to extract propositions from text.

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.

Constructors

Link copied to clipboard
constructor(text: String, sourceId: String? = null, knownEntities: List<KnownEntityDto> = emptyList(), schemaName: String? = null, options: ExtractOptions = ExtractOptions(), sourceLocator: SourceLocatorInputDto? = null, sourceRevision: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val schemaName: String? = null
Link copied to clipboard
val sourceId: String? = null
Link copied to clipboard
Link copied to clipboard
val sourceRevision: String? = null
Link copied to clipboard