From 99f6df5f7445f026c92dcc9763f9aefca8ccd361 Mon Sep 17 00:00:00 2001 From: Vinay Maniam Date: Mon, 24 Feb 2025 21:42:11 +0000 Subject: [PATCH] added llama 3.3 70b and qwen2.5 coder 32b for nCompass --- gui/src/pages/AddNewModel/configs/models.ts | 17 ++++++++-- .../pages/AddNewModel/configs/providers.ts | 32 +++++++++++++++++++ 2 files changed, 47 insertions(+), 2 deletions(-) diff --git a/gui/src/pages/AddNewModel/configs/models.ts b/gui/src/pages/AddNewModel/configs/models.ts index 72303ce17..7f563f845 100644 --- a/gui/src/pages/AddNewModel/configs/models.ts +++ b/gui/src/pages/AddNewModel/configs/models.ts @@ -499,7 +499,20 @@ export const models: { [key: string]: ModelPackage } = { contextLength: 8192, }, icon: "meta.png", - providerOptions: ["groq", "scaleway", "nebius"], + providerOptions: ["groq", "scaleway", "nebius", "ncompass"], + isOpenSource: false, + }, + llama3370bChat: { + title: "Llama3.3 70b Chat", + description: "A model from Meta, fine-tuned for chat", + refUrl: "", + params: { + title: "Llama3.3-70b", + model: "llama3.3-70b", + contextLength: 65536, + }, + icon: "meta.png", + providerOptions: ["ncompass"], isOpenSource: false, }, llama3170bChat: { @@ -1374,7 +1387,7 @@ export const models: { [key: string]: ModelPackage } = { contextLength: 32_000, }, icon: "qwen.png", - providerOptions: ["scaleway", "nebius"], + providerOptions: ["scaleway", "nebius", "ncompass"], isOpenSource: true, }, grokBeta: { diff --git a/gui/src/pages/AddNewModel/configs/providers.ts b/gui/src/pages/AddNewModel/configs/providers.ts index 31c0bb2f6..38ed33400 100644 --- a/gui/src/pages/AddNewModel/configs/providers.ts +++ b/gui/src/pages/AddNewModel/configs/providers.ts @@ -409,6 +409,38 @@ Select the \`GPT-4o\` model below to complete your provider configuration, but n }), apiKeyUrl: "https://api.together.xyz/settings/api-keys", }, + ncompass: { + title: "nCompass", + provider: "ncompass", + refPage: "ncompass", + description: + "Use the nCompass API for extremely fast streaming of open-source models", + icon: "ncompass.png", + longDescription: `nCompass is an extremely fast inference engine for open-source language models. To get started, obtain an API key from [their console](https://app.ncompass.tech/api-settings).`, + tags: [ModelProviderTags.RequiresApiKey, ModelProviderTags.OpenSource], + params: { + apiKey: "", + }, + collectInputFor: [ + { + inputType: "text", + key: "apiKey", + label: "API Key", + placeholder: "Enter your nCompass API key", + required: true, + }, + ...completionParamsInputsConfigs, + ], + packages: [ + models.llama318bChat, + models.llama3370bChat, + models.Qwen25Coder32b, + ].map((p) => { + p.params.contextLength = 4096; + return p; + }), + apiKeyUrl: "https://app.ncompass.tech/api-settings", + }, novita: { title: "NovitaAI", provider: "novita",