feat: add claude 3.5 sonnet (#3129)

Signed-off-by: James <namnh0122@gmail.com>
This commit is contained in:
NamH 2024-07-03 18:10:44 +07:00 committed by Louis
parent 26afa8acd4
commit 68ed296258
No known key found for this signature in database
GPG Key ID: 44FA9F4D33C37DE2
2 changed files with 29 additions and 14 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "@janhq/inference-anthropic-extension", "name": "@janhq/inference-anthropic-extension",
"productName": "Anthropic Inference Engine", "productName": "Anthropic Inference Engine",
"version": "1.0.1", "version": "1.0.2",
"description": "This extension enables Anthropic chat completion API calls", "description": "This extension enables Anthropic chat completion API calls",
"main": "dist/index.js", "main": "dist/index.js",
"module": "dist/module.js", "module": "dist/module.js",

View File

@ -19,10 +19,7 @@
}, },
"metadata": { "metadata": {
"author": "Anthropic", "author": "Anthropic",
"tags": [ "tags": ["General", "Big Context Length"]
"General",
"Big Context Length"
]
}, },
"engine": "anthropic" "engine": "anthropic"
}, },
@ -46,10 +43,7 @@
}, },
"metadata": { "metadata": {
"author": "Anthropic", "author": "Anthropic",
"tags": [ "tags": ["General", "Big Context Length"]
"General",
"Big Context Length"
]
}, },
"engine": "anthropic" "engine": "anthropic"
}, },
@ -73,11 +67,32 @@
}, },
"metadata": { "metadata": {
"author": "Anthropic", "author": "Anthropic",
"tags": [ "tags": ["General", "Big Context Length"]
"General", },
"Big Context Length" "engine": "anthropic"
] },
{
"sources": [
{
"url": "https://www.anthropic.com/"
}
],
"id": "claude-3-5-sonnet-20240620",
"object": "model",
"name": "Claude 3.5 Sonnet",
"version": "1.0",
"description": "Claude 3.5 Sonnet raises the industry bar for intelligence, outperforming competitor models and Claude 3 Opus on a wide range of evaluations, with the speed and cost of our mid-tier model, Claude 3 Sonnet.",
"format": "api",
"settings": {},
"parameters": {
"max_tokens": 4096,
"temperature": 0.7,
"stream": true
},
"metadata": {
"author": "Anthropic",
"tags": ["General", "Big Context Length"]
}, },
"engine": "anthropic" "engine": "anthropic"
} }
] ]