Skip to main content

beta_evaluation_taxonomies

Creates, updates, deletes, gets or lists a beta_evaluation_taxonomies resource.

Overview

Namebeta_evaluation_taxonomies
TypeResource
Idazure.ai_projects.beta_evaluation_taxonomies

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringAsset ID, a unique identifier for the asset.
namestringThe name of the resource. Required.
descriptionstringThe asset description text.
propertiesobjectAdditional properties for the evaluation taxonomy.
tagsobjectTag dictionary. Tags can be added, removed, and updated.
taxonomyCategoriesarrayList of taxonomy categories.
taxonomyInputobjectInput configuration for the evaluation taxonomy. Required.
versionstringThe version of the resource. Required.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectname, endpointGet an evaluation taxonomy. Retrieves the specified evaluation taxonomy.
listselectendpointinputName, inputTypeList evaluation taxonomies. Returns the evaluation taxonomies available in the project, optionally filtered by input name or input type.
createinsertname, endpoint, taxonomyInputCreate an evaluation taxonomy. Creates or replaces the specified evaluation taxonomy with the provided definition.
updateupdatename, endpoint, taxonomyInputUpdate an evaluation taxonomy. Update an evaluation taxonomy.
deletedeletename, endpointDelete an evaluation taxonomy. Removes the specified evaluation taxonomy from the project.

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.
inputNamestringFilter by the evaluation input name. Default value is None.
inputTypestringFilter by taxonomy input type. Default value is None.

SELECT examples

Get an evaluation taxonomy. Retrieves the specified evaluation taxonomy.

SELECT
id,
name,
description,
properties,
tags,
taxonomyCategories,
taxonomyInput,
version
FROM azure.ai_projects.beta_evaluation_taxonomies
WHERE name = '{{ name }}' -- required
AND endpoint = '{{ endpoint }}' -- required
;

INSERT examples

Create an evaluation taxonomy. Creates or replaces the specified evaluation taxonomy with the provided definition.

INSERT INTO azure.ai_projects.beta_evaluation_taxonomies (
description,
tags,
taxonomyInput,
taxonomyCategories,
properties,
name,
endpoint
)
SELECT
'{{ description }}',
'{{ tags }}',
'{{ taxonomyInput }}' /* required */,
'{{ taxonomyCategories }}',
'{{ properties }}',
'{{ name }}',
'{{ endpoint }}'
RETURNING
id,
name,
description,
properties,
tags,
taxonomyCategories,
taxonomyInput,
version
;

UPDATE examples

Update an evaluation taxonomy. Update an evaluation taxonomy.

UPDATE azure.ai_projects.beta_evaluation_taxonomies
SET
description = '{{ description }}',
tags = '{{ tags }}',
taxonomyInput = '{{ taxonomyInput }}',
taxonomyCategories = '{{ taxonomyCategories }}',
properties = '{{ properties }}'
WHERE
name = '{{ name }}' --required
AND endpoint = '{{ endpoint }}' --required
AND taxonomyInput = '{{ taxonomyInput }}' --required
RETURNING
id,
name,
description,
properties,
tags,
taxonomyCategories,
taxonomyInput,
version;

DELETE examples

Delete an evaluation taxonomy. Removes the specified evaluation taxonomy from the project.

DELETE FROM azure.ai_projects.beta_evaluation_taxonomies
WHERE name = '{{ name }}' --required
AND endpoint = '{{ endpoint }}' --required
;