add claude-2.1

This commit is contained in:
Henry 2023-11-21 19:18:08 +00:00
parent e4f2b78e9a
commit 8358e59df2
2 changed files with 14 additions and 4 deletions

View File

@ -19,7 +19,7 @@ class ChatAnthropic_ChatModels implements INode {
constructor() { constructor() {
this.label = 'ChatAnthropic' this.label = 'ChatAnthropic'
this.name = 'chatAnthropic' this.name = 'chatAnthropic'
this.version = 2.0 this.version = 3.0
this.type = 'ChatAnthropic' this.type = 'ChatAnthropic'
this.icon = 'chatAnthropic.png' this.icon = 'chatAnthropic.png'
this.category = 'Chat Models' this.category = 'Chat Models'
@ -48,6 +48,11 @@ class ChatAnthropic_ChatModels implements INode {
name: 'claude-2', name: 'claude-2',
description: 'Claude 2 latest major version, automatically get updates to the model as they are released' description: 'Claude 2 latest major version, automatically get updates to the model as they are released'
}, },
{
label: 'claude-2.1',
name: 'claude-2.1',
description: 'Claude 2 latest full version'
},
{ {
label: 'claude-instant-1', label: 'claude-instant-1',
name: 'claude-instant-1', name: 'claude-instant-1',

View File

@ -1,5 +1,5 @@
{ {
"description": "Use Anthropic Claude with 100k context window to ingest whole document for QnA", "description": "Use Anthropic Claude with 200k context window to ingest whole document for QnA",
"nodes": [ "nodes": [
{ {
"width": 300, "width": 300,
@ -148,7 +148,7 @@
"id": "chatAnthropic_0", "id": "chatAnthropic_0",
"label": "ChatAnthropic", "label": "ChatAnthropic",
"name": "chatAnthropic", "name": "chatAnthropic",
"version": 2, "version": 3,
"type": "ChatAnthropic", "type": "ChatAnthropic",
"baseClasses": ["ChatAnthropic", "BaseChatModel", "BaseLanguageModel"], "baseClasses": ["ChatAnthropic", "BaseChatModel", "BaseLanguageModel"],
"category": "Chat Models", "category": "Chat Models",
@ -171,6 +171,11 @@
"name": "claude-2", "name": "claude-2",
"description": "Claude 2 latest major version, automatically get updates to the model as they are released" "description": "Claude 2 latest major version, automatically get updates to the model as they are released"
}, },
{
"label": "claude-2.1",
"name": "claude-2.1",
"description": "Claude 2 latest full version"
},
{ {
"label": "claude-instant-1", "label": "claude-instant-1",
"name": "claude-instant-1", "name": "claude-instant-1",
@ -268,7 +273,7 @@
} }
], ],
"inputs": { "inputs": {
"modelName": "claude-2", "modelName": "claude-2.1",
"temperature": 0.9, "temperature": 0.9,
"maxTokensToSample": "", "maxTokensToSample": "",
"topP": "", "topP": "",