Use an LT service¶
LT services that run in the cloud and follow ELG’s specifications can be used via the ELG platform. You can do this via the Try-out UI offered at the Try out tab of the view page, or via the ELG’s API or the Python SDK, according to the instructions displayed at the Code samples tab.
Note
In the current release, only registered users can try out services.
Try-out UI¶
The view page of an ELG-compatible service has a tab called Try out:
Here you can provide a sample input and see the results output by the service. Depending on the type of the service, you can type in or paste some text, upload or record audio, or upload an image and get the results rendered in a task-specific viewer.
You can also use the samples, if included in the metadata record, shown at the right side of the page in order to test the service.
Code samples¶
The view page of an ELG-compatible service has a tab called Code samples, which includes instructions on how to call the service:
via the ELG API:
You can copy and modify the provided example commands to call the service from your command line. More information on how to call and test services is given in the Public LT API specification.
using Python:
You can copy the provided example commands to call the service using Python. More information on the Python SDK is provided here.