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 nvidia codegemma 7b (#3437)
Josh Feng3e6631312dc7
diff --git a/api/core/model_runtime/model_providers/nvidia/llm/_position.yaml b/api/core/model_runtime/model_providers/nvidia/llm/_position.yamlindex 78ab4cb93ea..51e71920e82 100644--- a/api/core/model_runtime/model_providers/nvidia/llm/_position.yaml+++ b/api/core/model_runtime/model_providers/nvidia/llm/_position.yaml@@ -1,4 +1,5 @@- google/gemma-7b+- google/codegemma-7b- meta/llama2-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.yamlnew file mode 100644index 00000000000..ae94b142209--- /dev/null+++ b/api/core/model_runtime/model_providers/nvidia/llm/codegemma-7b.yaml@@ -0,0 +1,30 @@+model: google/codegemma-7b+label:+ zh_Hans: google/codegemma-7b+ en_US: google/codegemma-7b+model_type: llm+features:+ - agent-thought+model_properties:+ mode: chat+ context_size: 8192+parameter_rules:+ - name: temperature+ use_template: temperature+ - name: top_p+ use_template: top_p+ - name: max_tokens+ use_template: max_tokens+ default: 1024+ min: 1+ max: 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 5d05e606b05..81291bf6c49 100644--- a/api/core/model_runtime/model_providers/nvidia/llm/llm.py+++ b/api/core/model_runtime/model_providers/nvidia/llm/llm.py@@ -24,6 +24,7 @@ class NVIDIALargeLanguageModel(OAIAPICompatLargeLanguageModel):'fuyu-8b': 'vlm/adept/fuyu-8b','mistralai/mixtral-8x7b-instruct-v0.1': '','google/gemma-7b': '',+ 'google/codegemma-7b': '','meta/llama2-70b': ''}