The Evaluation Service in the Galtea SDK allows you to manage evaluations for assessing your products. This Service is exposed by the galtea.evaluations object and we will further explore its API down below.

Remember that we will be using the galtea object. More information here.

Create Evaluation

This method allows you to create an evaluation.

evaluation = galtea.evaluations.create(
    test_id="YOUR_TEST_ID",
    version_id="YOUR_VERSION_ID"
)

See a complete example on how to run evaluations in our Run Evaluations example.

test_id
string
required

The ID of the test you want to use for the evaluation.

version_id
string
required

The ID of the version you want to evaluate.

Listing Evaluations

This method allows you to list all evaluations associated with a specific product.

evaluations = galtea.evaluations.list(product_id="YOUR_PRODUCT_ID")
product_id
string
required

The ID of the product for which you want to list evaluations.

offset
int

The number of evaluations to skip before starting to collect the result set.

limit
int

The maximum number of evaluations to return.

Retrieving Evaluation

This method allows you to retrieve a specific evaluation by its ID.

evaluation = galtea.evaluations.get(evaluation_id="YOUR_EVALUATION_ID")
evaluation_id
string
required

The ID of the evaluation you want to retrieve.

Deleting Evaluation

This method allows you to delete a specific evaluation by its ID.

galtea.evaluations.delete(evaluation_id="YOUR_EVALUATION_ID")
evaluation_id
string
required

The ID of the evaluation you want to delete.