update openai models

This commit is contained in:
Henry
2023-09-19 11:53:16 +01:00
parent 79545d0e9b
commit 4682be5c03
5 changed files with 88 additions and 87 deletions
+10 -10
View File
@@ -17,7 +17,7 @@ class OpenAI_LLMs implements INode {
constructor() { constructor() {
this.label = 'OpenAI' this.label = 'OpenAI'
this.name = 'openAI' this.name = 'openAI'
this.version = 1.0 this.version = 2.0
this.type = 'OpenAI' this.type = 'OpenAI'
this.icon = 'openai.png' this.icon = 'openai.png'
this.category = 'LLMs' this.category = 'LLMs'
@@ -36,23 +36,23 @@ class OpenAI_LLMs implements INode {
type: 'options', type: 'options',
options: [ options: [
{ {
label: 'text-davinci-003', label: 'gpt-3.5-turbo-instruct',
name: 'text-davinci-003' name: 'gpt-3.5-turbo-instruct'
}, },
{ {
label: 'text-davinci-002', label: 'babbage-002',
name: 'text-davinci-002' name: 'babbage-002'
}, },
{ {
label: 'text-curie-001', label: 'davinci-002',
name: 'text-curie-001' name: 'davinci-002'
}, },
{ {
label: 'text-babbage-001', label: 'gpt-3.5-turbo-base',
name: 'text-babbage-001' name: 'gpt-3.5-turbo-base'
} }
], ],
default: 'text-davinci-003', default: 'gpt-3.5-turbo-instruct',
optional: true optional: true
}, },
{ {
@@ -328,7 +328,7 @@
"id": "openAI_2", "id": "openAI_2",
"label": "OpenAI", "label": "OpenAI",
"name": "openAI", "name": "openAI",
"version": 1, "version": 2,
"type": "OpenAI", "type": "OpenAI",
"baseClasses": ["OpenAI", "BaseLLM", "BaseLanguageModel"], "baseClasses": ["OpenAI", "BaseLLM", "BaseLanguageModel"],
"category": "LLMs", "category": "LLMs",
@@ -347,23 +347,23 @@
"type": "options", "type": "options",
"options": [ "options": [
{ {
"label": "text-davinci-003", "label": "gpt-3.5-turbo-instruct",
"name": "text-davinci-003" "name": "gpt-3.5-turbo-instruct"
}, },
{ {
"label": "text-davinci-002", "label": "babbage-002",
"name": "text-davinci-002" "name": "babbage-002"
}, },
{ {
"label": "text-curie-001", "label": "davinci-002",
"name": "text-curie-001" "name": "davinci-002"
}, },
{ {
"label": "text-babbage-001", "label": "gpt-3.5-turbo-base",
"name": "text-babbage-001" "name": "gpt-3.5-turbo-base"
} }
], ],
"default": "text-davinci-003", "default": "gpt-3.5-turbo-instruct",
"optional": true, "optional": true,
"id": "openAI_2-input-modelName-options" "id": "openAI_2-input-modelName-options"
}, },
@@ -442,7 +442,7 @@
], ],
"inputAnchors": [], "inputAnchors": [],
"inputs": { "inputs": {
"modelName": "text-davinci-003", "modelName": "gpt-3.5-turbo-instruct",
"temperature": 0.7, "temperature": 0.7,
"maxTokens": "", "maxTokens": "",
"topP": "", "topP": "",
@@ -743,7 +743,7 @@
"id": "openAI_3", "id": "openAI_3",
"label": "OpenAI", "label": "OpenAI",
"name": "openAI", "name": "openAI",
"version": 1, "version": 2,
"type": "OpenAI", "type": "OpenAI",
"baseClasses": ["OpenAI", "BaseLLM", "BaseLanguageModel"], "baseClasses": ["OpenAI", "BaseLLM", "BaseLanguageModel"],
"category": "LLMs", "category": "LLMs",
@@ -762,23 +762,23 @@
"type": "options", "type": "options",
"options": [ "options": [
{ {
"label": "text-davinci-003", "label": "gpt-3.5-turbo-instruct",
"name": "text-davinci-003" "name": "gpt-3.5-turbo-instruct"
}, },
{ {
"label": "text-davinci-002", "label": "babbage-002",
"name": "text-davinci-002" "name": "babbage-002"
}, },
{ {
"label": "text-curie-001", "label": "davinci-002",
"name": "text-curie-001" "name": "davinci-002"
}, },
{ {
"label": "text-babbage-001", "label": "gpt-3.5-turbo-base",
"name": "text-babbage-001" "name": "gpt-3.5-turbo-base"
} }
], ],
"default": "text-davinci-003", "default": "gpt-3.5-turbo-instruct",
"optional": true, "optional": true,
"id": "openAI_3-input-modelName-options" "id": "openAI_3-input-modelName-options"
}, },
@@ -857,7 +857,7 @@
], ],
"inputAnchors": [], "inputAnchors": [],
"inputs": { "inputs": {
"modelName": "text-davinci-003", "modelName": "gpt-3.5-turbo-instruct",
"temperature": 0.7, "temperature": 0.7,
"maxTokens": "", "maxTokens": "",
"topP": "", "topP": "",
@@ -1008,7 +1008,7 @@
"id": "openAI_4", "id": "openAI_4",
"label": "OpenAI", "label": "OpenAI",
"name": "openAI", "name": "openAI",
"version": 1, "version": 2,
"type": "OpenAI", "type": "OpenAI",
"baseClasses": ["OpenAI", "BaseLLM", "BaseLanguageModel"], "baseClasses": ["OpenAI", "BaseLLM", "BaseLanguageModel"],
"category": "LLMs", "category": "LLMs",
@@ -1027,23 +1027,23 @@
"type": "options", "type": "options",
"options": [ "options": [
{ {
"label": "text-davinci-003", "label": "gpt-3.5-turbo-instruct",
"name": "text-davinci-003" "name": "gpt-3.5-turbo-instruct"
}, },
{ {
"label": "text-davinci-002", "label": "babbage-002",
"name": "text-davinci-002" "name": "babbage-002"
}, },
{ {
"label": "text-curie-001", "label": "davinci-002",
"name": "text-curie-001" "name": "davinci-002"
}, },
{ {
"label": "text-babbage-001", "label": "gpt-3.5-turbo-base",
"name": "text-babbage-001" "name": "gpt-3.5-turbo-base"
} }
], ],
"default": "text-davinci-003", "default": "gpt-3.5-turbo-instruct",
"optional": true, "optional": true,
"id": "openAI_4-input-modelName-options" "id": "openAI_4-input-modelName-options"
}, },
@@ -1122,7 +1122,7 @@
], ],
"inputAnchors": [], "inputAnchors": [],
"inputs": { "inputs": {
"modelName": "text-davinci-003", "modelName": "gpt-3.5-turbo-instruct",
"temperature": 0.7, "temperature": 0.7,
"maxTokens": "", "maxTokens": "",
"topP": "", "topP": "",
@@ -296,7 +296,7 @@
"id": "openAI_1", "id": "openAI_1",
"label": "OpenAI", "label": "OpenAI",
"name": "openAI", "name": "openAI",
"version": 1, "version": 2,
"type": "OpenAI", "type": "OpenAI",
"baseClasses": ["OpenAI", "BaseLLM", "BaseLanguageModel"], "baseClasses": ["OpenAI", "BaseLLM", "BaseLanguageModel"],
"category": "LLMs", "category": "LLMs",
@@ -315,23 +315,23 @@
"type": "options", "type": "options",
"options": [ "options": [
{ {
"label": "text-davinci-003", "label": "gpt-3.5-turbo-instruct",
"name": "text-davinci-003" "name": "gpt-3.5-turbo-instruct"
}, },
{ {
"label": "text-davinci-002", "label": "babbage-002",
"name": "text-davinci-002" "name": "babbage-002"
}, },
{ {
"label": "text-curie-001", "label": "davinci-002",
"name": "text-curie-001" "name": "davinci-002"
}, },
{ {
"label": "text-babbage-001", "label": "gpt-3.5-turbo-base",
"name": "text-babbage-001" "name": "gpt-3.5-turbo-base"
} }
], ],
"default": "text-davinci-003", "default": "gpt-3.5-turbo-instruct",
"optional": true, "optional": true,
"id": "openAI_1-input-modelName-options" "id": "openAI_1-input-modelName-options"
}, },
@@ -410,7 +410,7 @@
], ],
"inputAnchors": [], "inputAnchors": [],
"inputs": { "inputs": {
"modelName": "text-davinci-003", "modelName": "gpt-3.5-turbo-instruct",
"temperature": 0.7, "temperature": 0.7,
"maxTokens": "", "maxTokens": "",
"topP": "", "topP": "",
@@ -452,7 +452,7 @@
"id": "openAI_2", "id": "openAI_2",
"label": "OpenAI", "label": "OpenAI",
"name": "openAI", "name": "openAI",
"version": 1, "version": 2,
"type": "OpenAI", "type": "OpenAI",
"baseClasses": ["OpenAI", "BaseLLM", "BaseLanguageModel"], "baseClasses": ["OpenAI", "BaseLLM", "BaseLanguageModel"],
"category": "LLMs", "category": "LLMs",
@@ -471,23 +471,23 @@
"type": "options", "type": "options",
"options": [ "options": [
{ {
"label": "text-davinci-003", "label": "gpt-3.5-turbo-instruct",
"name": "text-davinci-003" "name": "gpt-3.5-turbo-instruct"
}, },
{ {
"label": "text-davinci-002", "label": "babbage-002",
"name": "text-davinci-002" "name": "babbage-002"
}, },
{ {
"label": "text-curie-001", "label": "davinci-002",
"name": "text-curie-001" "name": "davinci-002"
}, },
{ {
"label": "text-babbage-001", "label": "gpt-3.5-turbo-base",
"name": "text-babbage-001" "name": "gpt-3.5-turbo-base"
} }
], ],
"default": "text-davinci-003", "default": "gpt-3.5-turbo-instruct",
"optional": true, "optional": true,
"id": "openAI_2-input-modelName-options" "id": "openAI_2-input-modelName-options"
}, },
@@ -565,8 +565,9 @@
} }
], ],
"inputAnchors": [], "inputAnchors": [],
"default": "gpt-3.5-turbo-instruct",
"inputs": { "inputs": {
"modelName": "text-davinci-003", "modelName": "gpt-3.5-turbo-instruct",
"temperature": 0.7, "temperature": 0.7,
"maxTokens": "", "maxTokens": "",
"topP": "", "topP": "",
@@ -155,7 +155,7 @@
"id": "openAI_0", "id": "openAI_0",
"label": "OpenAI", "label": "OpenAI",
"name": "openAI", "name": "openAI",
"version": 1, "version": 2,
"type": "OpenAI", "type": "OpenAI",
"baseClasses": ["OpenAI", "BaseLLM", "BaseLanguageModel"], "baseClasses": ["OpenAI", "BaseLLM", "BaseLanguageModel"],
"category": "LLMs", "category": "LLMs",
@@ -174,23 +174,23 @@
"type": "options", "type": "options",
"options": [ "options": [
{ {
"label": "text-davinci-003", "label": "gpt-3.5-turbo-instruct",
"name": "text-davinci-003" "name": "gpt-3.5-turbo-instruct"
}, },
{ {
"label": "text-davinci-002", "label": "babbage-002",
"name": "text-davinci-002" "name": "babbage-002"
}, },
{ {
"label": "text-curie-001", "label": "davinci-002",
"name": "text-curie-001" "name": "davinci-002"
}, },
{ {
"label": "text-babbage-001", "label": "gpt-3.5-turbo-base",
"name": "text-babbage-001" "name": "gpt-3.5-turbo-base"
} }
], ],
"default": "text-davinci-003", "default": "gpt-3.5-turbo-instruct",
"optional": true, "optional": true,
"id": "openAI_0-input-modelName-options" "id": "openAI_0-input-modelName-options"
}, },
@@ -269,7 +269,7 @@
], ],
"inputAnchors": [], "inputAnchors": [],
"inputs": { "inputs": {
"modelName": "text-davinci-003", "modelName": "gpt-3.5-turbo-instruct",
"temperature": 0.7, "temperature": 0.7,
"maxTokens": "", "maxTokens": "",
"topP": "", "topP": "",
@@ -115,7 +115,7 @@
"id": "openAI_0", "id": "openAI_0",
"label": "OpenAI", "label": "OpenAI",
"name": "openAI", "name": "openAI",
"version": 1, "version": 2,
"type": "OpenAI", "type": "OpenAI",
"baseClasses": ["OpenAI", "BaseLLM", "BaseLanguageModel"], "baseClasses": ["OpenAI", "BaseLLM", "BaseLanguageModel"],
"category": "LLMs", "category": "LLMs",
@@ -134,23 +134,23 @@
"type": "options", "type": "options",
"options": [ "options": [
{ {
"label": "text-davinci-003", "label": "gpt-3.5-turbo-instruct",
"name": "text-davinci-003" "name": "gpt-3.5-turbo-instruct"
}, },
{ {
"label": "text-davinci-002", "label": "babbage-002",
"name": "text-davinci-002" "name": "babbage-002"
}, },
{ {
"label": "text-curie-001", "label": "davinci-002",
"name": "text-curie-001" "name": "davinci-002"
}, },
{ {
"label": "text-babbage-001", "label": "gpt-3.5-turbo-base",
"name": "text-babbage-001" "name": "gpt-3.5-turbo-base"
} }
], ],
"default": "text-davinci-003", "default": "gpt-3.5-turbo-instruct",
"optional": true, "optional": true,
"id": "openAI_0-input-modelName-options" "id": "openAI_0-input-modelName-options"
}, },
@@ -229,7 +229,7 @@
], ],
"inputAnchors": [], "inputAnchors": [],
"inputs": { "inputs": {
"modelName": "text-davinci-003", "modelName": "gpt-3.5-turbo-instruct",
"temperature": 0.7, "temperature": 0.7,
"maxTokens": "", "maxTokens": "",
"topP": "", "topP": "",