update langchain version

This commit is contained in:
Henry 2023-09-20 20:07:13 +01:00
parent 4682be5c03
commit 096451f82f
7 changed files with 2 additions and 34 deletions

View File

@ -114,7 +114,7 @@ class GoogleVertexAI_ChatModels implements INode {
const maxOutputTokens = nodeData.inputs?.maxOutputTokens as string const maxOutputTokens = nodeData.inputs?.maxOutputTokens as string
const topP = nodeData.inputs?.topP as string const topP = nodeData.inputs?.topP as string
const obj: Partial<GoogleVertexAIChatInput> = { const obj: GoogleVertexAIChatInput<GoogleAuthOptions> = {
temperature: parseFloat(temperature), temperature: parseFloat(temperature),
model: modelName model: modelName
} }

View File

@ -46,10 +46,6 @@ class OpenAI_LLMs implements INode {
{ {
label: 'davinci-002', label: 'davinci-002',
name: 'davinci-002' name: 'davinci-002'
},
{
label: 'gpt-3.5-turbo-base',
name: 'gpt-3.5-turbo-base'
} }
], ],
default: 'gpt-3.5-turbo-instruct', default: 'gpt-3.5-turbo-instruct',

View File

@ -42,7 +42,7 @@
"google-auth-library": "^9.0.0", "google-auth-library": "^9.0.0",
"graphql": "^16.6.0", "graphql": "^16.6.0",
"html-to-text": "^9.0.5", "html-to-text": "^9.0.5",
"langchain": "^0.0.147", "langchain": "^0.0.152",
"langfuse-langchain": "^1.0.14-alpha.0", "langfuse-langchain": "^1.0.14-alpha.0",
"langsmith": "^0.0.32", "langsmith": "^0.0.32",
"linkifyjs": "^4.1.1", "linkifyjs": "^4.1.1",

View File

@ -357,10 +357,6 @@
{ {
"label": "davinci-002", "label": "davinci-002",
"name": "davinci-002" "name": "davinci-002"
},
{
"label": "gpt-3.5-turbo-base",
"name": "gpt-3.5-turbo-base"
} }
], ],
"default": "gpt-3.5-turbo-instruct", "default": "gpt-3.5-turbo-instruct",
@ -772,10 +768,6 @@
{ {
"label": "davinci-002", "label": "davinci-002",
"name": "davinci-002" "name": "davinci-002"
},
{
"label": "gpt-3.5-turbo-base",
"name": "gpt-3.5-turbo-base"
} }
], ],
"default": "gpt-3.5-turbo-instruct", "default": "gpt-3.5-turbo-instruct",
@ -1037,10 +1029,6 @@
{ {
"label": "davinci-002", "label": "davinci-002",
"name": "davinci-002" "name": "davinci-002"
},
{
"label": "gpt-3.5-turbo-base",
"name": "gpt-3.5-turbo-base"
} }
], ],
"default": "gpt-3.5-turbo-instruct", "default": "gpt-3.5-turbo-instruct",

View File

@ -325,10 +325,6 @@
{ {
"label": "davinci-002", "label": "davinci-002",
"name": "davinci-002" "name": "davinci-002"
},
{
"label": "gpt-3.5-turbo-base",
"name": "gpt-3.5-turbo-base"
} }
], ],
"default": "gpt-3.5-turbo-instruct", "default": "gpt-3.5-turbo-instruct",
@ -481,10 +477,6 @@
{ {
"label": "davinci-002", "label": "davinci-002",
"name": "davinci-002" "name": "davinci-002"
},
{
"label": "gpt-3.5-turbo-base",
"name": "gpt-3.5-turbo-base"
} }
], ],
"default": "gpt-3.5-turbo-instruct", "default": "gpt-3.5-turbo-instruct",

View File

@ -184,10 +184,6 @@
{ {
"label": "davinci-002", "label": "davinci-002",
"name": "davinci-002" "name": "davinci-002"
},
{
"label": "gpt-3.5-turbo-base",
"name": "gpt-3.5-turbo-base"
} }
], ],
"default": "gpt-3.5-turbo-instruct", "default": "gpt-3.5-turbo-instruct",

View File

@ -144,10 +144,6 @@
{ {
"label": "davinci-002", "label": "davinci-002",
"name": "davinci-002" "name": "davinci-002"
},
{
"label": "gpt-3.5-turbo-base",
"name": "gpt-3.5-turbo-base"
} }
], ],
"default": "gpt-3.5-turbo-instruct", "default": "gpt-3.5-turbo-instruct",