Skip to main content

evaluation_results

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

Overview

Nameevaluation_results
TypeResource
Idazure.ai_evaluation.evaluation_results

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
blobReferenceobjectCredential info to access the storage account. Required.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_credentialsselectname, version, endpointEnable downloading json.
get_versionselectname, version, endpointGet the specific version of the EvaluationResult. The service returns 404 Not Found error if the EvaluationResult does not exist.
list_versionsselectname, endpointtop, skip, tags, listViewTypeList all versions of the given EvaluationResult.
list_latestselectendpointtop, skip, tags, listViewTypeList the latest version of each EvaluationResult.
delete_versionexecname, version, endpointDelete the specific version of the EvaluationResult. The service returns 204 No Content if the EvaluationResult was deleted successfully or if the EvaluationResult does not exist.
create_or_update_versionexecname, version, endpointCreate a new or update an existing EvaluationResult with the given version id.
start_pending_uploadexecname, version, endpoint, pendingUploadTypeCreate or start a pending upload of a evaluation results for a specific version.

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
endpointstringThe service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client endpoint parameter. (default: )
namestringThe name of the resource. Required.
versionstringThe specific version id of the EvaluationResult to operate on. Required.
listViewTypestring[ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All] View type for including/excluding (for example) archived entities. Known values are: "ActiveOnly", "ArchivedOnly", and "All". Default value is None.
skipstringContinuation token for pagination. Default value is None.
tagsstringComma-separated list of tag names (and optionally values). Example: tag1,tag2=value2. Default value is None.
topintegerTop count of results, top count cannot be greater than the page size. If topCount > page size, results with be default page size count will be returned. Default value is None.

SELECT examples

Enable downloading json.

SELECT
blobReference
FROM azure.ai_evaluation.evaluation_results
WHERE name = '{{ name }}' -- required
AND version = '{{ version }}' -- required
AND endpoint = '{{ endpoint }}' -- required
;

Lifecycle Methods

Delete the specific version of the EvaluationResult. The service returns 204 No Content if the EvaluationResult was deleted successfully or if the EvaluationResult does not exist.

EXEC azure.ai_evaluation.evaluation_results.delete_version 
@name='{{ name }}' --required,
@version='{{ version }}' --required,
@endpoint='{{ endpoint }}' --required
;