Skip to content

Commit 4fe585a

Browse files
authored
feat(llm/models): add claude-3-haiku-20240307 (langgenius#2825)
1 parent e52448b commit 4fe585a

File tree

2 files changed

+39
-1
lines changed

2 files changed

+39
-1
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -154,4 +154,5 @@ sdks/python-client/dist
154154
sdks/python-client/dify_client.egg-info
155155

156156
.vscode/*
157-
!.vscode/launch.json
157+
!.vscode/launch.json
158+
pyrightconfig.json
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
model: claude-3-haiku-20240307
2+
label:
3+
en_US: claude-3-haiku-20240307
4+
model_type: llm
5+
features:
6+
- agent-thought
7+
- vision
8+
model_properties:
9+
mode: chat
10+
context_size: 200000
11+
parameter_rules:
12+
- name: temperature
13+
use_template: temperature
14+
- name: top_p
15+
use_template: top_p
16+
- name: top_k
17+
label:
18+
zh_Hans: 取样数量
19+
en_US: Top k
20+
type: int
21+
help:
22+
zh_Hans: 仅从每个后续标记的前 K 个选项中采样。
23+
en_US: Only sample from the top K options for each subsequent token.
24+
required: false
25+
- name: max_tokens
26+
use_template: max_tokens
27+
required: true
28+
default: 4096
29+
min: 1
30+
max: 4096
31+
- name: response_format
32+
use_template: response_format
33+
pricing:
34+
input: '0.25'
35+
output: '1.25'
36+
unit: '0.000001'
37+
currency: USD

0 commit comments

Comments
 (0)