notdiamond 1.0.10 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -30,7 +30,7 @@ const axios__default = /*#__PURE__*/_interopDefaultCompat(axios);
30
30
 
31
31
  const name = "notdiamond";
32
32
  const type = "module";
33
- const version = "1.0.9";
33
+ const version = "1.0.10";
34
34
  const author = "not-diamond";
35
35
  const license = "MIT";
36
36
  const description = "TS/JS client for the NotDiamond API";
@@ -286,7 +286,7 @@ const SupportedModel = {
286
286
  LLAMA_3_1_8B_INSTRUCT_TURBO: "Meta-Llama-3.1-8B-Instruct-Turbo",
287
287
  LLAMA_3_1_70B_INSTRUCT_TURBO: "Meta-Llama-3.1-70B-Instruct-Turbo",
288
288
  LLAMA_3_1_405B_INSTRUCT_TURBO: "Meta-Llama-3.1-405B-Instruct-Turbo",
289
- LLAMA_3_1_SONAR_LARGE_128K_ONLINE: "llama-3.1-sonar-large-128k-online",
289
+ PERPLEXITY_SONAR: "sonar",
290
290
  OPEN_MISTRAL_NEMO: "open-mistral-nemo",
291
291
  DEEPSEEK_R1: "DeepSeek-R1"
292
292
  };
@@ -342,7 +342,7 @@ const SupportedModel = {
342
342
  SupportedModel.OPEN_MISTRAL_NEMO
343
343
  ],
344
344
  [SupportedProvider.PERPLEXITY]: [
345
- SupportedModel.LLAMA_3_1_SONAR_LARGE_128K_ONLINE
345
+ SupportedModel.PERPLEXITY_SONAR
346
346
  ],
