SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

Create Dataset and Upload Training Data

Perform the initial steps to train your own Business Entity Recognition custom model to get machine learning entity predictions for the text you submit to the service.

Overview

🎓 beginner 20 min. Machine LearningBeginnerArtificial IntelligenceCloudSAP Business Technology PlatformSAP Ai ServicesBusiness Entity RecognitionFree Tier

You will learn

  • How to call and test Business Entity Recognition
  • How to access and use the Business Entity Recognition Swagger UI (User Interface)
  • How to create a dataset, upload training data and submit a training job
Juliana Morais J Juliana Morais December 11, 2023
Created by December 14, 2020
Contributors

Prerequisites

Steps

Intro

The core functionality of Business Entity Recognition is to automatically detect and highlight any given type of named entity in unstructured text and classify it in accordance with predefined categories.

In this tutorial, you will learn how to use the service APIs to create a dataset, upload training data, and submit a training job to finally create your own custom machine learning model to classify any given type of named entity, such as mobile number, first name, last name and address, in the texts you will submit to the service in the next tutorial: Deploy Model and Get Prediction Results.

Check out the tutorial group Use Pre-Trained Machine Learning Models to Process Unstructured Text to try out the Business Entity Recognition pre-trained machine learning models.


Step 1 Authorize Swagger UI

You will use Swagger UI, via any web browser, to call the Business Entity Recognition service APIs. Swagger UI allows developers to effortlessly interact and try out every single operation an API exposes for easy consumption. For more information, see Swagger UI.

In the service key you created for Business Entity Recognition in the previous tutorial: Create Service Instance for Business Entity Recognition, you should find (outside the uaa section of the service key) an entry called url (as highlighted in the image below).

  1. To access the Business Entity Recognition Swagger UI, add /api/v1 to the url value, paste it into any web browser and press Enter.

    BER
    BER

  2. To be able to use the Swagger UI endpoints, you need to authorize yourself. In the top right corner, click Authorize.

    BER
    BER

  3. Get the access_token value created in the previous tutorial: Get OAuth Access Token for Business Entity Recognition Using Any Web Browser, then add bearer in front of it, and enter in the Value field.

    Code
    bearer <access_token>

    BER
    BER

  4. Click Authorize and then click Close.

    BER
    BER

Step 2 Create dataset
+
Step 3 See dataset details
+
Step 4 Upload training data
+
Step 5 See document details
+
Step 6 Submit training job
+
Step 7 See training job status
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 7
1. Authorize Swagger UI 2. Create dataset 3. See dataset details 4. Upload training data 5. See document details 6. Submit training job 7. See training job status

Learn more →