forked from langgenius/dify
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Llama3.2 models in Groq provider (langgenius#8831)
- Loading branch information
Showing
4 changed files
with
100 additions
and
0 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
api/core/model_runtime/model_providers/groq/llm/llama-3.2-11b-text-preview.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
model: llama-3.2-11b-text-preview | ||
label: | ||
zh_Hans: Llama 3.2 11B Text (Preview) | ||
en_US: Llama 3.2 11B Text (Preview) | ||
model_type: llm | ||
features: | ||
- agent-thought | ||
model_properties: | ||
mode: chat | ||
context_size: 131072 | ||
parameter_rules: | ||
- name: temperature | ||
use_template: temperature | ||
- name: top_p | ||
use_template: top_p | ||
- name: max_tokens | ||
use_template: max_tokens | ||
default: 512 | ||
min: 1 | ||
max: 8192 | ||
pricing: | ||
input: '0.05' | ||
output: '0.1' | ||
unit: '0.000001' | ||
currency: USD |
25 changes: 25 additions & 0 deletions
25
api/core/model_runtime/model_providers/groq/llm/llama-3.2-1b-preview.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
model: llama-3.2-1b-preview | ||
label: | ||
zh_Hans: Llama 3.2 1B Text (Preview) | ||
en_US: Llama 3.2 1B Text (Preview) | ||
model_type: llm | ||
features: | ||
- agent-thought | ||
model_properties: | ||
mode: chat | ||
context_size: 131072 | ||
parameter_rules: | ||
- name: temperature | ||
use_template: temperature | ||
- name: top_p | ||
use_template: top_p | ||
- name: max_tokens | ||
use_template: max_tokens | ||
default: 512 | ||
min: 1 | ||
max: 8192 | ||
pricing: | ||
input: '0.05' | ||
output: '0.1' | ||
unit: '0.000001' | ||
currency: USD |
25 changes: 25 additions & 0 deletions
25
api/core/model_runtime/model_providers/groq/llm/llama-3.2-3b-preview.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
model: llama-3.2-3b-preview | ||
label: | ||
zh_Hans: Llama 3.2 3B Text (Preview) | ||
en_US: Llama 3.2 3B Text (Preview) | ||
model_type: llm | ||
features: | ||
- agent-thought | ||
model_properties: | ||
mode: chat | ||
context_size: 131072 | ||
parameter_rules: | ||
- name: temperature | ||
use_template: temperature | ||
- name: top_p | ||
use_template: top_p | ||
- name: max_tokens | ||
use_template: max_tokens | ||
default: 512 | ||
min: 1 | ||
max: 8192 | ||
pricing: | ||
input: '0.05' | ||
output: '0.1' | ||
unit: '0.000001' | ||
currency: USD |
25 changes: 25 additions & 0 deletions
25
api/core/model_runtime/model_providers/groq/llm/llama-3.2-90b-text-preview.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
model: llama-3.2-90b-text-preview | ||
label: | ||
zh_Hans: Llama 3.2 90B Text (Preview) | ||
en_US: Llama 3.2 90B Text (Preview) | ||
model_type: llm | ||
features: | ||
- agent-thought | ||
model_properties: | ||
mode: chat | ||
context_size: 131072 | ||
parameter_rules: | ||
- name: temperature | ||
use_template: temperature | ||
- name: top_p | ||
use_template: top_p | ||
- name: max_tokens | ||
use_template: max_tokens | ||
default: 512 | ||
min: 1 | ||
max: 8192 | ||
pricing: | ||
input: '0.05' | ||
output: '0.1' | ||
unit: '0.000001' | ||
currency: USD |