Agents and tools configuration

The Infor SyteLine GenAI Assistant tools depend on an ION Script to perform some math calculations. The GenAI Build Zip file includes information related to the Tools, Agents, and CalculatorAPI JSON files. You must extract the file before importing any of its contents. This script is provided in CalculatorAPI.json.

Perform these steps to import the script:

  1. Select OS > ION > Scripts.
  2. Click Import.
  3. Upload the CalculatorApi.json file.

Perform these steps to test the To connection:

  1. Select OS > API Gateway > Infor ION.
  2. Select IONSERVICES > scriptingservice > engine.
  3. Click Documentation.
  4. Select POST > v1 > scripts > {} > execute.
  5. Click Try it out.
  6. Specify:
    name = CalculatorAPI
    inputBody =
    {
    "input_numbers": "1, 1",
    "operation": "1"
    }
    
  7. Click Execute.
  8. Confirm this Response body returns:
    {
    "result": 2
    }
    
  9. Install the included GENAI_Calculator and GENAI_CalculatorAgent tools.