Skip to main content
This recipe’s ExternalApplication helper requires scale-gp==0.1.0a59; see Quick Start. Set SGP_API_KEY and SGP_ACCOUNT_ID. For a private deployment, also set SGP_CLIENT_BASE_URL to its API base URL; otherwise SGPClient() uses the production API. Set SGP_APPLICATION_SPEC_ID and SGP_APPLICATION_VARIANT_ID to an existing application specification and its OFFLINE variant for locally generated outputs.
Initialize the SGP Client and setup translation test data.
Define translation test cases and create the dataset.
Implement a custom translation application for the evaluation.
Create evaluation questions and setup evaluation configuration.
Set up annotation configuration and start the evaluation.