-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathai.yaml.json
70 lines (70 loc) · 2.79 KB
/
ai.yaml.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"deployments": {
"type": "array",
"title": "The Azure Open AI model deployments",
"description": "Deploys the listed Azure Open AI models to an Azure Open AI service",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"title": "The model deployment name"
},
"model": {
"type": "object",
"title": "The Azure Open AI model to deploy",
"description": "Full list of supported models and versions are available at https://learn.microsoft.com/azure/ai-services/openai/concepts/models",
"properties": {
"format": {
"type": "string",
"default": "OpenAI",
"title": "The format of the model"
},
"name": {
"type": "string",
"title": "The well known name of the model."
},
"version": {
"type": "string",
"title": "The well known version of the model."
}
},
"required": [
"format",
"name",
"version"
]
},
"sku": {
"type": "object",
"title": "The SKU to use for deployment. Defaults to Standard with 20 capacity if not specified",
"properties": {
"name": {
"type": "string",
"title": "The SKU name of the deployment. Defaults to Standard if not specified"
},
"capacity": {
"type": "integer",
"title": "The capacity of the deployment. Defaults to 20 if not specified"
}
},
"required": [
"name",
"capacity"
]
}
},
"required": [
"name",
"model"
]
}
}
},
"required": [
"deployments"
]
}