@digipair/skill-openai 0.32.7 → 0.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/schema.en.json +0 -217
package/package.json
CHANGED
package/schema.en.json
DELETED
|
@@ -1,217 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"openapi": "3.0.0",
|
|
3
|
-
"info": {
|
|
4
|
-
"title": "@digipair/skill-openai",
|
|
5
|
-
"summary": "Communication with OpenAI services",
|
|
6
|
-
"description": "Execution of LLM models from OpenAI services.",
|
|
7
|
-
"version": "0.1.0",
|
|
8
|
-
"x-icon": "🚀"
|
|
9
|
-
},
|
|
10
|
-
"paths": {
|
|
11
|
-
"/model": {
|
|
12
|
-
"post": {
|
|
13
|
-
"tags": ["service"],
|
|
14
|
-
"summary": "OpenAI LLM Model",
|
|
15
|
-
"description": "OpenAI LLM Model",
|
|
16
|
-
"parameters": [
|
|
17
|
-
{
|
|
18
|
-
"name": "modelName",
|
|
19
|
-
"summary": "Model Name",
|
|
20
|
-
"required": false,
|
|
21
|
-
"description": "Name of the LLM model to load",
|
|
22
|
-
"schema": {
|
|
23
|
-
"type": "string"
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"name": "temperature",
|
|
28
|
-
"summary": "Temperature",
|
|
29
|
-
"required": false,
|
|
30
|
-
"description": "Temperature of the LLM model",
|
|
31
|
-
"schema": {
|
|
32
|
-
"type": "number"
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"name": "baseUrl",
|
|
37
|
-
"summary": "Server Address",
|
|
38
|
-
"required": false,
|
|
39
|
-
"description": "Address of the OpenAI server",
|
|
40
|
-
"schema": {
|
|
41
|
-
"type": "string"
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"name": "apiKey",
|
|
46
|
-
"summary": "API Key",
|
|
47
|
-
"required": false,
|
|
48
|
-
"description": "OpenAI API Key",
|
|
49
|
-
"schema": {
|
|
50
|
-
"type": "string"
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
],
|
|
54
|
-
"x-events": []
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
"/modelAzure": {
|
|
58
|
-
"post": {
|
|
59
|
-
"tags": ["service"],
|
|
60
|
-
"summary": "OpenAI LLM Model on Azure",
|
|
61
|
-
"description": "OpenAI LLM Model on Azure",
|
|
62
|
-
"parameters": [
|
|
63
|
-
{
|
|
64
|
-
"name": "temperature",
|
|
65
|
-
"summary": "Temperature",
|
|
66
|
-
"required": false,
|
|
67
|
-
"description": "Temperature of the LLM model",
|
|
68
|
-
"schema": {
|
|
69
|
-
"type": "number"
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
"name": "openAIApiKey",
|
|
74
|
-
"summary": "API Key",
|
|
75
|
-
"required": false,
|
|
76
|
-
"description": "API Key for the Azure OpenAI instance",
|
|
77
|
-
"schema": {
|
|
78
|
-
"type": "string"
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"name": "openAIApiInstanceName",
|
|
83
|
-
"summary": "Instance Name",
|
|
84
|
-
"required": false,
|
|
85
|
-
"description": "Name of the Azure OpenAI instance",
|
|
86
|
-
"schema": {
|
|
87
|
-
"type": "string"
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
"name": "deploymentName",
|
|
92
|
-
"summary": "Deployment Name",
|
|
93
|
-
"required": true,
|
|
94
|
-
"description": "Name of the Azure OpenAI deployment",
|
|
95
|
-
"schema": {
|
|
96
|
-
"type": "string"
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
"name": "openAIApiVersion",
|
|
101
|
-
"summary": "Version",
|
|
102
|
-
"required": false,
|
|
103
|
-
"description": "Version of the Azure OpenAI API",
|
|
104
|
-
"schema": {
|
|
105
|
-
"type": "string"
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
],
|
|
109
|
-
"x-events": []
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
"/embeddings": {
|
|
113
|
-
"post": {
|
|
114
|
-
"tags": ["service"],
|
|
115
|
-
"summary": "OpenAI Embeddings Model",
|
|
116
|
-
"description": "OpenAI Embeddings Model",
|
|
117
|
-
"parameters": [
|
|
118
|
-
{
|
|
119
|
-
"name": "modelName",
|
|
120
|
-
"summary": "Model Name",
|
|
121
|
-
"required": false,
|
|
122
|
-
"description": "Name of the embeddings model to load",
|
|
123
|
-
"schema": {
|
|
124
|
-
"type": "string"
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
"name": "dimension",
|
|
129
|
-
"summary": "Embedding Dimension",
|
|
130
|
-
"required": false,
|
|
131
|
-
"description": "Dimension of the embeddings to load",
|
|
132
|
-
"schema": {
|
|
133
|
-
"type": "number"
|
|
134
|
-
}
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
"name": "baseUrl",
|
|
138
|
-
"summary": "Server Address",
|
|
139
|
-
"required": false,
|
|
140
|
-
"description": "Address of the OpenAI server",
|
|
141
|
-
"schema": {
|
|
142
|
-
"type": "string"
|
|
143
|
-
}
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
"name": "apiKey",
|
|
147
|
-
"summary": "API Key",
|
|
148
|
-
"required": false,
|
|
149
|
-
"description": "OpenAI API Key",
|
|
150
|
-
"schema": {
|
|
151
|
-
"type": "string"
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
],
|
|
155
|
-
"x-events": []
|
|
156
|
-
}
|
|
157
|
-
},
|
|
158
|
-
"/embeddingsAzure": {
|
|
159
|
-
"post": {
|
|
160
|
-
"tags": ["service"],
|
|
161
|
-
"summary": "OpenAI Embeddings Model",
|
|
162
|
-
"description": "OpenAI Embeddings Model",
|
|
163
|
-
"parameters": [
|
|
164
|
-
{
|
|
165
|
-
"name": "dimension",
|
|
166
|
-
"summary": "Embedding Dimension",
|
|
167
|
-
"required": false,
|
|
168
|
-
"description": "Dimension of the embeddings to load",
|
|
169
|
-
"schema": {
|
|
170
|
-
"type": "number"
|
|
171
|
-
}
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
"name": "openAIApiKey",
|
|
175
|
-
"summary": "API Key",
|
|
176
|
-
"required": false,
|
|
177
|
-
"description": "API Key for the Azure OpenAI instance",
|
|
178
|
-
"schema": {
|
|
179
|
-
"type": "string"
|
|
180
|
-
}
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
"name": "openAIApiInstanceName",
|
|
184
|
-
"summary": "Instance Name",
|
|
185
|
-
"required": false,
|
|
186
|
-
"description": "Name of the Azure OpenAI instance",
|
|
187
|
-
"schema": {
|
|
188
|
-
"type": "string"
|
|
189
|
-
}
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
"name": "deploymentName",
|
|
193
|
-
"summary": "Deployment Name",
|
|
194
|
-
"required": true,
|
|
195
|
-
"description": "Name of the Azure OpenAI deployment",
|
|
196
|
-
"schema": {
|
|
197
|
-
"type": "string"
|
|
198
|
-
}
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
"name": "openAIApiVersion",
|
|
202
|
-
"summary": "Version",
|
|
203
|
-
"required": false,
|
|
204
|
-
"description": "Version of the Azure OpenAI API",
|
|
205
|
-
"schema": {
|
|
206
|
-
"type": "string"
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
],
|
|
210
|
-
"x-events": []
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
},
|
|
214
|
-
"components": {
|
|
215
|
-
"schemas": {}
|
|
216
|
-
}
|
|
217
|
-
}
|