Connecting to topic detection models through an API

Broaden your selection of topic detection models in Pega Platform by connecting to custom models through an API. Train and deploy your topic detection models, and expose an API endpoint to allow Pega Platform to interact with the models.

To help you serve your models through an API, the Pega GitHub repository provides sample Docker containers, with which you can train and deploy your models.

  1. In Dev Studio, configure the OAuth 2.0 authentication profile.
    For more information, see Creating an authentication profile.
  2. Deploy your topic detection model and expose an API endpoint to allow Pega Platform to interact with the model.
    Note:

    You can deploy a Python model by using sample Docker containers. For more information, see Configuring sample containers to use Python models for topic detection.

  3. In Prediction Studio, define a machine learning service to connect to topic detection models through an API.
  4. In Prediction Studio, create a text categorization model using the new service connection.