promptflow

Форк
0
/
Flow.schema.json 
204 строки · 6.7 Кб
1
{
2
    "type": "object",
3
    "oneOf": [
4
        {
5
            "properties": {
6
                "additional_includes": {
7
                    "title": "additional_includes",
8
                    "type": "array",
9
                    "items": {
10
                        "title": "additional_includes",
11
                        "type": "string"
12
                    }
13
                },
14
                "description": {
15
                    "title": "description",
16
                    "type": "string"
17
                },
18
                "display_name": {
19
                    "title": "display_name",
20
                    "type": "string"
21
                },
22
                "environment": {
23
                    "title": "environment",
24
                    "type": "object",
25
                    "additionalProperties": {}
26
                },
27
                "environment_variables": {
28
                    "title": "environment_variables",
29
                    "type": "object",
30
                    "additionalProperties": {}
31
                },
32
                "inputs": {
33
                    "title": "inputs",
34
                    "type": "object",
35
                    "additionalProperties": {
36
                        "type": "object",
37
                        "$ref": "#/definitions/FlowInputSchema"
38
                    }
39
                },
40
                "language": {
41
                    "title": "language",
42
                    "type": "string",
43
                    "default": "python",
44
                    "enum": [
45
                        "python",
46
                        "csharp"
47
                    ],
48
                    "enumNames": []
49
                },
50
                "node_variants": {
51
                    "title": "node_variants",
52
                    "type": "object",
53
                    "additionalProperties": {
54
                        "title": "node_variants",
55
                        "type": "object",
56
                        "additionalProperties": {}
57
                    }
58
                },
59
                "nodes": {
60
                    "title": "nodes",
61
                    "type": "array",
62
                    "items": {
63
                        "title": "nodes",
64
                        "type": "object",
65
                        "additionalProperties": {}
66
                    }
67
                },
68
                "outputs": {
69
                    "title": "outputs",
70
                    "type": "object",
71
                    "additionalProperties": {
72
                        "type": "object",
73
                        "$ref": "#/definitions/FlowOutputSchema"
74
                    }
75
                },
76
                "$schema": {
77
                    "title": "$schema",
78
                    "type": "string",
79
                    "readOnly": true
80
                },
81
                "tags": {
82
                    "title": "tags",
83
                    "type": "object",
84
                    "additionalProperties": {
85
                        "title": "tags",
86
                        "type": "string"
87
                    }
88
                },
89
                "type": {
90
                    "title": "type",
91
                    "type": "string",
92
                    "enum": [
93
                        "standard",
94
                        "evaluation",
95
                        "chat"
96
                    ],
97
                    "enumNames": []
98
                }
99
            },
100
            "type": "object",
101
            "additionalProperties": false
102
        },
103
        {
104
            "properties": {
105
                "additional_includes": {
106
                    "title": "additional_includes",
107
                    "type": "array",
108
                    "items": {
109
                        "title": "additional_includes",
110
                        "type": "string"
111
                    }
112
                },
113
                "description": {
114
                    "title": "description",
115
                    "type": "string"
116
                },
117
                "display_name": {
118
                    "title": "display_name",
119
                    "type": "string"
120
                },
121
                "entry": {
122
                    "title": "entry",
123
                    "type": "string"
124
                },
125
                "environment": {
126
                    "title": "environment",
127
                    "type": "object",
128
                    "additionalProperties": {}
129
                },
130
                "environment_variables": {
131
                    "title": "environment_variables",
132
                    "type": "object",
133
                    "additionalProperties": {}
134
                },
135
                "init": {
136
                    "title": "init",
137
                    "type": "object",
138
                    "additionalProperties": {
139
                        "type": "object",
140
                        "$ref": "#/definitions/FlexFlowInitSchema"
141
                    }
142
                },
143
                "inputs": {
144
                    "title": "inputs",
145
                    "type": "object",
146
                    "additionalProperties": {
147
                        "type": "object",
148
                        "$ref": "#/definitions/FlexFlowInputSchema"
149
                    }
150
                },
151
                "language": {
152
                    "title": "language",
153
                    "type": "string",
154
                    "default": "python",
155
                    "enum": [
156
                        "python",
157
                        "csharp"
158
                    ],
159
                    "enumNames": []
160
                },
161
                "outputs": {
162
                    "title": "outputs",
163
                    "type": "object",
164
                    "additionalProperties": {
165
                        "type": "object",
166
                        "$ref": "#/definitions/FlexFlowOutputSchema"
167
                    }
168
                },
169
                "sample": {
170
                    "title": "sample",
171
                    "type": "string"
172
                },
173
                "$schema": {
174
                    "title": "$schema",
175
                    "type": "string",
176
                    "readOnly": true
177
                },
178
                "tags": {
179
                    "title": "tags",
180
                    "type": "object",
181
                    "additionalProperties": {
182
                        "title": "tags",
183
                        "type": "string"
184
                    }
185
                },
186
                "type": {
187
                    "title": "type",
188
                    "type": "string",
189
                    "enum": [
190
                        "standard",
191
                        "evaluation",
192
                        "chat"
193
                    ],
194
                    "enumNames": []
195
                }
196
            },
197
            "type": "object",
198
            "required": [
199
                "entry"
200
            ],
201
            "additionalProperties": false
202
        }
203
    ]
204
}

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.