LinkedIn
Copied!

Table of Contents

Creating new models

Version:

Only available versions of this content are shown in the dropdown

Use the pxCreateEmptyModel and pxSaveAsModelAPI APIs to create new text analytics models.

pxCreateEmptyModel

Use the pxCreateEmptyModel API to create an empty text analytics model. The outcome of the API is a Decision Data rule.

This API has the following input properties:

pxCreateEmptyModel API input properties

Parameter Description
ModelName The name of the new model.
Description The model description.
ClassName The applicable class of the model.
RuleSetName The name of the target ruleset.
RuleSetVersion The version of the target ruleset.
AnalysisType Available values:
  • Entity
  • Classification
  • Sentiment
  • Intent
Language The model language.
EntityGranularity Available values:
  • Sentence
  • Paragraph

pxSaveAsModelAPI

Use the pxSaveAsModelAPI to perform a Save As operation on an existing text analytics model. The API creates a model with a new name and copies all related artifacts from the source model to the newly-created model.

This API has the following input properties:

pxSaveAsModelAPI input properties

Parameter Description
ModelName The name of the new model.
Description The description of the text analyzer.
AppliesTo The applicable class of the text analyzer.
RuleSet The target ruleset of the new text analyzer.
RuleSetVersion The target ruleset version of the new text analyzer.
ExistingModelName The name of the source text analyzer.
ExistingModelAppliesTo The class of the source text analyzer.
Status Returns the operation status.
StatusMsg Returns the error message if the operation fails.

Related Content

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.