347
347
  [SupportedProvider.COHERE]: [
348
348
  SupportedModel.COMMAND_R,
package/dist/index.d.cts CHANGED
@@ -62,7 +62,7 @@ declare const SupportedModel: {
62
62
  readonly LLAMA_3_1_8B_INSTRUCT_TURBO: "Meta-Llama-3.1-8B-Instruct-Turbo";
63
63
  readonly LLAMA_3_1_70B_INSTRUCT_TURBO: "Meta-Llama-3.1-70B-Instruct-Turbo";
64
64
  readonly LLAMA_3_1_405B_INSTRUCT_TURBO: "Meta-Llama-3.1-405B-Instruct-Turbo";
65
- readonly LLAMA_3_1_SONAR_LARGE_128K_ONLINE: "llama-3.1-sonar-large-128k-online";
65
+ readonly PERPLEXITY_SONAR: "sonar";
66
66
  readonly OPEN_MISTRAL_NEMO: "open-mistral-nemo";
67
67
  readonly DEEPSEEK_R1: "DeepSeek-R1";
68
68
  };
@@ -71,7 +71,7 @@ declare const ProviderModelMap: {
71
71
  readonly anthropic: readonly ["claude-2.1", "claude-3-opus-20240229", "claude-3-sonnet-20240229", "claude-3-5-sonnet-20240620", "claude-3-5-sonnet-20241022", "claude-3-5-sonnet-latest", "claude-3-haiku-20240307", "claude-3-5-haiku-20241022"];
72
72
  readonly google: readonly ["gemini-pro", "gemini-1.0-pro-latest", "gemini-1.5-pro-latest", "gemini-1.5-pro-exp-0801", "gemini-1.5-flash-latest"];
73
73
  readonly mistral: readonly ["mistral-large-latest", "mistral-large-2407", "mistral-large-2402", "mistral-medium-latest", "mistral-small-latest", "codestral-latest", "open-mistral-7b", "open-mixtral-8x7b", "open-mixtral-8x22b", "open-mistral-nemo"];
74
- readonly perplexity: readonly ["llama-3.1-sonar-large-128k-online"];
74
+ readonly perplexity: readonly ["sonar"];
75
75
  readonly cohere: readonly ["command-r", "command-r-plus"];
76
76
  readonly togetherai: readonly ["Mistral-7B-Instruct-v0.2", "Mixtral-8x7B-Instruct-v0.1", "Mixtral-8x22B-Instruct-v0.1", "Llama-3-70b-chat-hf", "Llama-3-8b-chat-hf", "Qwen2-72B-Instruct", "Meta-Llama-3.1-8B-Instruct-Turbo", "Meta-Llama-3.1-70B-Instruct-Turbo", "Meta-Llama-3.1-405B-Instruct-Turbo", "DeepSeek-R1"];
77
77
  };
package/dist/index.d.mts CHANGED
@@ -62,7 +62,7 @@ declare const SupportedModel: {
62
62
  readonly LLAMA_3_1_8B_INSTRUCT_TURBO: "Meta-Llama-3.1-8B-Instruct-Turbo";
63
63
  readonly LLAMA_3_1_70B_INSTRUCT_TURBO: "Meta-Llama-3.1-70B-Instruct-Turbo";
64
64
  readonly LLAMA_3_1_405B_INSTRUCT_TURBO: "Meta-Llama-3.1-405B-Instruct-Turbo";
65
- readonly LLAMA_3_1_SONAR_LARGE_128K_ONLINE: "llama-3.1-sonar-large-128k-online";
65
+ readonly PERPLEXITY_SONAR: "sonar";
66
66
  readonly OPEN_MISTRAL_NEMO: "open-mistral-nemo";
67
67
  readonly DEEPSEEK_R1: "DeepSeek-R1";
68
68
  };
@@ -71,7 +71,7 @@ declare const ProviderModelMap: {
71
71
  readonly anthropic: readonly ["claude-2.1", "claude-3-opus-20240229", "claude-3-sonnet-20240229", "claude-3-5-sonnet-20240620", "claude-3-5-sonnet-20241022", "claude-3-5-sonnet-latest", "claude-3-haiku-20240307", "claude-3-5-haiku-20241022"];
72
72
  readonly google: readonly ["gemini-pro", "gemini-1.0-pro-latest", "gemini-1.5-pro-latest", "gemini-1.5-pro-exp-0801", "gemini-1.5-flash-latest"];
73
73
  readonly mistral: readonly ["mistral-large-latest", "mistral-large-2407", "mistral-large-2402", "mistral-medium-latest", "mistral-small-latest", "codestral-latest", "open-mistral-7b", "open-mixtral-8x7b", "open-mixtral-8x22b", "open-mistral-nemo"];
74
- readonly perplexity: readonly ["llama-3.1-sonar-large-128k-online"];
74
+ readonly perplexity: readonly ["sonar"];
75
75
  readonly cohere: readonly ["command-r", "command-r-plus"];
76
76
  readonly togetherai: readonly ["Mistral-7B-Instruct-v0.2", "Mixtral-8x7B-Instruct-v0.1", "Mixtral-8x22B-Instruct-v0.1", "Llama-3-70b-chat-hf", "Llama-3-8b-chat-hf", "Qwen2-72B-Instruct", "Meta-Llama-3.1-8B-Instruct-Turbo", "Meta-Llama-3.1-70B-Instruct-Turbo", "Meta-Llama-3.1-405B-Instruct-Turbo", "DeepSeek-R1"];
77
77
  };
package/dist/index.d.ts CHANGED
@@ -62,7 +62,7 @@ declare const SupportedModel: {
62
62
  readonly LLAMA_3_1_8B_INSTRUCT_TURBO: "Meta-Llama-3.1-8B-Instruct-Turbo";
63
63
  readonly LLAMA_3_1_70B_INSTRUCT_TURBO: "Meta-Llama-3.1-70B-Instruct-Turbo";
64
64
  readonly LLAMA_3_1_405B_INSTRUCT_TURBO: "Meta-Llama-3.1-405B-Instruct-Turbo";
65
- readonly LLAMA_3_1_SONAR_LARGE_128K_ONLINE: "llama-3.1-sonar-large-128k-online";
65
+ readonly PERPLEXITY_SONAR: "sonar";
66
66
  readonly OPEN_MISTRAL_NEMO: "open-mistral-nemo";
67
67
  readonly DEEPSEEK_R1: "DeepSeek-R1";
68
68
  };
@@ -71,7 +71,7 @@ declare const ProviderModelMap: {
71
71
  readonly anthropic: readonly ["claude-2.1", "claude-3-opus-20240229", "claude-3-sonnet-20240229", "claude-3-5-sonnet-20240620", "claude-3-5-sonnet-20241022", "claude-3-5-sonnet-latest", "claude-3-haiku-20240307", "claude-3-5-haiku-20241022"];
72
72
  readonly google: readonly ["gemini-pro", "gemini-1.0-pro-latest", "gemini-1.5-pro-latest", "gemini-1.5-pro-exp-0801", "gemini-1.5-flash-latest"];
73
73
  readonly mistral: readonly ["mistral-large-latest", "mistral-large-2407", "mistral-large-2402", "mistral-medium-latest", "mistral-small-latest", "codestral-latest", "open-mistral-7b", "open-mixtral-8x7b", "open-mixtral-8x22b", "open-mistral-nemo"];
74
- readonly perplexity: readonly ["llama-3.1-sonar-large-128k-online"];
74
+ readonly perplexity: readonly ["sonar"];
75
75
  readonly cohere: readonly ["command-r", "command-r-plus"];
76
76
  readonly togetherai: readonly ["Mistral-7B-Instruct-v0.2", "Mixtral-8x7B-Instruct-v0.1", "Mixtral-8x22B-Instruct-v0.1", "Llama-3-70b-chat-hf", "Llama-3-8b-chat-hf", "Qwen2-72B-Instruct", "Meta-Llama-3.1-8B-Instruct-Turbo", "Meta-Llama-3.1-70B-Instruct-Turbo", "Meta-Llama-3.1-405B-Instruct-Turbo", "DeepSeek-R1"];
77
77
  };
package/dist/index.mjs CHANGED
@@ -11,7 +11,7 @@ import { ChatTogetherAI } from '@langchain/community/chat_models/togetherai';
11
11
 
12
12
  const name = "notdiamond";
13
13
  const type = "module";
14
- const version = "1.0.9";
14
+ const version = "1.0.10";
15
15
  const author = "not-diamond";
16
16
  const license = "MIT";
17
17
  const description = "TS/JS client for the NotDiamond API";
@@ -267,7 +267,7 @@ const SupportedModel = {
267
267
  LLAMA_3_1_8B_INSTRUCT_TURBO: "Meta-Llama-3.1-8B-Instruct-Turbo",
268
268
  LLAMA_3_1_70B_INSTRUCT_TURBO: "Meta-Llama-3.1-70B-Instruct-Turbo",
269
269
  LLAMA_3_1_405B_INSTRUCT_TURBO: "Meta-Llama-3.1-405B-Instruct-Turbo",
270
- LLAMA_3_1_SONAR_LARGE_128K_ONLINE: "llama-3.1-sonar-large-128k-online",
270
+ PERPLEXITY_SONAR: "sonar",
271
271
  OPEN_MISTRAL_NEMO: "open-mistral-nemo",
272
272
  DEEPSEEK_R1: "DeepSeek-R1"
273
273
  };
@@ -323,7 +323,7 @@ const SupportedModel = {
323
323
  SupportedModel.OPEN_MISTRAL_NEMO
324
324
  ],
325
325
  [SupportedProvider.PERPLEXITY]: [
326
- SupportedModel.LLAMA_3_1_SONAR_LARGE_128K_ONLINE
326
+ SupportedModel.PERPLEXITY_SONAR
327
327
  ],
328
328
  [SupportedProvider.COHERE]: [
329
329
  SupportedModel.COMMAND_R,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "notdiamond",
3
3
  "type": "module",
4
- "version": "1.0.10",
4
+ "version": "1.1.0",
5
5
  "author": "not-diamond",
6
6
  "license": "MIT",
7
7
  "description": "TS/JS client for the NotDiamond API",