@chainfuse/types 1.7.0 → 1.7.2
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/ai-tools/index.d.ts
CHANGED
|
@@ -28,12 +28,14 @@ export declare namespace AiModels {
|
|
|
28
28
|
const Cloudflare: Readonly<CloudflareModelsEnum<"Text Generation">>;
|
|
29
29
|
const CloudflareFunctions: Readonly<CloudflareFunctionModelsEnum>;
|
|
30
30
|
enum GoogleGenerativeAi {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
gemini_flash = "google.generative-ai:gemini-
|
|
34
|
-
gemini_flash_search = "google.generative-ai:gemini-
|
|
35
|
-
gemini_pro = "google.generative-ai:gemini-
|
|
36
|
-
gemini_pro_search = "google.generative-ai:gemini-
|
|
31
|
+
gemini_flash_lite = "google.generative-ai:gemini-2.0-flash-lite",
|
|
32
|
+
gemini_flash_lite_search = "google.generative-ai:gemini-2.0-flash-lite:search",
|
|
33
|
+
gemini_flash = "google.generative-ai:gemini-2.0-flash",
|
|
34
|
+
gemini_flash_search = "google.generative-ai:gemini-2.0-flash:search",
|
|
35
|
+
gemini_pro = "google.generative-ai:gemini-2.0-pro-exp",
|
|
36
|
+
gemini_pro_search = "google.generative-ai:gemini-2.0-pro-exp:search",
|
|
37
|
+
gemini_flash_think = "google.generative-ai:gemini-2.0-flash-thinking-exp",
|
|
38
|
+
gemini_flash_think_search = "google.generative-ai:gemini-2.0-flash-thinking-exp:search"
|
|
37
39
|
}
|
|
38
40
|
enum OpenAi {
|
|
39
41
|
gpt3 = "openai:gpt-3.5-turbo",
|
package/dist/ai-tools/index.js
CHANGED
|
@@ -23,12 +23,14 @@ export var AiModels;
|
|
|
23
23
|
LanguageModels.CloudflareFunctions = Object.freeze(Object.fromEntries(enabledCloudflareLlmFunctionProviders.map((model) => [model, `workersai:${model}`])));
|
|
24
24
|
let GoogleGenerativeAi;
|
|
25
25
|
(function (GoogleGenerativeAi) {
|
|
26
|
-
GoogleGenerativeAi["
|
|
27
|
-
GoogleGenerativeAi["
|
|
28
|
-
GoogleGenerativeAi["gemini_flash"] = "google.generative-ai:gemini-
|
|
29
|
-
GoogleGenerativeAi["gemini_flash_search"] = "google.generative-ai:gemini-
|
|
30
|
-
GoogleGenerativeAi["gemini_pro"] = "google.generative-ai:gemini-
|
|
31
|
-
GoogleGenerativeAi["gemini_pro_search"] = "google.generative-ai:gemini-
|
|
26
|
+
GoogleGenerativeAi["gemini_flash_lite"] = "google.generative-ai:gemini-2.0-flash-lite";
|
|
27
|
+
GoogleGenerativeAi["gemini_flash_lite_search"] = "google.generative-ai:gemini-2.0-flash-lite:search";
|
|
28
|
+
GoogleGenerativeAi["gemini_flash"] = "google.generative-ai:gemini-2.0-flash";
|
|
29
|
+
GoogleGenerativeAi["gemini_flash_search"] = "google.generative-ai:gemini-2.0-flash:search";
|
|
30
|
+
GoogleGenerativeAi["gemini_pro"] = "google.generative-ai:gemini-2.0-pro-exp";
|
|
31
|
+
GoogleGenerativeAi["gemini_pro_search"] = "google.generative-ai:gemini-2.0-pro-exp:search";
|
|
32
|
+
GoogleGenerativeAi["gemini_flash_think"] = "google.generative-ai:gemini-2.0-flash-thinking-exp";
|
|
33
|
+
GoogleGenerativeAi["gemini_flash_think_search"] = "google.generative-ai:gemini-2.0-flash-thinking-exp:search";
|
|
32
34
|
})(GoogleGenerativeAi = LanguageModels.GoogleGenerativeAi || (LanguageModels.GoogleGenerativeAi = {}));
|
|
33
35
|
let OpenAi;
|
|
34
36
|
(function (OpenAi) {
|
|
@@ -79,10 +81,10 @@ export var AiModels;
|
|
|
79
81
|
})(TextEmbeddingModels = AiModels.TextEmbeddingModels || (AiModels.TextEmbeddingModels = {}));
|
|
80
82
|
})(AiModels || (AiModels = {}));
|
|
81
83
|
export const default_mc_generic = AiModels.LanguageModels.Azure.gpt4o_mini;
|
|
82
|
-
export const default_mc_summary = AiModels.LanguageModels.
|
|
84
|
+
export const default_mc_summary = AiModels.LanguageModels.Azure.gpt4o;
|
|
83
85
|
export const default_mc_extraction = AiModels.LanguageModels.Azure.gpt4o_mini;
|
|
84
|
-
export const default_mc_tagging = AiModels.LanguageModels.Azure.
|
|
86
|
+
export const default_mc_tagging = AiModels.LanguageModels.Azure.gpt4o;
|
|
85
87
|
export const default_mc_sentiment = AiModels.LanguageModels.Azure.gpt4o_mini;
|
|
86
|
-
export const default_mc_safety = AiModels.LanguageModels.Cloudflare['@
|
|
88
|
+
export const default_mc_safety = AiModels.LanguageModels.Cloudflare['@hf/thebloke/llamaguard-7b-awq'];
|
|
87
89
|
export const default_mc_image = AiModels.ImageModels.Cloudflare['@cf/stabilityai/stable-diffusion-xl-base-1.0'];
|
|
88
90
|
export const default_mc_embedding = AiModels.TextEmbeddingModels.Cloudflare['@cf/baai/bge-large-en-v1.5'];
|
|
@@ -227,7 +227,7 @@ export declare const workersAiCatalog: {
|
|
|
227
227
|
readonly description: "The Llama 3.2 instruction-tuned text only models are optimized for multilingual dialogue use cases, including agentic retrieval and summarization tasks.";
|
|
228
228
|
readonly tags: readonly [];
|
|
229
229
|
readonly properties: {
|
|
230
|
-
readonly context_window:
|
|
230
|
+
readonly context_window: 60000;
|
|
231
231
|
readonly terms: "https://github.com/meta-llama/llama-models/blob/main/models/llama3_2/LICENSE";
|
|
232
232
|
};
|
|
233
233
|
}, {
|
|
@@ -248,7 +248,7 @@ export const workersAiCatalog = {
|
|
|
248
248
|
description: 'The Llama 3.2 instruction-tuned text only models are optimized for multilingual dialogue use cases, including agentic retrieval and summarization tasks.',
|
|
249
249
|
tags: [],
|
|
250
250
|
properties: {
|
|
251
|
-
context_window:
|
|
251
|
+
context_window: 60000,
|
|
252
252
|
terms: 'https://github.com/meta-llama/llama-models/blob/main/models/llama3_2/LICENSE',
|
|
253
253
|
},
|
|
254
254
|
},
|
package/dist/super-ai/index.d.ts
CHANGED
|
@@ -343,7 +343,7 @@ export declare const possibilities_mc_safety: readonly [...{
|
|
|
343
343
|
readonly description: "The Llama 3.2 instruction-tuned text only models are optimized for multilingual dialogue use cases, including agentic retrieval and summarization tasks.";
|
|
344
344
|
readonly tags: readonly [];
|
|
345
345
|
readonly properties: {
|
|
346
|
-
readonly context_window:
|
|
346
|
+
readonly context_window: 60000;
|
|
347
347
|
readonly terms: "https://github.com/meta-llama/llama-models/blob/main/models/llama3_2/LICENSE";
|
|
348
348
|
};
|
|
349
349
|
}, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chainfuse/types",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "ChainFuse",
|
|
6
6
|
"homepage": "https://github.com/ChainFuse/packages/tree/main/packages/types#readme",
|
|
@@ -86,8 +86,8 @@
|
|
|
86
86
|
},
|
|
87
87
|
"prettier": "@demosjarco/prettier-config",
|
|
88
88
|
"devDependencies": {
|
|
89
|
-
"@cloudflare/workers-types": "^4.
|
|
89
|
+
"@cloudflare/workers-types": "^4.20250312.0",
|
|
90
90
|
"@types/json-schema": "^7.0.15"
|
|
91
91
|
},
|
|
92
|
-
"gitHead": "
|
|
92
|
+
"gitHead": "d79fa61a8407c01c134b9190f9f787260ba4add1"
|
|
93
93
|
}
|