@lobehub/chat 0.160.3 → 0.160.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -0
- package/package.json +1 -1
- package/src/config/modelProviders/bedrock.ts +22 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,31 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
+
### [Version 0.160.4](https://github.com/lobehub/lobe-chat/compare/v0.160.3...v0.160.4)
|
|
6
|
+
|
|
7
|
+
<sup>Released on **2024-05-20**</sup>
|
|
8
|
+
|
|
9
|
+
#### 💄 Styles
|
|
10
|
+
|
|
11
|
+
- **misc**: Modify bedrock provided model.
|
|
12
|
+
|
|
13
|
+
<br/>
|
|
14
|
+
|
|
15
|
+
<details>
|
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
17
|
+
|
|
18
|
+
#### Styles
|
|
19
|
+
|
|
20
|
+
- **misc**: Modify bedrock provided model, closes [#2473](https://github.com/lobehub/lobe-chat/issues/2473) ([a1fabf6](https://github.com/lobehub/lobe-chat/commit/a1fabf6))
|
|
21
|
+
|
|
22
|
+
</details>
|
|
23
|
+
|
|
24
|
+
<div align="right">
|
|
25
|
+
|
|
26
|
+
[](#readme-top)
|
|
27
|
+
|
|
28
|
+
</div>
|
|
29
|
+
|
|
5
30
|
### [Version 0.160.3](https://github.com/lobehub/lobe-chat/compare/v0.160.2...v0.160.3)
|
|
6
31
|
|
|
7
32
|
<sup>Released on **2024-05-19**</sup>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobehub/chat",
|
|
3
|
-
"version": "0.160.
|
|
3
|
+
"version": "0.160.4",
|
|
4
4
|
"description": "Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"framework",
|
|
@@ -3,6 +3,11 @@ import { ModelProviderCard } from '@/types/llm';
|
|
|
3
3
|
// ref https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html
|
|
4
4
|
const Bedrock: ModelProviderCard = {
|
|
5
5
|
chatModels: [
|
|
6
|
+
{
|
|
7
|
+
displayName: 'Titan Text G1 - Lite',
|
|
8
|
+
id: 'amazon.titan-text-lite-v1:0:4k',
|
|
9
|
+
tokens: 4000,
|
|
10
|
+
},
|
|
6
11
|
{
|
|
7
12
|
description:
|
|
8
13
|
'Amazon Titan Text G1 - Express v1,上下文长度可达 8000 个 token,适合广泛的用途。',
|
|
@@ -10,6 +15,23 @@ const Bedrock: ModelProviderCard = {
|
|
|
10
15
|
id: 'amazon.titan-text-express-v1:0:8k',
|
|
11
16
|
tokens: 8000,
|
|
12
17
|
},
|
|
18
|
+
{
|
|
19
|
+
displayName: 'Titan Text Premier',
|
|
20
|
+
id: 'amazon.titan-text-premier-v1:0:32K',
|
|
21
|
+
tokens: 32_000,
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
displayName: 'Jurassic-2 Mid',
|
|
25
|
+
enabled: true,
|
|
26
|
+
id: 'ai21.j2-mid-v1',
|
|
27
|
+
tokens: 8192,
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
displayName: 'Jurassic-2 Ultra',
|
|
31
|
+
enabled: true,
|
|
32
|
+
id: 'ai21.j2-ultra-v1',
|
|
33
|
+
tokens: 8192,
|
|
34
|
+
},
|
|
13
35
|
{
|
|
14
36
|
description:
|
|
15
37
|
'Claude 3 Opus 是 Anthropic 最强大的人工智能模型,在处理高度复杂的任务方面具备顶尖性能。该模型能够以非凡的流畅性和类似人类的理解能力引导开放式的提示和未可见的场景。Claude 3 Opus 向我们展示生成式人工智能的美好前景。 Claude 3 Opus 可以处理图像和返回文本输出,并且提供 200K 上下文窗口。',
|