Skip to content

Commit 2d2ec6c

Browse files
Add additional fields to Update Custom Model Metadata Input (#1183)
1 parent c48a3c6 commit 2d2ec6c

2 files changed

Lines changed: 30 additions & 1 deletion

File tree

specification/resources/gen-ai/definitions.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8013,9 +8013,34 @@ apiUpdateCustomModelMetadataInputPublic:
80138013
description:
80148014
example: example string
80158015
type: string
8016+
input_modalities:
8017+
description: Input modalities supported (e.g., text, image)
8018+
example:
8019+
- example string
8020+
items:
8021+
example: example string
8022+
type: string
8023+
type: array
8024+
license:
8025+
description: License under which the model is distributed
8026+
example: example string
8027+
type: string
80168028
name:
80178029
example: example name
80188030
type: string
8031+
output_modalities:
8032+
description: Output modalities supported (e.g., text, image)
8033+
example:
8034+
- example string
8035+
items:
8036+
example: example string
8037+
type: string
8038+
type: array
8039+
parameters:
8040+
description: Number of parameters in the model
8041+
example: "12345"
8042+
format: uint64
8043+
type: string
80198044
tags:
80208045
$ref: '#/CustomModelTags'
80218046
uuid:

specification/resources/gen-ai/examples/curl/genai_update_custom_model_metadata.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,9 @@ source: |-
88
"description": "finetuned model with olympiad math data",
99
"tags": {
1010
"tags": ["finetuned", "new"]
11-
}
11+
},
12+
"input_modalities": ["text"],
13+
"output_modalities": ["text"],
14+
"parameters": "7000000000",
15+
"license": "apache-2.0"
1216
}'

0 commit comments

Comments
 (0)