Guidelines for the use of Abacus 1.0.0.

After the Abacus set-up, learn how to use the tool with our guidelines.

Open Abacus

  1. Open the NLP Virtual Machine.

    NLP Virtual Machine

  2. Execute the following commands in the console:

    cd ${Root_project}/tools
    ./run_web_trainings.sh 
    

    Access to Abacus

  3. Abacus is now opened.

    Abacus open

Discover Abacus main screen

Abacus interface

Create a new Pull Request

  1. Enter Abacus and select “New Pull Request” as your working mode.

    New Pull Request

  2. In the main interface, select the channel where your understanding model is.

    Select channel

Update training and test files

  1. Train your understanding model.

    Train the model

  2. When the training is finished, select “Results” in the drop-down menu and access to the results of the accuracy tests.

    • End-to-end tests (accuracy of the overall NLP model)

    Results

  3. Evaluate the accuracy of your model:

  • Check in “last test” the overall accuracy related to the last test performed in the tool.

  • Click on each specific error in “last test report” to access to detailed information.

  • Use the filters to visualize errors per type, intent obtained or intent expected.

    Evaluate accuracy

  1. Test your NLP model locally (Abacus simulator).
    Once your model is trained, you can use the Simulator to launch and test your pipeline locally and make a real-time evaluation of accuracy in the recognition of a specific statement.

    • Open the simulator.
    • Type a phrase.
    • Check how your model recognizes it.

    Abacus simulator

  2. When the accuracy is satisfactory, publish your model:

  • Press the “PUBLISH” button. Publish model

  • Create your Pull Request inserting the type, related JIRA issue, title and description and publish it. Create Pull Request

  • If everything goes right, your PR is published. You can also see the details in Github.
    Pull Request published

Edit an existing Pull Request

  1. Enter Abacus and select “Edit existing Pull Request” as your working mode. Abacus existing Pull Request

  2. Select your intended Pull Request. You can open it from Abacus or from GitHub to see its details.
    Select Pull Request

  3. Now, you can work over it as explained in Create a new Pull Request section, from step 2 onwards.

Abacus additional information

When Abacus is started, the API is available in: http://127.0.0.1:4000 (*)

(*) The port is variable, with values in the range: 4000 - 4100

The API documentation is included in Aura NLP API definition.

Additional information

Abacus troubleshooting

Logs files

All the operations carried out with Abacus are recorded in the logs file:  ${Root_project}/server.log 

  1. If an error occurs, Abacus will show this message: Abacus error

  2. Clicking on “Download”, you can access to the log report and check the error for fixing it.

  3. If, the problem persists, contact the Global Support Team and provide them with the report.

  4. When it is solved, press “Reload”, to continue using Abacus.

Git conflicts

If the remote branch has changes that have not been updated in the local working branch, Github detects this situation as a conflict when publishing, and is not able to recognize which are the correct changes.

The following pop up will appear after clicking on “publish”. Abacus error

Clicking on “Download”, you will get the file ${Root_project}/server.log, where you can check the errors that have occurred and try to solve them.

!  [rejected]    <<working-branch>>  ->  <<working-branch>> (fetch first)
error: failed to push some refs to 'git@github.com:Telefonica/aura-nlpdata-global.git'

Conflicts in server.log must be resolved locally using the editor:

  1. Open a terminal in code editor. Make sure the branch in terminal is the correct working branch.

  2. Move changes from the remote branch to local:
    git pull origin <<working-branch>>

    Error in terminal

  3. A message with a list of files with conflicts is shown.

  4. Open each file and right-click to access the conflicts resolver. Existing conflicts

  5. Resolve the conflict. You can include texts from the local branch (left) or from the remote one (right) or discard both and copy what is needed. Resolve conflicts

  6. Once conflicts are resolved, launch the following command to review the status of the local branch and check that all the conflicts are fixed in the response message:
    git status

  7. When all the conflicts are resolved, commit changes:
    git commit –m "[[feat]] resolve conflicts: <<description of changes>>"

  8. Push to update changes to the remote branch:
    git push origin <<working-branch>>

  9. A message with all the details will appear. Resolution details

  10. If everything is solved, now restart the web server and continue with the existing Pull Request.

Last modified May 18, 2026: Remove KGB (52b04d91)