artifact_specs
Creates, updates, deletes, gets or lists an artifact_specs resource.
Overview​
| Name | artifact_specs |
| Type | Resource |
| Id | nvidia.catalog.artifact_specs |
Fields​
The following fields are returned by SELECT queries:
- get_by_team
- get
| Name | Datatype | Description |
|---|---|---|
nvcf_function_id | string | NVCF function id for the model playground (wire: nvcfFunctionId) |
artifact_name | string | Unique name of the model (wire: artifactName) |
artifact_type | string | ArtifactTypeEnum of the artifact (wire: artifactType) |
attributes | string | Metadata json string |
created_date | string | Creation date in ISO-8601 format (pattern: <code>\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d.\d+Z</code>) (wire: createdDate) |
namespace | string | org/team of the model |
nvcf_inference_path | string | NVCF inference path (invocation route) for the model playground (wire: nvcfInferencePath) |
open_api_spec | string | OpenAPI specification for this model (wire: openAPISpec) |
updated_date | string | Updated date in ISO-8601 format (pattern: <code>\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d.\d+Z</code>) (wire: updatedDate) |
| Name | Datatype | Description |
|---|---|---|
nvcf_function_id | string | NVCF function id for the model playground (wire: nvcfFunctionId) |
artifact_name | string | Unique name of the model (wire: artifactName) |
artifact_type | string | ArtifactTypeEnum of the artifact (wire: artifactType) |
attributes | string | Metadata json string |
created_date | string | Creation date in ISO-8601 format (pattern: <code>\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d.\d+Z</code>) (wire: createdDate) |
namespace | string | org/team of the model |
nvcf_inference_path | string | NVCF inference path (invocation route) for the model playground (wire: nvcfInferencePath) |
open_api_spec | string | OpenAPI specification for this model (wire: openAPISpec) |
updated_date | string | Updated date in ISO-8601 format (pattern: <code>\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d.\d+Z</code>) (wire: updatedDate) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_by_team | select | org_name, team_name, artifact_type, artifact_name | Get AI Playground for public artifactType | |
get | select | org_name, artifact_type, artifact_name | Get AI Playground for public artifactType |
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.
| Name | Datatype | Description |
|---|---|---|
artifact_name | string (UTF-8) | Model name |
artifact_type | string (UTF-8) | Artifact type |
org_name | string (UTF-8) | Organization name |
team_name | string (UTF-8) | Team name |
SELECT examples​
- get_by_team
- get
Get AI Playground for public artifactType
SELECT
nvcf_function_id,
artifact_name,
artifact_type,
attributes,
created_date,
namespace,
nvcf_inference_path,
open_api_spec,
updated_date
FROM nvidia.catalog.artifact_specs
WHERE org_name = '{{ org_name }}' -- required
AND team_name = '{{ team_name }}' -- required
AND artifact_type = '{{ artifact_type }}' -- required
AND artifact_name = '{{ artifact_name }}' -- required
;
Get AI Playground for public artifactType
SELECT
nvcf_function_id,
artifact_name,
artifact_type,
attributes,
created_date,
namespace,
nvcf_inference_path,
open_api_spec,
updated_date
FROM nvidia.catalog.artifact_specs
WHERE org_name = '{{ org_name }}' -- required
AND artifact_type = '{{ artifact_type }}' -- required
AND artifact_name = '{{ artifact_name }}' -- required
;