You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/components/nodes/chatmodels/AzureChatOpenAI/AzureChatOpenAI.ts
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,10 @@ class AzureChatOpenAI_ChatModels implements INode {
43
43
{
44
44
label: 'gpt-35-turbo',
45
45
name: 'gpt-35-turbo'
46
+
},
47
+
{
48
+
label: 'gpt-35-turbo-16k',
49
+
name: 'gpt-35-turbo-16k'
46
50
}
47
51
],
48
52
default: 'gpt-35-turbo',
@@ -70,14 +74,10 @@ class AzureChatOpenAI_ChatModels implements INode {
70
74
{
71
75
label: 'Azure OpenAI Api Version',
72
76
name: 'azureOpenAIApiVersion',
73
-
type: 'options',
74
-
options: [
75
-
{
76
-
label: '2023-03-15-preview',
77
-
name: '2023-03-15-preview'
78
-
}
79
-
],
80
-
default: '2023-03-15-preview'
77
+
type: 'string',
78
+
placeholder: '2023-06-01-preview',
79
+
description:
80
+
'Description of Supported API Versions. Please refer <a target="_blank" href="https://learn.microsoft.com/en-us/azure/cognitive-services/openai/reference#chat-completions">examples</a>'
Copy file name to clipboardExpand all lines: packages/components/nodes/embeddings/AzureOpenAIEmbedding/AzureOpenAIEmbedding.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ class AzureOpenAIEmbedding_Embeddings implements INode {
43
43
label: 'Azure OpenAI Api Version',
44
44
name: 'azureOpenAIApiVersion',
45
45
type: 'string',
46
-
placeholder: 'YOUR-API-VERSION',
46
+
placeholder: '2023-03-15-preview',
47
47
description:
48
48
'Description of Supported API Versions. Please refer <a target="_blank" href="https://learn.microsoft.com/en-us/azure/cognitive-services/openai/reference#embeddings">examples</a>'
Copy file name to clipboardExpand all lines: packages/components/nodes/llms/Azure OpenAI/AzureOpenAI.ts
+4-12Lines changed: 4 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -105,18 +105,10 @@ class AzureOpenAI_LLMs implements INode {
105
105
{
106
106
label: 'Azure OpenAI Api Version',
107
107
name: 'azureOpenAIApiVersion',
108
-
type: 'options',
109
-
options: [
110
-
{
111
-
label: '2023-03-15-preview',
112
-
name: '2023-03-15-preview'
113
-
},
114
-
{
115
-
label: '2022-12-01',
116
-
name: '2022-12-01'
117
-
}
118
-
],
119
-
default: '2023-03-15-preview'
108
+
type: 'string',
109
+
placeholder: '2023-06-01-preview',
110
+
description:
111
+
'Description of Supported API Versions. Please refer <a target="_blank" href="https://learn.microsoft.com/en-us/azure/cognitive-services/openai/reference#completions">examples</a>'
0 commit comments