EvaluationTaxonomiesOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:evaluation_taxonomies> attribute.
Constructor
EvaluationTaxonomiesOperations(*args, **kwargs)
Methods
| create |
Create an evaluation taxonomy. |
| delete |
Delete an evaluation taxonomy by name. |
| get |
Get an evaluation run by name. |
| list |
List evaluation taxonomies. |
| update |
Update an evaluation taxonomy. |
create
Create an evaluation taxonomy.
create(name: str, body: _models.EvaluationTaxonomy, *, content_type: str = 'application/json', **kwargs: Any) -> _models.EvaluationTaxonomy
Parameters
| Name | Description |
|---|---|
|
name
Required
|
The name of the evaluation taxonomy. Required. |
|
body
Required
|
The evaluation taxonomy. Is one of the following types: EvaluationTaxonomy, JSON, IO[bytes] Required. |
Returns
| Type | Description |
|---|---|
|
EvaluationTaxonomy. The EvaluationTaxonomy is compatible with MutableMapping |
Exceptions
| Type | Description |
|---|---|
delete
Delete an evaluation taxonomy by name.
delete(name: str, **kwargs: Any) -> None
Parameters
| Name | Description |
|---|---|
|
name
Required
|
The name of the resource. Required. |
Returns
| Type | Description |
|---|---|
|
None |
Exceptions
| Type | Description |
|---|---|
get
Get an evaluation run by name.
get(name: str, **kwargs: Any) -> EvaluationTaxonomy
Parameters
| Name | Description |
|---|---|
|
name
Required
|
The name of the resource. Required. |
Returns
| Type | Description |
|---|---|
|
EvaluationTaxonomy. The EvaluationTaxonomy is compatible with MutableMapping |
Exceptions
| Type | Description |
|---|---|
list
List evaluation taxonomies.
list(*, input_name: str | None = None, input_type: str | None = None, **kwargs: Any) -> ItemPaged[EvaluationTaxonomy]
Keyword-Only Parameters
| Name | Description |
|---|---|
|
input_name
|
Filter by the evaluation input name. Default value is None. Default value: None
|
|
input_type
|
Filter by taxonomy input type. Default value is None. Default value: None
|
Returns
| Type | Description |
|---|---|
|
An iterator like instance of EvaluationTaxonomy |
Exceptions
| Type | Description |
|---|---|
update
Update an evaluation taxonomy.
update(name: str, body: _models.EvaluationTaxonomy, *, content_type: str = 'application/json', **kwargs: Any) -> _models.EvaluationTaxonomy
Parameters
| Name | Description |
|---|---|
|
name
Required
|
The name of the evaluation taxonomy. Required. |
|
body
Required
|
The evaluation taxonomy. Is one of the following types: EvaluationTaxonomy, JSON, IO[bytes] Required. |
Returns
| Type | Description |
|---|---|
|
EvaluationTaxonomy. The EvaluationTaxonomy is compatible with MutableMapping |
Exceptions
| Type | Description |
|---|---|