mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 15:00:57 +03:00
Merge pull request #946 from FlowiseAI/feature/OpenAI
Feature/Update OpenAI models
This commit is contained in:
@@ -114,7 +114,7 @@ class GoogleVertexAI_ChatModels implements INode {
|
||||
const maxOutputTokens = nodeData.inputs?.maxOutputTokens as string
|
||||
const topP = nodeData.inputs?.topP as string
|
||||
|
||||
const obj: Partial<GoogleVertexAIChatInput> = {
|
||||
const obj: GoogleVertexAIChatInput<GoogleAuthOptions> = {
|
||||
temperature: parseFloat(temperature),
|
||||
model: modelName
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ class OpenAI_LLMs implements INode {
|
||||
constructor() {
|
||||
this.label = 'OpenAI'
|
||||
this.name = 'openAI'
|
||||
this.version = 1.0
|
||||
this.version = 2.0
|
||||
this.type = 'OpenAI'
|
||||
this.icon = 'openai.png'
|
||||
this.category = 'LLMs'
|
||||
@@ -36,23 +36,19 @@ class OpenAI_LLMs implements INode {
|
||||
type: 'options',
|
||||
options: [
|
||||
{
|
||||
label: 'text-davinci-003',
|
||||
name: 'text-davinci-003'
|
||||
label: 'gpt-3.5-turbo-instruct',
|
||||
name: 'gpt-3.5-turbo-instruct'
|
||||
},
|
||||
{
|
||||
label: 'text-davinci-002',
|
||||
name: 'text-davinci-002'
|
||||
label: 'babbage-002',
|
||||
name: 'babbage-002'
|
||||
},
|
||||
{
|
||||
label: 'text-curie-001',
|
||||
name: 'text-curie-001'
|
||||
},
|
||||
{
|
||||
label: 'text-babbage-001',
|
||||
name: 'text-babbage-001'
|
||||
label: 'davinci-002',
|
||||
name: 'davinci-002'
|
||||
}
|
||||
],
|
||||
default: 'text-davinci-003',
|
||||
default: 'gpt-3.5-turbo-instruct',
|
||||
optional: true
|
||||
},
|
||||
{
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
"google-auth-library": "^9.0.0",
|
||||
"graphql": "^16.6.0",
|
||||
"html-to-text": "^9.0.5",
|
||||
"langchain": "^0.0.147",
|
||||
"langchain": "^0.0.152",
|
||||
"langfuse-langchain": "^1.0.14-alpha.0",
|
||||
"langsmith": "^0.0.32",
|
||||
"linkifyjs": "^4.1.1",
|
||||
|
||||
Reference in New Issue
Block a user