Skip to content

Commit

Permalink
update to llama 3.3-70b
Browse files Browse the repository at this point in the history
  • Loading branch information
DeadlyArtist committed Dec 8, 2024
1 parent f3abfb3 commit 0929d5b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions js/chatApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class ChatApi {
static gpt4Name = "GPT-4";
static gpt3_5TurboName = "GPT-3.5 Turbo";
static llama3_1_405bName = "Llama 3.1 405b";
static llama3_1_70bName = "Llama 3.1 70b";
static llama3_3_70bName = "Llama 3.3 70b";
static llama3_1_8bName = "Llama 3.1 8b";
static claude3_5SonnetName = "Claude 3.5 Sonnet";

Expand All @@ -58,7 +58,7 @@ class ChatApi {
static gpt4Identifier = "gpt-4";
static gpt3_5TurboIdentifier = "gpt-3.5-turbo";
static llama3_1_405bIdentifier = "llama-3.1-405b-reasoning";
static llama3_1_70bIdentifier = "llama-3.1-70b-versatile";
static llama3_3_70bIdentifier = "llama-3.3-70b-versatile";
static llama3_1_8bIdentifier = "llama-3.1-8b-instant";
static claude3_5SonnetIdentifier = "claude-3-5-sonnet-20240620";

Expand All @@ -73,7 +73,7 @@ class ChatApi {
[ChatApi.gpt4Identifier]: ChatApi.gpt4Name,
[ChatApi.gpt3_5TurboIdentifier]: ChatApi.gpt3_5TurboName,
//[ChatApi.llama3_1_405bIdentifier]: ChatApi.llama3_1_405bName, // Disabled
[ChatApi.llama3_1_70bIdentifier]: ChatApi.llama3_1_70bName,
[ChatApi.llama3_3_70bIdentifier]: ChatApi.llama3_3_70bName,
[ChatApi.llama3_1_8bIdentifier]: ChatApi.llama3_1_8bName,
// [ChatApi.claude3_5SonnetIdentifier]: ChatApi.claude3_5SonnetName, // Cors
}
Expand All @@ -97,7 +97,7 @@ class ChatApi {

static groqModels = new Set([
//ChatApi.llama3_1_405bIdentifier, // Disabled
ChatApi.llama3_1_70bIdentifier,
ChatApi.llama3_3_70bIdentifier,
ChatApi.llama3_1_8bIdentifier,
]);

Expand Down
6 changes: 3 additions & 3 deletions js/workerAIPart.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,21 +41,21 @@ class ChatHelpers {
static gpt4TurboName = "GPT-4 Turbo";
static gpt4Name = "GPT-4";
static gpt3_5TurboName = "GPT-3.5 Turbo";
static llama3_1_70bName = "Llama 3.1 70b";
static llama3_3_70bName = "Llama 3.3 70b";
static llama3_1_8bName = "Llama 3.1 8b";

static gpt4OmniIdentifier = "chatgpt-4o-latest";
static gpt4OmniMiniIdentifier = "gpt-4o-mini";
static gpt4TurboIdentifier = "gpt-4-turbo";
static gpt4Identifier = "gpt-4";
static gpt3_5TurboIdentifier = "gpt-3.5-turbo";
static llama3_1_70bIdentifier = "llama-3.1-70b-versatile";
static llama3_3_70bIdentifier = "llama-3.3-70b-versatile";
static llama3_1_8bIdentifier = "llama-3.1-8b-instant";

static chatModelNames = {
[this.gpt4OmniIdentifier]: this.gpt4OmniName,
[this.gpt4OmniMiniIdentifier]: this.gpt4OmniMiniName,
[this.llama3_1_70bIdentifier]: this.llama3_1_70bName,
[this.llama3_3_70bIdentifier]: this.llama3_3_70bName,
[this.llama3_1_8bIdentifier]: this.llama3_1_8bName,
[this.gpt4TurboIdentifier]: this.gpt4TurboName,
[this.gpt4Identifier]: this.gpt4Name,
Expand Down

0 comments on commit 0929d5b

Please sign in to comment.