Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
add-llama3-for-nvidia-api-catalog (#3631)
Joshua7545e5de6c0c
diff --git a/api/core/model_runtime/model_providers/nvidia/llm/_position.yaml b/api/core/model_runtime/model_providers/nvidia/llm/_position.yamlindex 51e71920e82..0b622b06004 100644--- a/api/core/model_runtime/model_providers/nvidia/llm/_position.yaml+++ b/api/core/model_runtime/model_providers/nvidia/llm/_position.yaml@@ -1,5 +1,7 @@- google/gemma-7b- google/codegemma-7b- meta/llama2-70b+- meta/llama3-8b+- meta/llama3-70b- mistralai/mixtral-8x7b-instruct-v0.1- fuyu-8bdiff --git a/api/core/model_runtime/model_providers/nvidia/llm/codegemma-7b.yaml b/api/core/model_runtime/model_providers/nvidia/llm/codegemma-7b.yamlindex ae94b142209..57446224a8a 100644--- a/api/core/model_runtime/model_providers/nvidia/llm/codegemma-7b.yaml+++ b/api/core/model_runtime/model_providers/nvidia/llm/codegemma-7b.yaml@@ -11,13 +11,19 @@ model_properties:parameter_rules:- name: temperatureuse_template: temperature+ min: 0+ max: 1+ default: 0.5- name: top_puse_template: top_p+ min: 0+ max: 1+ default: 1- name: max_tokensuse_template: max_tokens- default: 1024min: 1max: 1024+ default: 1024- name: frequency_penaltyuse_template: frequency_penaltymin: -2diff --git a/api/core/model_runtime/model_providers/nvidia/llm/fuyu-8b.yaml b/api/core/model_runtime/model_providers/nvidia/llm/fuyu-8b.yamlindex 49749bba907..6ae524c6d80 100644--- a/api/core/model_runtime/model_providers/nvidia/llm/fuyu-8b.yaml+++ b/api/core/model_runtime/model_providers/nvidia/llm/fuyu-8b.yaml@@ -22,6 +22,6 @@ parameter_rules:max: 1- name: max_tokensuse_template: max_tokens- default: 512+ default: 1024min: 1max: 1024diff --git a/api/core/model_runtime/model_providers/nvidia/llm/gemma-7b.yaml b/api/core/model_runtime/model_providers/nvidia/llm/gemma-7b.yamlindex c50dad4f14f..794b820bf42 100644--- a/api/core/model_runtime/model_providers/nvidia/llm/gemma-7b.yaml+++ b/api/core/model_runtime/model_providers/nvidia/llm/gemma-7b.yaml@@ -11,13 +11,19 @@ model_properties:parameter_rules:- name: temperatureuse_template: temperature+ min: 0+ max: 1+ default: 0.5- name: top_puse_template: top_p+ min: 0+ max: 1+ default: 1- name: max_tokensuse_template: max_tokens- default: 512min: 1max: 1024+ default: 1024- name: frequency_penaltyuse_template: frequency_penaltymin: -2diff --git a/api/core/model_runtime/model_providers/nvidia/llm/llama2-70b.yaml b/api/core/model_runtime/model_providers/nvidia/llm/llama2-70b.yamlindex 46422cbdb6a..9fba816b7fd 100644--- a/api/core/model_runtime/model_providers/nvidia/llm/llama2-70b.yaml+++ b/api/core/model_runtime/model_providers/nvidia/llm/llama2-70b.yaml@@ -7,17 +7,23 @@ features:- agent-thoughtmodel_properties:mode: chat- context_size: 32768+ context_size: 4096parameter_rules:- name: temperatureuse_template: temperature+ min: 0+ max: 1+ default: 0.5- name: top_puse_template: top_p+ min: 0+ max: 1+ default: 1- name: max_tokensuse_template: max_tokens- default: 512min: 1max: 1024+ default: 1024- name: frequency_penaltyuse_template: frequency_penaltymin: -2diff --git a/api/core/model_runtime/model_providers/nvidia/llm/llama3-70b.yaml b/api/core/model_runtime/model_providers/nvidia/llm/llama3-70b.yamlnew file mode 100644index 00000000000..9999ef5a835--- /dev/null+++ b/api/core/model_runtime/model_providers/nvidia/llm/llama3-70b.yaml@@ -0,0 +1,36 @@+model: meta/llama3-70b+label:+ zh_Hans: meta/llama3-70b+ en_US: meta/llama3-70b+model_type: llm+features:+ - agent-thought+model_properties:+ mode: chat+ context_size: 8192+parameter_rules:+ - name: temperature+ use_template: temperature+ min: 0+ max: 1+ default: 0.5+ - name: top_p+ use_template: top_p+ min: 0+ max: 1+ default: 1+ - name: max_tokens+ use_template: max_tokens+ min: 1+ max: 1024+ default: 1024+ - name: frequency_penalty+ use_template: frequency_penalty+ min: -2+ max: 2+ default: 0+ - name: presence_penalty+ use_template: presence_penalty+ min: -2+ max: 2+ default: 0diff --git a/api/core/model_runtime/model_providers/nvidia/llm/llama3-8b.yaml b/api/core/model_runtime/model_providers/nvidia/llm/llama3-8b.yamlnew file mode 100644index 00000000000..4dd3215d74f--- /dev/null+++ b/api/core/model_runtime/model_providers/nvidia/llm/llama3-8b.yaml@@ -0,0 +1,36 @@+model: meta/llama3-8b+label:+ zh_Hans: meta/llama3-8b+ en_US: meta/llama3-8b+model_type: llm+features:+ - agent-thought+model_properties:+ mode: chat+ context_size: 8192+parameter_rules:+ - name: temperature+ use_template: temperature+ min: 0+ max: 1+ default: 0.5+ - name: top_p+ use_template: top_p+ min: 0+ max: 1+ default: 1+ - name: max_tokens+ use_template: max_tokens+ min: 1+ max: 1024+ default: 1024+ - name: frequency_penalty+ use_template: frequency_penalty+ min: -2+ max: 2+ default: 0+ - name: presence_penalty+ use_template: presence_penalty+ min: -2+ max: 2+ default: 0diff --git a/api/core/model_runtime/model_providers/nvidia/llm/llm.py b/api/core/model_runtime/model_providers/nvidia/llm/llm.pyindex b1c2b77358d..84f5fc5e1cd 100644--- a/api/core/model_runtime/model_providers/nvidia/llm/llm.py+++ b/api/core/model_runtime/model_providers/nvidia/llm/llm.py@@ -25,7 +25,10 @@ class NVIDIALargeLanguageModel(OAIAPICompatLargeLanguageModel):'mistralai/mixtral-8x7b-instruct-v0.1': '','google/gemma-7b': '','google/codegemma-7b': '',- 'meta/llama2-70b': ''+ 'meta/llama2-70b': '',+ 'meta/llama3-8b': '',+ 'meta/llama3-70b': ''+}def _invoke(self, model: str, credentials: dict,diff --git a/api/core/model_runtime/model_providers/nvidia/llm/mistralai_mixtral-8x7b-instruct-v0.1.yaml b/api/core/model_runtime/model_providers/nvidia/llm/mistralai_mixtral-8x7b-instruct-v0.1.yamlindex fbd8cc268ed..d2c4dc5d934 100644--- a/api/core/model_runtime/model_providers/nvidia/llm/mistralai_mixtral-8x7b-instruct-v0.1.yaml+++ b/api/core/model_runtime/model_providers/nvidia/llm/mistralai_mixtral-8x7b-instruct-v0.1.yaml@@ -11,13 +11,19 @@ model_properties:parameter_rules:- name: temperatureuse_template: temperature+ min: 0+ max: 1+ default: 0.5- name: top_puse_template: top_p+ min: 0+ max: 1+ default: 1- name: max_tokensuse_template: max_tokens- default: 512min: 1max: 1024+ default: 1024- name: frequency_penaltyuse_template: frequency_penaltymin: -2diff --git a/api/core/model_runtime/model_providers/nvidia/nvidia.yaml b/api/core/model_runtime/model_providers/nvidia/nvidia.yamlindex 4d6da913c16..ce894a3372b 100644--- a/api/core/model_runtime/model_providers/nvidia/nvidia.yaml+++ b/api/core/model_runtime/model_providers/nvidia/nvidia.yaml@@ -1,6 +1,9 @@provider: nvidialabel:en_US: API Catalog+description:+ en_US: API Catalog+ zh_Hans: API Catalogicon_small:en_US: icon_s_en.svgicon_large: