Skip to main content

evaluations

Creates, updates, deletes, gets or lists an evaluations resource.

Overview

Nameevaluations
TypeResource
Idazure.ai_personalizer.evaluations

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
create_evaluationinsertevaluation_id, endpointCreate Offline Evaluation. Submit a new Offline Evaluation job.
delete_evaluationdeleteevaluation_id, endpointOffline Evaluation. Delete the Offline Evaluation associated with the Id.
list_evaluationsexecendpointfilter, top, skipAll Offline Evaluations. List of all Offline Evaluations.
get_evaluationexecevaluation_id, startTime, endTime, endpointintervalInMinutes, windowOffline Evaluation. Get the Offline Evaluation associated with the Id.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
endTimestring (date-time)End of aggregation time interval. Required.
endpointstringThe service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client Endpoint parameter. (default: )
evaluation_idstringId of the Offline Evaluation. Required.
startTimestring (date-time)Start of aggregation time interval. Required.
filterstringAn expression to filter the evaluations against evaluation metadata. Only evaluations where the expression evaluates to true are included in the response. Here is an example, metadata=evaluationType eq 'Manual'. Default value is None.
intervalInMinutesinteger"Time interval for aggregation of events in minutes. Allowed intervals: 5 minutes, 60 minutes, 360 minutes, 720 minutes and 1440 minutes. Defaults to 5 minutes. Default value is None.
skipintegerAn offset into the collection of the first resource to be returned. Defaults to 0. Default value is 0.
topintegerThe maximum number of resources to return from the collection. Defaults to maximum value of integer. Default value is None.
windowstringRolling or Expanding time. Rolling compatible with 60 minutes, 360 minutes, 720 minutes and 1440 minutes intervals. Expanding compatible with 5 minute time interval only. Defaults to Expanding. Known values are: "Expanding" and "Rolling". Default value is None.

INSERT examples

Create Offline Evaluation. Submit a new Offline Evaluation job.

INSERT INTO azure.ai_personalizer.evaluations (
evaluation_id,
endpoint
)
SELECT
'{{ evaluation_id }}',
'{{ endpoint }}'
;

DELETE examples

Offline Evaluation. Delete the Offline Evaluation associated with the Id.

DELETE FROM azure.ai_personalizer.evaluations
WHERE evaluation_id = '{{ evaluation_id }}' --required
AND endpoint = '{{ endpoint }}' --required
;

Lifecycle Methods

All Offline Evaluations. List of all Offline Evaluations.

EXEC azure.ai_personalizer.evaluations.list_evaluations 
@endpoint='{{ endpoint }}' --required,
@filter='{{ filter }}',
@top='{{ top }}',
@skip='{{ skip }}'
;