The events endpoint of Rosette Server can support event extraction from multiple event models in a single call.
-
Each event extraction model is for a single language.
-
A model is identified by a workspaceId
.
-
A plan specifies a list of event models (identified by workspaceId
) to be used to extract event mentions. The models are listed by language.
Through the plan
options the user can specify a list of event extraction models to be used when extracting event mentions from a document.
If no workspaceId
or plan
is specified, then all events models in the Rosette Server instance are used for extraction.
Only models matching the language of the content are called. This can be explicitly set by passing the language
code in the call or Rosette will identify the language. Each model is called serially. The response time will increase as additional models are added to the search. It is still faster, however, than making multiple individual calls to each event model.
For each event mention extracted, the response will include the workspaceId
of the model which extracted the event mention. Each entity extracted will include the customProfileId
(if any) which the extracted entity came from.