update agent model
This commit is contained in:
parent
0d7b916b86
commit
464a23e0f4
|
|
@ -21,7 +21,7 @@ class ConversationalRetrievalAgent_Agents implements INode {
|
||||||
constructor() {
|
constructor() {
|
||||||
this.label = 'Conversational Retrieval Agent'
|
this.label = 'Conversational Retrieval Agent'
|
||||||
this.name = 'conversationalRetrievalAgent'
|
this.name = 'conversationalRetrievalAgent'
|
||||||
this.version = 2.0
|
this.version = 3.0
|
||||||
this.type = 'AgentExecutor'
|
this.type = 'AgentExecutor'
|
||||||
this.category = 'Agents'
|
this.category = 'Agents'
|
||||||
this.icon = 'agent.svg'
|
this.icon = 'agent.svg'
|
||||||
|
|
@ -42,7 +42,7 @@ class ConversationalRetrievalAgent_Agents implements INode {
|
||||||
{
|
{
|
||||||
label: 'OpenAI/Azure Chat Model',
|
label: 'OpenAI/Azure Chat Model',
|
||||||
name: 'model',
|
name: 'model',
|
||||||
type: 'ChatOpenAI | AzureChatOpenAI'
|
type: 'BaseChatModel'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'System Message',
|
label: 'System Message',
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ class OpenAIFunctionAgent_Agents implements INode {
|
||||||
constructor() {
|
constructor() {
|
||||||
this.label = 'OpenAI Function Agent'
|
this.label = 'OpenAI Function Agent'
|
||||||
this.name = 'openAIFunctionAgent'
|
this.name = 'openAIFunctionAgent'
|
||||||
this.version = 2.0
|
this.version = 3.0
|
||||||
this.type = 'AgentExecutor'
|
this.type = 'AgentExecutor'
|
||||||
this.category = 'Agents'
|
this.category = 'Agents'
|
||||||
this.icon = 'openai.png'
|
this.icon = 'openai.png'
|
||||||
|
|
@ -41,7 +41,7 @@ class OpenAIFunctionAgent_Agents implements INode {
|
||||||
{
|
{
|
||||||
label: 'OpenAI/Azure Chat Model',
|
label: 'OpenAI/Azure Chat Model',
|
||||||
name: 'model',
|
name: 'model',
|
||||||
type: 'ChatOpenAI | AzureChatOpenAI'
|
type: 'BaseChatModel'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'System Message',
|
label: 'System Message',
|
||||||
|
|
|
||||||
|
|
@ -334,7 +334,7 @@
|
||||||
"id": "openAIFunctionAgent_0",
|
"id": "openAIFunctionAgent_0",
|
||||||
"label": "OpenAI Function Agent",
|
"label": "OpenAI Function Agent",
|
||||||
"name": "openAIFunctionAgent",
|
"name": "openAIFunctionAgent",
|
||||||
"version": 2,
|
"version": 3,
|
||||||
"type": "AgentExecutor",
|
"type": "AgentExecutor",
|
||||||
"baseClasses": ["AgentExecutor", "BaseChain"],
|
"baseClasses": ["AgentExecutor", "BaseChain"],
|
||||||
"category": "Agents",
|
"category": "Agents",
|
||||||
|
|
@ -367,8 +367,8 @@
|
||||||
{
|
{
|
||||||
"label": "OpenAI/Azure Chat Model",
|
"label": "OpenAI/Azure Chat Model",
|
||||||
"name": "model",
|
"name": "model",
|
||||||
"type": "ChatOpenAI | AzureChatOpenAI",
|
"type": "BaseChatModel",
|
||||||
"id": "openAIFunctionAgent_0-input-model-ChatOpenAI | AzureChatOpenAI"
|
"id": "openAIFunctionAgent_0-input-model-BaseChatModel"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"inputs": {
|
"inputs": {
|
||||||
|
|
|
||||||
|
|
@ -98,7 +98,7 @@
|
||||||
"data": {
|
"data": {
|
||||||
"id": "conversationalRetrievalAgent_0",
|
"id": "conversationalRetrievalAgent_0",
|
||||||
"label": "Conversational Retrieval Agent",
|
"label": "Conversational Retrieval Agent",
|
||||||
"version": 2,
|
"version": 3,
|
||||||
"name": "conversationalRetrievalAgent",
|
"name": "conversationalRetrievalAgent",
|
||||||
"type": "AgentExecutor",
|
"type": "AgentExecutor",
|
||||||
"baseClasses": ["AgentExecutor", "BaseChain", "Runnable"],
|
"baseClasses": ["AgentExecutor", "BaseChain", "Runnable"],
|
||||||
|
|
@ -132,8 +132,8 @@
|
||||||
{
|
{
|
||||||
"label": "OpenAI/Azure Chat Model",
|
"label": "OpenAI/Azure Chat Model",
|
||||||
"name": "model",
|
"name": "model",
|
||||||
"type": "ChatOpenAI | AzureChatOpenAI",
|
"type": "BaseChatModel",
|
||||||
"id": "conversationalRetrievalAgent_0-input-model-ChatOpenAI | AzureChatOpenAI"
|
"id": "conversationalRetrievalAgent_0-input-model-BaseChatModel"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"inputs": {
|
"inputs": {
|
||||||
|
|
@ -642,9 +642,9 @@
|
||||||
"source": "chatOpenAI_0",
|
"source": "chatOpenAI_0",
|
||||||
"sourceHandle": "chatOpenAI_0-output-chatOpenAI-ChatOpenAI|BaseChatModel|BaseLanguageModel|Runnable",
|
"sourceHandle": "chatOpenAI_0-output-chatOpenAI-ChatOpenAI|BaseChatModel|BaseLanguageModel|Runnable",
|
||||||
"target": "conversationalRetrievalAgent_0",
|
"target": "conversationalRetrievalAgent_0",
|
||||||
"targetHandle": "conversationalRetrievalAgent_0-input-model-ChatOpenAI",
|
"targetHandle": "conversationalRetrievalAgent_0-input-model-BaseChatModel",
|
||||||
"type": "buttonedge",
|
"type": "buttonedge",
|
||||||
"id": "chatOpenAI_0-chatOpenAI_0-output-chatOpenAI-ChatOpenAI|BaseChatModel|BaseLanguageModel|Runnable-conversationalRetrievalAgent_0-conversationalRetrievalAgent_0-input-model-ChatOpenAI",
|
"id": "chatOpenAI_0-chatOpenAI_0-output-chatOpenAI-ChatOpenAI|BaseChatModel|BaseLanguageModel|Runnable-conversationalRetrievalAgent_0-conversationalRetrievalAgent_0-input-model-BaseChatModel",
|
||||||
"data": {
|
"data": {
|
||||||
"label": ""
|
"label": ""
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -206,7 +206,7 @@
|
||||||
"id": "openAIFunctionAgent_0",
|
"id": "openAIFunctionAgent_0",
|
||||||
"label": "OpenAI Function Agent",
|
"label": "OpenAI Function Agent",
|
||||||
"name": "openAIFunctionAgent",
|
"name": "openAIFunctionAgent",
|
||||||
"version": 2,
|
"version": 3,
|
||||||
"type": "AgentExecutor",
|
"type": "AgentExecutor",
|
||||||
"baseClasses": ["AgentExecutor", "BaseChain"],
|
"baseClasses": ["AgentExecutor", "BaseChain"],
|
||||||
"category": "Agents",
|
"category": "Agents",
|
||||||
|
|
@ -239,8 +239,8 @@
|
||||||
{
|
{
|
||||||
"label": "OpenAI/Azure Chat Model",
|
"label": "OpenAI/Azure Chat Model",
|
||||||
"name": "model",
|
"name": "model",
|
||||||
"type": "ChatOpenAI | AzureChatOpenAI",
|
"type": "BaseChatModel",
|
||||||
"id": "openAIFunctionAgent_0-input-model-ChatOpenAI | AzureChatOpenAI"
|
"id": "openAIFunctionAgent_0-input-model-BaseChatModel"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"inputs": {
|
"inputs": {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue