@abhishek944/pi-embeddings 0.5.0 → 0.6.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/README.md +26 -5
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/providers.d.ts +17 -1
- package/dist/providers.js +435 -18
- package/dist/response.d.ts +23 -0
- package/dist/response.js +115 -0
- package/dist/schemas.d.ts +846 -23
- package/dist/schemas.js +203 -2
- package/dist/settings.js +20 -2
- package/dist/tool-contracts.d.ts +387 -9
- package/package.json +8 -3
- package/src/index.ts +29 -0
- package/src/providers.ts +519 -14
- package/src/response.ts +152 -0
- package/src/schemas.ts +265 -2
- package/src/settings.ts +26 -1
package/dist/tool-contracts.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export declare const embedCompareParameters: import("typebox").TObject<{
|
|
|
10
10
|
}>;
|
|
11
11
|
export declare const embedOutput: import("typebox").TObject<{
|
|
12
12
|
schemaVersion: import("typebox").TLiteral<2>;
|
|
13
|
-
provider: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TLiteral<"local">, import("typebox").TLiteral<"openai">, import("typebox").TLiteral<"sarvam">, import("typebox").TLiteral<"gateway">, import("typebox").TLiteral<"openrouter">, import("typebox").TLiteral<"cloudflare">, import("typebox").TLiteral<"gemini">, import("typebox").TLiteral<"vertex">, import("typebox").TLiteral<"opencode">, import("typebox").TLiteral<"opencode-go">]>, import("typebox").TNull]>;
|
|
13
|
+
provider: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TLiteral<"local">, import("typebox").TLiteral<"openai">, import("typebox").TLiteral<"sarvam">, import("typebox").TLiteral<"gateway">, import("typebox").TLiteral<"openrouter">, import("typebox").TLiteral<"cloudflare">, import("typebox").TLiteral<"gemini">, import("typebox").TLiteral<"vertex">, import("typebox").TLiteral<"opencode">, import("typebox").TLiteral<"opencode-go">, import("typebox").TLiteral<"voyage">, import("typebox").TLiteral<"cohere">, import("typebox").TLiteral<"jina">, import("typebox").TLiteral<"dashscope">, import("typebox").TLiteral<"hetzner">]>, import("typebox").TNull]>;
|
|
14
14
|
model: import("typebox").TUnion<[import("typebox").TString, import("typebox").TNull]>;
|
|
15
15
|
space: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TObject<{
|
|
16
16
|
provider: import("typebox").TLiteral<"local">;
|
|
@@ -32,6 +32,69 @@ export declare const embedOutput: import("typebox").TObject<{
|
|
|
32
32
|
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
33
33
|
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
34
34
|
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
35
|
+
}>, import("typebox").TObject<{
|
|
36
|
+
provider: import("typebox").TLiteral<"openai">;
|
|
37
|
+
model: import("typebox").TLiteral<"text-embedding-3-large">;
|
|
38
|
+
revision: import("typebox").TNull;
|
|
39
|
+
quantization: import("typebox").TNull;
|
|
40
|
+
runtime: import("typebox").TNull;
|
|
41
|
+
dimensions: import("typebox").TLiteral<3072>;
|
|
42
|
+
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
43
|
+
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
44
|
+
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
45
|
+
}>, import("typebox").TObject<{
|
|
46
|
+
provider: import("typebox").TLiteral<"voyage">;
|
|
47
|
+
model: import("typebox").TUnion<[import("typebox").TLiteral<"voyage-4-large">, import("typebox").TLiteral<"voyage-4">, import("typebox").TLiteral<"voyage-4-lite">, import("typebox").TLiteral<"voyage-code-4">]>;
|
|
48
|
+
revision: import("typebox").TNull;
|
|
49
|
+
quantization: import("typebox").TNull;
|
|
50
|
+
runtime: import("typebox").TLiteral<"voyage-api-v1">;
|
|
51
|
+
dimensions: import("typebox").TUnion<[import("typebox").TLiteral<256>, import("typebox").TLiteral<512>, import("typebox").TLiteral<1024>, import("typebox").TLiteral<2048>]>;
|
|
52
|
+
inputType: import("typebox").TLiteral<"document">;
|
|
53
|
+
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
54
|
+
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
55
|
+
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
56
|
+
}>, import("typebox").TObject<{
|
|
57
|
+
provider: import("typebox").TLiteral<"cohere">;
|
|
58
|
+
model: import("typebox").TUnion<[import("typebox").TLiteral<"embed-v5.0-pro">, import("typebox").TLiteral<"embed-v5.0-fast">]>;
|
|
59
|
+
revision: import("typebox").TNull;
|
|
60
|
+
quantization: import("typebox").TNull;
|
|
61
|
+
runtime: import("typebox").TLiteral<"cohere-api-v2">;
|
|
62
|
+
dimensions: import("typebox").TUnion<[import("typebox").TLiteral<256>, import("typebox").TLiteral<512>, import("typebox").TLiteral<768>, import("typebox").TLiteral<1024>, import("typebox").TLiteral<1536>, import("typebox").TLiteral<2048>]>;
|
|
63
|
+
inputType: import("typebox").TLiteral<"search_document">;
|
|
64
|
+
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
65
|
+
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
66
|
+
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
67
|
+
}>, import("typebox").TObject<{
|
|
68
|
+
provider: import("typebox").TLiteral<"jina">;
|
|
69
|
+
model: import("typebox").TUnion<[import("typebox").TLiteral<"jina-embeddings-v5-text-small">, import("typebox").TLiteral<"jina-embeddings-v5-text-nano">]>;
|
|
70
|
+
revision: import("typebox").TNull;
|
|
71
|
+
quantization: import("typebox").TNull;
|
|
72
|
+
runtime: import("typebox").TLiteral<"jina-api-v1">;
|
|
73
|
+
dimensions: import("typebox").TInteger;
|
|
74
|
+
task: import("typebox").TLiteral<"retrieval.passage">;
|
|
75
|
+
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
76
|
+
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
77
|
+
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
78
|
+
}>, import("typebox").TObject<{
|
|
79
|
+
provider: import("typebox").TLiteral<"dashscope">;
|
|
80
|
+
model: import("typebox").TLiteral<"qwen3.7-text-embedding">;
|
|
81
|
+
revision: import("typebox").TNull;
|
|
82
|
+
quantization: import("typebox").TNull;
|
|
83
|
+
runtime: import("typebox").TLiteral<"dashscope-compatible-mode-v1">;
|
|
84
|
+
dimensions: import("typebox").TUnion<[import("typebox").TLiteral<64>, import("typebox").TLiteral<128>, import("typebox").TLiteral<256>, import("typebox").TLiteral<512>, import("typebox").TLiteral<768>, import("typebox").TLiteral<1024>, import("typebox").TLiteral<2560>]>;
|
|
85
|
+
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
86
|
+
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
87
|
+
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
88
|
+
}>, import("typebox").TObject<{
|
|
89
|
+
provider: import("typebox").TLiteral<"hetzner">;
|
|
90
|
+
model: import("typebox").TLiteral<"BAAI/bge-m3">;
|
|
91
|
+
revision: import("typebox").TNull;
|
|
92
|
+
quantization: import("typebox").TNull;
|
|
93
|
+
runtime: import("typebox").TLiteral<"hetzner-inference-v1">;
|
|
94
|
+
dimensions: import("typebox").TLiteral<1024>;
|
|
95
|
+
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
96
|
+
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
97
|
+
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
35
98
|
}>, import("typebox").TObject<{
|
|
36
99
|
provider: import("typebox").TLiteral<"sarvam">;
|
|
37
100
|
model: import("typebox").TLiteral<"embeddinggemma-2">;
|
|
@@ -97,7 +160,7 @@ export declare const embedOutput: import("typebox").TObject<{
|
|
|
97
160
|
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
98
161
|
}>]>, import("typebox").TNull]>;
|
|
99
162
|
generations: import("typebox").TArray<import("typebox").TObject<{
|
|
100
|
-
provider: import("typebox").TUnion<[import("typebox").TLiteral<"local">, import("typebox").TLiteral<"openai">, import("typebox").TLiteral<"sarvam">, import("typebox").TLiteral<"gateway">, import("typebox").TLiteral<"openrouter">, import("typebox").TLiteral<"cloudflare">, import("typebox").TLiteral<"gemini">, import("typebox").TLiteral<"vertex">, import("typebox").TLiteral<"opencode">, import("typebox").TLiteral<"opencode-go">]>;
|
|
163
|
+
provider: import("typebox").TUnion<[import("typebox").TLiteral<"local">, import("typebox").TLiteral<"openai">, import("typebox").TLiteral<"sarvam">, import("typebox").TLiteral<"gateway">, import("typebox").TLiteral<"openrouter">, import("typebox").TLiteral<"cloudflare">, import("typebox").TLiteral<"gemini">, import("typebox").TLiteral<"vertex">, import("typebox").TLiteral<"opencode">, import("typebox").TLiteral<"opencode-go">, import("typebox").TLiteral<"voyage">, import("typebox").TLiteral<"cohere">, import("typebox").TLiteral<"jina">, import("typebox").TLiteral<"dashscope">, import("typebox").TLiteral<"hetzner">]>;
|
|
101
164
|
model: import("typebox").TString;
|
|
102
165
|
space: import("typebox").TUnion<[import("typebox").TObject<{
|
|
103
166
|
provider: import("typebox").TLiteral<"local">;
|
|
@@ -119,6 +182,69 @@ export declare const embedOutput: import("typebox").TObject<{
|
|
|
119
182
|
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
120
183
|
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
121
184
|
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
185
|
+
}>, import("typebox").TObject<{
|
|
186
|
+
provider: import("typebox").TLiteral<"openai">;
|
|
187
|
+
model: import("typebox").TLiteral<"text-embedding-3-large">;
|
|
188
|
+
revision: import("typebox").TNull;
|
|
189
|
+
quantization: import("typebox").TNull;
|
|
190
|
+
runtime: import("typebox").TNull;
|
|
191
|
+
dimensions: import("typebox").TLiteral<3072>;
|
|
192
|
+
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
193
|
+
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
194
|
+
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
195
|
+
}>, import("typebox").TObject<{
|
|
196
|
+
provider: import("typebox").TLiteral<"voyage">;
|
|
197
|
+
model: import("typebox").TUnion<[import("typebox").TLiteral<"voyage-4-large">, import("typebox").TLiteral<"voyage-4">, import("typebox").TLiteral<"voyage-4-lite">, import("typebox").TLiteral<"voyage-code-4">]>;
|
|
198
|
+
revision: import("typebox").TNull;
|
|
199
|
+
quantization: import("typebox").TNull;
|
|
200
|
+
runtime: import("typebox").TLiteral<"voyage-api-v1">;
|
|
201
|
+
dimensions: import("typebox").TUnion<[import("typebox").TLiteral<256>, import("typebox").TLiteral<512>, import("typebox").TLiteral<1024>, import("typebox").TLiteral<2048>]>;
|
|
202
|
+
inputType: import("typebox").TLiteral<"document">;
|
|
203
|
+
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
204
|
+
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
205
|
+
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
206
|
+
}>, import("typebox").TObject<{
|
|
207
|
+
provider: import("typebox").TLiteral<"cohere">;
|
|
208
|
+
model: import("typebox").TUnion<[import("typebox").TLiteral<"embed-v5.0-pro">, import("typebox").TLiteral<"embed-v5.0-fast">]>;
|
|
209
|
+
revision: import("typebox").TNull;
|
|
210
|
+
quantization: import("typebox").TNull;
|
|
211
|
+
runtime: import("typebox").TLiteral<"cohere-api-v2">;
|
|
212
|
+
dimensions: import("typebox").TUnion<[import("typebox").TLiteral<256>, import("typebox").TLiteral<512>, import("typebox").TLiteral<768>, import("typebox").TLiteral<1024>, import("typebox").TLiteral<1536>, import("typebox").TLiteral<2048>]>;
|
|
213
|
+
inputType: import("typebox").TLiteral<"search_document">;
|
|
214
|
+
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
215
|
+
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
216
|
+
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
217
|
+
}>, import("typebox").TObject<{
|
|
218
|
+
provider: import("typebox").TLiteral<"jina">;
|
|
219
|
+
model: import("typebox").TUnion<[import("typebox").TLiteral<"jina-embeddings-v5-text-small">, import("typebox").TLiteral<"jina-embeddings-v5-text-nano">]>;
|
|
220
|
+
revision: import("typebox").TNull;
|
|
221
|
+
quantization: import("typebox").TNull;
|
|
222
|
+
runtime: import("typebox").TLiteral<"jina-api-v1">;
|
|
223
|
+
dimensions: import("typebox").TInteger;
|
|
224
|
+
task: import("typebox").TLiteral<"retrieval.passage">;
|
|
225
|
+
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
226
|
+
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
227
|
+
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
228
|
+
}>, import("typebox").TObject<{
|
|
229
|
+
provider: import("typebox").TLiteral<"dashscope">;
|
|
230
|
+
model: import("typebox").TLiteral<"qwen3.7-text-embedding">;
|
|
231
|
+
revision: import("typebox").TNull;
|
|
232
|
+
quantization: import("typebox").TNull;
|
|
233
|
+
runtime: import("typebox").TLiteral<"dashscope-compatible-mode-v1">;
|
|
234
|
+
dimensions: import("typebox").TUnion<[import("typebox").TLiteral<64>, import("typebox").TLiteral<128>, import("typebox").TLiteral<256>, import("typebox").TLiteral<512>, import("typebox").TLiteral<768>, import("typebox").TLiteral<1024>, import("typebox").TLiteral<2560>]>;
|
|
235
|
+
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
236
|
+
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
237
|
+
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
238
|
+
}>, import("typebox").TObject<{
|
|
239
|
+
provider: import("typebox").TLiteral<"hetzner">;
|
|
240
|
+
model: import("typebox").TLiteral<"BAAI/bge-m3">;
|
|
241
|
+
revision: import("typebox").TNull;
|
|
242
|
+
quantization: import("typebox").TNull;
|
|
243
|
+
runtime: import("typebox").TLiteral<"hetzner-inference-v1">;
|
|
244
|
+
dimensions: import("typebox").TLiteral<1024>;
|
|
245
|
+
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
246
|
+
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
247
|
+
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
122
248
|
}>, import("typebox").TObject<{
|
|
123
249
|
provider: import("typebox").TLiteral<"sarvam">;
|
|
124
250
|
model: import("typebox").TLiteral<"embeddinggemma-2">;
|
|
@@ -188,7 +314,7 @@ export declare const embedOutput: import("typebox").TObject<{
|
|
|
188
314
|
status: import("typebox").TLiteral<"success">;
|
|
189
315
|
index: import("typebox").TInteger;
|
|
190
316
|
vector: import("typebox").TArray<import("typebox").TNumber>;
|
|
191
|
-
route: import("typebox").TUnion<[import("typebox").TLiteral<"local">, import("typebox").TLiteral<"openai">, import("typebox").TLiteral<"sarvam">, import("typebox").TLiteral<"gateway">, import("typebox").TLiteral<"openrouter">, import("typebox").TLiteral<"cloudflare">, import("typebox").TLiteral<"gemini">, import("typebox").TLiteral<"vertex">, import("typebox").TLiteral<"opencode">, import("typebox").TLiteral<"opencode-go">]>;
|
|
317
|
+
route: import("typebox").TUnion<[import("typebox").TLiteral<"local">, import("typebox").TLiteral<"openai">, import("typebox").TLiteral<"sarvam">, import("typebox").TLiteral<"gateway">, import("typebox").TLiteral<"openrouter">, import("typebox").TLiteral<"cloudflare">, import("typebox").TLiteral<"gemini">, import("typebox").TLiteral<"vertex">, import("typebox").TLiteral<"opencode">, import("typebox").TLiteral<"opencode-go">, import("typebox").TLiteral<"voyage">, import("typebox").TLiteral<"cohere">, import("typebox").TLiteral<"jina">, import("typebox").TLiteral<"dashscope">, import("typebox").TLiteral<"hetzner">]>;
|
|
192
318
|
model: import("typebox").TString;
|
|
193
319
|
space: import("typebox").TUnion<[import("typebox").TObject<{
|
|
194
320
|
provider: import("typebox").TLiteral<"local">;
|
|
@@ -210,6 +336,69 @@ export declare const embedOutput: import("typebox").TObject<{
|
|
|
210
336
|
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
211
337
|
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
212
338
|
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
339
|
+
}>, import("typebox").TObject<{
|
|
340
|
+
provider: import("typebox").TLiteral<"openai">;
|
|
341
|
+
model: import("typebox").TLiteral<"text-embedding-3-large">;
|
|
342
|
+
revision: import("typebox").TNull;
|
|
343
|
+
quantization: import("typebox").TNull;
|
|
344
|
+
runtime: import("typebox").TNull;
|
|
345
|
+
dimensions: import("typebox").TLiteral<3072>;
|
|
346
|
+
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
347
|
+
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
348
|
+
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
349
|
+
}>, import("typebox").TObject<{
|
|
350
|
+
provider: import("typebox").TLiteral<"voyage">;
|
|
351
|
+
model: import("typebox").TUnion<[import("typebox").TLiteral<"voyage-4-large">, import("typebox").TLiteral<"voyage-4">, import("typebox").TLiteral<"voyage-4-lite">, import("typebox").TLiteral<"voyage-code-4">]>;
|
|
352
|
+
revision: import("typebox").TNull;
|
|
353
|
+
quantization: import("typebox").TNull;
|
|
354
|
+
runtime: import("typebox").TLiteral<"voyage-api-v1">;
|
|
355
|
+
dimensions: import("typebox").TUnion<[import("typebox").TLiteral<256>, import("typebox").TLiteral<512>, import("typebox").TLiteral<1024>, import("typebox").TLiteral<2048>]>;
|
|
356
|
+
inputType: import("typebox").TLiteral<"document">;
|
|
357
|
+
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
358
|
+
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
359
|
+
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
360
|
+
}>, import("typebox").TObject<{
|
|
361
|
+
provider: import("typebox").TLiteral<"cohere">;
|
|
362
|
+
model: import("typebox").TUnion<[import("typebox").TLiteral<"embed-v5.0-pro">, import("typebox").TLiteral<"embed-v5.0-fast">]>;
|
|
363
|
+
revision: import("typebox").TNull;
|
|
364
|
+
quantization: import("typebox").TNull;
|
|
365
|
+
runtime: import("typebox").TLiteral<"cohere-api-v2">;
|
|
366
|
+
dimensions: import("typebox").TUnion<[import("typebox").TLiteral<256>, import("typebox").TLiteral<512>, import("typebox").TLiteral<768>, import("typebox").TLiteral<1024>, import("typebox").TLiteral<1536>, import("typebox").TLiteral<2048>]>;
|
|
367
|
+
inputType: import("typebox").TLiteral<"search_document">;
|
|
368
|
+
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
369
|
+
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
370
|
+
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
371
|
+
}>, import("typebox").TObject<{
|
|
372
|
+
provider: import("typebox").TLiteral<"jina">;
|
|
373
|
+
model: import("typebox").TUnion<[import("typebox").TLiteral<"jina-embeddings-v5-text-small">, import("typebox").TLiteral<"jina-embeddings-v5-text-nano">]>;
|
|
374
|
+
revision: import("typebox").TNull;
|
|
375
|
+
quantization: import("typebox").TNull;
|
|
376
|
+
runtime: import("typebox").TLiteral<"jina-api-v1">;
|
|
377
|
+
dimensions: import("typebox").TInteger;
|
|
378
|
+
task: import("typebox").TLiteral<"retrieval.passage">;
|
|
379
|
+
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
380
|
+
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
381
|
+
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
382
|
+
}>, import("typebox").TObject<{
|
|
383
|
+
provider: import("typebox").TLiteral<"dashscope">;
|
|
384
|
+
model: import("typebox").TLiteral<"qwen3.7-text-embedding">;
|
|
385
|
+
revision: import("typebox").TNull;
|
|
386
|
+
quantization: import("typebox").TNull;
|
|
387
|
+
runtime: import("typebox").TLiteral<"dashscope-compatible-mode-v1">;
|
|
388
|
+
dimensions: import("typebox").TUnion<[import("typebox").TLiteral<64>, import("typebox").TLiteral<128>, import("typebox").TLiteral<256>, import("typebox").TLiteral<512>, import("typebox").TLiteral<768>, import("typebox").TLiteral<1024>, import("typebox").TLiteral<2560>]>;
|
|
389
|
+
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
390
|
+
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
391
|
+
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
392
|
+
}>, import("typebox").TObject<{
|
|
393
|
+
provider: import("typebox").TLiteral<"hetzner">;
|
|
394
|
+
model: import("typebox").TLiteral<"BAAI/bge-m3">;
|
|
395
|
+
revision: import("typebox").TNull;
|
|
396
|
+
quantization: import("typebox").TNull;
|
|
397
|
+
runtime: import("typebox").TLiteral<"hetzner-inference-v1">;
|
|
398
|
+
dimensions: import("typebox").TLiteral<1024>;
|
|
399
|
+
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
400
|
+
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
401
|
+
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
213
402
|
}>, import("typebox").TObject<{
|
|
214
403
|
provider: import("typebox").TLiteral<"sarvam">;
|
|
215
404
|
model: import("typebox").TLiteral<"embeddinggemma-2">;
|
|
@@ -284,7 +473,7 @@ export declare const embedOutput: import("typebox").TObject<{
|
|
|
284
473
|
}>]>>;
|
|
285
474
|
attempts: import("typebox").TArray<import("typebox").TObject<{
|
|
286
475
|
id: import("typebox").TString;
|
|
287
|
-
route: import("typebox").TUnion<[import("typebox").TLiteral<"local">, import("typebox").TLiteral<"openai">, import("typebox").TLiteral<"sarvam">, import("typebox").TLiteral<"gateway">, import("typebox").TLiteral<"openrouter">, import("typebox").TLiteral<"cloudflare">, import("typebox").TLiteral<"gemini">, import("typebox").TLiteral<"vertex">, import("typebox").TLiteral<"opencode">, import("typebox").TLiteral<"opencode-go">]>;
|
|
476
|
+
route: import("typebox").TUnion<[import("typebox").TLiteral<"local">, import("typebox").TLiteral<"openai">, import("typebox").TLiteral<"sarvam">, import("typebox").TLiteral<"gateway">, import("typebox").TLiteral<"openrouter">, import("typebox").TLiteral<"cloudflare">, import("typebox").TLiteral<"gemini">, import("typebox").TLiteral<"vertex">, import("typebox").TLiteral<"opencode">, import("typebox").TLiteral<"opencode-go">, import("typebox").TLiteral<"voyage">, import("typebox").TLiteral<"cohere">, import("typebox").TLiteral<"jina">, import("typebox").TLiteral<"dashscope">, import("typebox").TLiteral<"hetzner">]>;
|
|
288
477
|
model: import("typebox").TString;
|
|
289
478
|
routeIndex: import("typebox").TInteger;
|
|
290
479
|
status: import("typebox").TUnion<[import("typebox").TLiteral<"success">, import("typebox").TLiteral<"error">, import("typebox").TLiteral<"cancelled">]>;
|
|
@@ -299,12 +488,12 @@ export declare const embedOutput: import("typebox").TObject<{
|
|
|
299
488
|
export declare const embedCompareOutput: import("typebox").TObject<{
|
|
300
489
|
schemaVersion: import("typebox").TLiteral<2>;
|
|
301
490
|
entries: import("typebox").TArray<import("typebox").TObject<{
|
|
302
|
-
route: import("typebox").TUnion<[import("typebox").TLiteral<"local">, import("typebox").TLiteral<"openai">, import("typebox").TLiteral<"sarvam">, import("typebox").TLiteral<"gateway">, import("typebox").TLiteral<"openrouter">, import("typebox").TLiteral<"cloudflare">, import("typebox").TLiteral<"gemini">, import("typebox").TLiteral<"vertex">, import("typebox").TLiteral<"opencode">, import("typebox").TLiteral<"opencode-go">]>;
|
|
491
|
+
route: import("typebox").TUnion<[import("typebox").TLiteral<"local">, import("typebox").TLiteral<"openai">, import("typebox").TLiteral<"sarvam">, import("typebox").TLiteral<"gateway">, import("typebox").TLiteral<"openrouter">, import("typebox").TLiteral<"cloudflare">, import("typebox").TLiteral<"gemini">, import("typebox").TLiteral<"vertex">, import("typebox").TLiteral<"opencode">, import("typebox").TLiteral<"opencode-go">, import("typebox").TLiteral<"voyage">, import("typebox").TLiteral<"cohere">, import("typebox").TLiteral<"jina">, import("typebox").TLiteral<"dashscope">, import("typebox").TLiteral<"hetzner">]>;
|
|
303
492
|
model: import("typebox").TString;
|
|
304
493
|
status: import("typebox").TUnion<[import("typebox").TLiteral<"success">, import("typebox").TLiteral<"error">, import("typebox").TLiteral<"cancelled">]>;
|
|
305
494
|
result: import("typebox").TObject<{
|
|
306
495
|
schemaVersion: import("typebox").TLiteral<2>;
|
|
307
|
-
provider: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TLiteral<"local">, import("typebox").TLiteral<"openai">, import("typebox").TLiteral<"sarvam">, import("typebox").TLiteral<"gateway">, import("typebox").TLiteral<"openrouter">, import("typebox").TLiteral<"cloudflare">, import("typebox").TLiteral<"gemini">, import("typebox").TLiteral<"vertex">, import("typebox").TLiteral<"opencode">, import("typebox").TLiteral<"opencode-go">]>, import("typebox").TNull]>;
|
|
496
|
+
provider: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TLiteral<"local">, import("typebox").TLiteral<"openai">, import("typebox").TLiteral<"sarvam">, import("typebox").TLiteral<"gateway">, import("typebox").TLiteral<"openrouter">, import("typebox").TLiteral<"cloudflare">, import("typebox").TLiteral<"gemini">, import("typebox").TLiteral<"vertex">, import("typebox").TLiteral<"opencode">, import("typebox").TLiteral<"opencode-go">, import("typebox").TLiteral<"voyage">, import("typebox").TLiteral<"cohere">, import("typebox").TLiteral<"jina">, import("typebox").TLiteral<"dashscope">, import("typebox").TLiteral<"hetzner">]>, import("typebox").TNull]>;
|
|
308
497
|
model: import("typebox").TUnion<[import("typebox").TString, import("typebox").TNull]>;
|
|
309
498
|
space: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TObject<{
|
|
310
499
|
provider: import("typebox").TLiteral<"local">;
|
|
@@ -326,6 +515,69 @@ export declare const embedCompareOutput: import("typebox").TObject<{
|
|
|
326
515
|
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
327
516
|
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
328
517
|
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
518
|
+
}>, import("typebox").TObject<{
|
|
519
|
+
provider: import("typebox").TLiteral<"openai">;
|
|
520
|
+
model: import("typebox").TLiteral<"text-embedding-3-large">;
|
|
521
|
+
revision: import("typebox").TNull;
|
|
522
|
+
quantization: import("typebox").TNull;
|
|
523
|
+
runtime: import("typebox").TNull;
|
|
524
|
+
dimensions: import("typebox").TLiteral<3072>;
|
|
525
|
+
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
526
|
+
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
527
|
+
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
528
|
+
}>, import("typebox").TObject<{
|
|
529
|
+
provider: import("typebox").TLiteral<"voyage">;
|
|
530
|
+
model: import("typebox").TUnion<[import("typebox").TLiteral<"voyage-4-large">, import("typebox").TLiteral<"voyage-4">, import("typebox").TLiteral<"voyage-4-lite">, import("typebox").TLiteral<"voyage-code-4">]>;
|
|
531
|
+
revision: import("typebox").TNull;
|
|
532
|
+
quantization: import("typebox").TNull;
|
|
533
|
+
runtime: import("typebox").TLiteral<"voyage-api-v1">;
|
|
534
|
+
dimensions: import("typebox").TUnion<[import("typebox").TLiteral<256>, import("typebox").TLiteral<512>, import("typebox").TLiteral<1024>, import("typebox").TLiteral<2048>]>;
|
|
535
|
+
inputType: import("typebox").TLiteral<"document">;
|
|
536
|
+
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
537
|
+
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
538
|
+
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
539
|
+
}>, import("typebox").TObject<{
|
|
540
|
+
provider: import("typebox").TLiteral<"cohere">;
|
|
541
|
+
model: import("typebox").TUnion<[import("typebox").TLiteral<"embed-v5.0-pro">, import("typebox").TLiteral<"embed-v5.0-fast">]>;
|
|
542
|
+
revision: import("typebox").TNull;
|
|
543
|
+
quantization: import("typebox").TNull;
|
|
544
|
+
runtime: import("typebox").TLiteral<"cohere-api-v2">;
|
|
545
|
+
dimensions: import("typebox").TUnion<[import("typebox").TLiteral<256>, import("typebox").TLiteral<512>, import("typebox").TLiteral<768>, import("typebox").TLiteral<1024>, import("typebox").TLiteral<1536>, import("typebox").TLiteral<2048>]>;
|
|
546
|
+
inputType: import("typebox").TLiteral<"search_document">;
|
|
547
|
+
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
548
|
+
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
549
|
+
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
550
|
+
}>, import("typebox").TObject<{
|
|
551
|
+
provider: import("typebox").TLiteral<"jina">;
|
|
552
|
+
model: import("typebox").TUnion<[import("typebox").TLiteral<"jina-embeddings-v5-text-small">, import("typebox").TLiteral<"jina-embeddings-v5-text-nano">]>;
|
|
553
|
+
revision: import("typebox").TNull;
|
|
554
|
+
quantization: import("typebox").TNull;
|
|
555
|
+
runtime: import("typebox").TLiteral<"jina-api-v1">;
|
|
556
|
+
dimensions: import("typebox").TInteger;
|
|
557
|
+
task: import("typebox").TLiteral<"retrieval.passage">;
|
|
558
|
+
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
559
|
+
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
560
|
+
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
561
|
+
}>, import("typebox").TObject<{
|
|
562
|
+
provider: import("typebox").TLiteral<"dashscope">;
|
|
563
|
+
model: import("typebox").TLiteral<"qwen3.7-text-embedding">;
|
|
564
|
+
revision: import("typebox").TNull;
|
|
565
|
+
quantization: import("typebox").TNull;
|
|
566
|
+
runtime: import("typebox").TLiteral<"dashscope-compatible-mode-v1">;
|
|
567
|
+
dimensions: import("typebox").TUnion<[import("typebox").TLiteral<64>, import("typebox").TLiteral<128>, import("typebox").TLiteral<256>, import("typebox").TLiteral<512>, import("typebox").TLiteral<768>, import("typebox").TLiteral<1024>, import("typebox").TLiteral<2560>]>;
|
|
568
|
+
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
569
|
+
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
570
|
+
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
571
|
+
}>, import("typebox").TObject<{
|
|
572
|
+
provider: import("typebox").TLiteral<"hetzner">;
|
|
573
|
+
model: import("typebox").TLiteral<"BAAI/bge-m3">;
|
|
574
|
+
revision: import("typebox").TNull;
|
|
575
|
+
quantization: import("typebox").TNull;
|
|
576
|
+
runtime: import("typebox").TLiteral<"hetzner-inference-v1">;
|
|
577
|
+
dimensions: import("typebox").TLiteral<1024>;
|
|
578
|
+
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
579
|
+
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
580
|
+
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
329
581
|
}>, import("typebox").TObject<{
|
|
330
582
|
provider: import("typebox").TLiteral<"sarvam">;
|
|
331
583
|
model: import("typebox").TLiteral<"embeddinggemma-2">;
|
|
@@ -391,7 +643,7 @@ export declare const embedCompareOutput: import("typebox").TObject<{
|
|
|
391
643
|
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
392
644
|
}>]>, import("typebox").TNull]>;
|
|
393
645
|
generations: import("typebox").TArray<import("typebox").TObject<{
|
|
394
|
-
provider: import("typebox").TUnion<[import("typebox").TLiteral<"local">, import("typebox").TLiteral<"openai">, import("typebox").TLiteral<"sarvam">, import("typebox").TLiteral<"gateway">, import("typebox").TLiteral<"openrouter">, import("typebox").TLiteral<"cloudflare">, import("typebox").TLiteral<"gemini">, import("typebox").TLiteral<"vertex">, import("typebox").TLiteral<"opencode">, import("typebox").TLiteral<"opencode-go">]>;
|
|
646
|
+
provider: import("typebox").TUnion<[import("typebox").TLiteral<"local">, import("typebox").TLiteral<"openai">, import("typebox").TLiteral<"sarvam">, import("typebox").TLiteral<"gateway">, import("typebox").TLiteral<"openrouter">, import("typebox").TLiteral<"cloudflare">, import("typebox").TLiteral<"gemini">, import("typebox").TLiteral<"vertex">, import("typebox").TLiteral<"opencode">, import("typebox").TLiteral<"opencode-go">, import("typebox").TLiteral<"voyage">, import("typebox").TLiteral<"cohere">, import("typebox").TLiteral<"jina">, import("typebox").TLiteral<"dashscope">, import("typebox").TLiteral<"hetzner">]>;
|
|
395
647
|
model: import("typebox").TString;
|
|
396
648
|
space: import("typebox").TUnion<[import("typebox").TObject<{
|
|
397
649
|
provider: import("typebox").TLiteral<"local">;
|
|
@@ -413,6 +665,69 @@ export declare const embedCompareOutput: import("typebox").TObject<{
|
|
|
413
665
|
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
414
666
|
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
415
667
|
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
668
|
+
}>, import("typebox").TObject<{
|
|
669
|
+
provider: import("typebox").TLiteral<"openai">;
|
|
670
|
+
model: import("typebox").TLiteral<"text-embedding-3-large">;
|
|
671
|
+
revision: import("typebox").TNull;
|
|
672
|
+
quantization: import("typebox").TNull;
|
|
673
|
+
runtime: import("typebox").TNull;
|
|
674
|
+
dimensions: import("typebox").TLiteral<3072>;
|
|
675
|
+
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
676
|
+
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
677
|
+
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
678
|
+
}>, import("typebox").TObject<{
|
|
679
|
+
provider: import("typebox").TLiteral<"voyage">;
|
|
680
|
+
model: import("typebox").TUnion<[import("typebox").TLiteral<"voyage-4-large">, import("typebox").TLiteral<"voyage-4">, import("typebox").TLiteral<"voyage-4-lite">, import("typebox").TLiteral<"voyage-code-4">]>;
|
|
681
|
+
revision: import("typebox").TNull;
|
|
682
|
+
quantization: import("typebox").TNull;
|
|
683
|
+
runtime: import("typebox").TLiteral<"voyage-api-v1">;
|
|
684
|
+
dimensions: import("typebox").TUnion<[import("typebox").TLiteral<256>, import("typebox").TLiteral<512>, import("typebox").TLiteral<1024>, import("typebox").TLiteral<2048>]>;
|
|
685
|
+
inputType: import("typebox").TLiteral<"document">;
|
|
686
|
+
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
687
|
+
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
688
|
+
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
689
|
+
}>, import("typebox").TObject<{
|
|
690
|
+
provider: import("typebox").TLiteral<"cohere">;
|
|
691
|
+
model: import("typebox").TUnion<[import("typebox").TLiteral<"embed-v5.0-pro">, import("typebox").TLiteral<"embed-v5.0-fast">]>;
|
|
692
|
+
revision: import("typebox").TNull;
|
|
693
|
+
quantization: import("typebox").TNull;
|
|
694
|
+
runtime: import("typebox").TLiteral<"cohere-api-v2">;
|
|
695
|
+
dimensions: import("typebox").TUnion<[import("typebox").TLiteral<256>, import("typebox").TLiteral<512>, import("typebox").TLiteral<768>, import("typebox").TLiteral<1024>, import("typebox").TLiteral<1536>, import("typebox").TLiteral<2048>]>;
|
|
696
|
+
inputType: import("typebox").TLiteral<"search_document">;
|
|
697
|
+
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
698
|
+
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
699
|
+
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
700
|
+
}>, import("typebox").TObject<{
|
|
701
|
+
provider: import("typebox").TLiteral<"jina">;
|
|
702
|
+
model: import("typebox").TUnion<[import("typebox").TLiteral<"jina-embeddings-v5-text-small">, import("typebox").TLiteral<"jina-embeddings-v5-text-nano">]>;
|
|
703
|
+
revision: import("typebox").TNull;
|
|
704
|
+
quantization: import("typebox").TNull;
|
|
705
|
+
runtime: import("typebox").TLiteral<"jina-api-v1">;
|
|
706
|
+
dimensions: import("typebox").TInteger;
|
|
707
|
+
task: import("typebox").TLiteral<"retrieval.passage">;
|
|
708
|
+
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
709
|
+
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
710
|
+
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
711
|
+
}>, import("typebox").TObject<{
|
|
712
|
+
provider: import("typebox").TLiteral<"dashscope">;
|
|
713
|
+
model: import("typebox").TLiteral<"qwen3.7-text-embedding">;
|
|
714
|
+
revision: import("typebox").TNull;
|
|
715
|
+
quantization: import("typebox").TNull;
|
|
716
|
+
runtime: import("typebox").TLiteral<"dashscope-compatible-mode-v1">;
|
|
717
|
+
dimensions: import("typebox").TUnion<[import("typebox").TLiteral<64>, import("typebox").TLiteral<128>, import("typebox").TLiteral<256>, import("typebox").TLiteral<512>, import("typebox").TLiteral<768>, import("typebox").TLiteral<1024>, import("typebox").TLiteral<2560>]>;
|
|
718
|
+
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
719
|
+
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
720
|
+
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
721
|
+
}>, import("typebox").TObject<{
|
|
722
|
+
provider: import("typebox").TLiteral<"hetzner">;
|
|
723
|
+
model: import("typebox").TLiteral<"BAAI/bge-m3">;
|
|
724
|
+
revision: import("typebox").TNull;
|
|
725
|
+
quantization: import("typebox").TNull;
|
|
726
|
+
runtime: import("typebox").TLiteral<"hetzner-inference-v1">;
|
|
727
|
+
dimensions: import("typebox").TLiteral<1024>;
|
|
728
|
+
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
729
|
+
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
730
|
+
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
416
731
|
}>, import("typebox").TObject<{
|
|
417
732
|
provider: import("typebox").TLiteral<"sarvam">;
|
|
418
733
|
model: import("typebox").TLiteral<"embeddinggemma-2">;
|
|
@@ -482,7 +797,7 @@ export declare const embedCompareOutput: import("typebox").TObject<{
|
|
|
482
797
|
status: import("typebox").TLiteral<"success">;
|
|
483
798
|
index: import("typebox").TInteger;
|
|
484
799
|
vector: import("typebox").TArray<import("typebox").TNumber>;
|
|
485
|
-
route: import("typebox").TUnion<[import("typebox").TLiteral<"local">, import("typebox").TLiteral<"openai">, import("typebox").TLiteral<"sarvam">, import("typebox").TLiteral<"gateway">, import("typebox").TLiteral<"openrouter">, import("typebox").TLiteral<"cloudflare">, import("typebox").TLiteral<"gemini">, import("typebox").TLiteral<"vertex">, import("typebox").TLiteral<"opencode">, import("typebox").TLiteral<"opencode-go">]>;
|
|
800
|
+
route: import("typebox").TUnion<[import("typebox").TLiteral<"local">, import("typebox").TLiteral<"openai">, import("typebox").TLiteral<"sarvam">, import("typebox").TLiteral<"gateway">, import("typebox").TLiteral<"openrouter">, import("typebox").TLiteral<"cloudflare">, import("typebox").TLiteral<"gemini">, import("typebox").TLiteral<"vertex">, import("typebox").TLiteral<"opencode">, import("typebox").TLiteral<"opencode-go">, import("typebox").TLiteral<"voyage">, import("typebox").TLiteral<"cohere">, import("typebox").TLiteral<"jina">, import("typebox").TLiteral<"dashscope">, import("typebox").TLiteral<"hetzner">]>;
|
|
486
801
|
model: import("typebox").TString;
|
|
487
802
|
space: import("typebox").TUnion<[import("typebox").TObject<{
|
|
488
803
|
provider: import("typebox").TLiteral<"local">;
|
|
@@ -504,6 +819,69 @@ export declare const embedCompareOutput: import("typebox").TObject<{
|
|
|
504
819
|
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
505
820
|
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
506
821
|
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
822
|
+
}>, import("typebox").TObject<{
|
|
823
|
+
provider: import("typebox").TLiteral<"openai">;
|
|
824
|
+
model: import("typebox").TLiteral<"text-embedding-3-large">;
|
|
825
|
+
revision: import("typebox").TNull;
|
|
826
|
+
quantization: import("typebox").TNull;
|
|
827
|
+
runtime: import("typebox").TNull;
|
|
828
|
+
dimensions: import("typebox").TLiteral<3072>;
|
|
829
|
+
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
830
|
+
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
831
|
+
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
832
|
+
}>, import("typebox").TObject<{
|
|
833
|
+
provider: import("typebox").TLiteral<"voyage">;
|
|
834
|
+
model: import("typebox").TUnion<[import("typebox").TLiteral<"voyage-4-large">, import("typebox").TLiteral<"voyage-4">, import("typebox").TLiteral<"voyage-4-lite">, import("typebox").TLiteral<"voyage-code-4">]>;
|
|
835
|
+
revision: import("typebox").TNull;
|
|
836
|
+
quantization: import("typebox").TNull;
|
|
837
|
+
runtime: import("typebox").TLiteral<"voyage-api-v1">;
|
|
838
|
+
dimensions: import("typebox").TUnion<[import("typebox").TLiteral<256>, import("typebox").TLiteral<512>, import("typebox").TLiteral<1024>, import("typebox").TLiteral<2048>]>;
|
|
839
|
+
inputType: import("typebox").TLiteral<"document">;
|
|
840
|
+
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
841
|
+
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
842
|
+
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
843
|
+
}>, import("typebox").TObject<{
|
|
844
|
+
provider: import("typebox").TLiteral<"cohere">;
|
|
845
|
+
model: import("typebox").TUnion<[import("typebox").TLiteral<"embed-v5.0-pro">, import("typebox").TLiteral<"embed-v5.0-fast">]>;
|
|
846
|
+
revision: import("typebox").TNull;
|
|
847
|
+
quantization: import("typebox").TNull;
|
|
848
|
+
runtime: import("typebox").TLiteral<"cohere-api-v2">;
|
|
849
|
+
dimensions: import("typebox").TUnion<[import("typebox").TLiteral<256>, import("typebox").TLiteral<512>, import("typebox").TLiteral<768>, import("typebox").TLiteral<1024>, import("typebox").TLiteral<1536>, import("typebox").TLiteral<2048>]>;
|
|
850
|
+
inputType: import("typebox").TLiteral<"search_document">;
|
|
851
|
+
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
852
|
+
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
853
|
+
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
854
|
+
}>, import("typebox").TObject<{
|
|
855
|
+
provider: import("typebox").TLiteral<"jina">;
|
|
856
|
+
model: import("typebox").TUnion<[import("typebox").TLiteral<"jina-embeddings-v5-text-small">, import("typebox").TLiteral<"jina-embeddings-v5-text-nano">]>;
|
|
857
|
+
revision: import("typebox").TNull;
|
|
858
|
+
quantization: import("typebox").TNull;
|
|
859
|
+
runtime: import("typebox").TLiteral<"jina-api-v1">;
|
|
860
|
+
dimensions: import("typebox").TInteger;
|
|
861
|
+
task: import("typebox").TLiteral<"retrieval.passage">;
|
|
862
|
+
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
863
|
+
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
864
|
+
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
865
|
+
}>, import("typebox").TObject<{
|
|
866
|
+
provider: import("typebox").TLiteral<"dashscope">;
|
|
867
|
+
model: import("typebox").TLiteral<"qwen3.7-text-embedding">;
|
|
868
|
+
revision: import("typebox").TNull;
|
|
869
|
+
quantization: import("typebox").TNull;
|
|
870
|
+
runtime: import("typebox").TLiteral<"dashscope-compatible-mode-v1">;
|
|
871
|
+
dimensions: import("typebox").TUnion<[import("typebox").TLiteral<64>, import("typebox").TLiteral<128>, import("typebox").TLiteral<256>, import("typebox").TLiteral<512>, import("typebox").TLiteral<768>, import("typebox").TLiteral<1024>, import("typebox").TLiteral<2560>]>;
|
|
872
|
+
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
873
|
+
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
874
|
+
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
875
|
+
}>, import("typebox").TObject<{
|
|
876
|
+
provider: import("typebox").TLiteral<"hetzner">;
|
|
877
|
+
model: import("typebox").TLiteral<"BAAI/bge-m3">;
|
|
878
|
+
revision: import("typebox").TNull;
|
|
879
|
+
quantization: import("typebox").TNull;
|
|
880
|
+
runtime: import("typebox").TLiteral<"hetzner-inference-v1">;
|
|
881
|
+
dimensions: import("typebox").TLiteral<1024>;
|
|
882
|
+
format: import("typebox").TLiteral<"host-display-attributes-v1">;
|
|
883
|
+
prefix: import("typebox").TLiteral<"title: none | text: ">;
|
|
884
|
+
normalization: import("typebox").TLiteral<"finite-nonzero-l2-v1">;
|
|
507
885
|
}>, import("typebox").TObject<{
|
|
508
886
|
provider: import("typebox").TLiteral<"sarvam">;
|
|
509
887
|
model: import("typebox").TLiteral<"embeddinggemma-2">;
|
|
@@ -578,7 +956,7 @@ export declare const embedCompareOutput: import("typebox").TObject<{
|
|
|
578
956
|
}>]>>;
|
|
579
957
|
attempts: import("typebox").TArray<import("typebox").TObject<{
|
|
580
958
|
id: import("typebox").TString;
|
|
581
|
-
route: import("typebox").TUnion<[import("typebox").TLiteral<"local">, import("typebox").TLiteral<"openai">, import("typebox").TLiteral<"sarvam">, import("typebox").TLiteral<"gateway">, import("typebox").TLiteral<"openrouter">, import("typebox").TLiteral<"cloudflare">, import("typebox").TLiteral<"gemini">, import("typebox").TLiteral<"vertex">, import("typebox").TLiteral<"opencode">, import("typebox").TLiteral<"opencode-go">]>;
|
|
959
|
+
route: import("typebox").TUnion<[import("typebox").TLiteral<"local">, import("typebox").TLiteral<"openai">, import("typebox").TLiteral<"sarvam">, import("typebox").TLiteral<"gateway">, import("typebox").TLiteral<"openrouter">, import("typebox").TLiteral<"cloudflare">, import("typebox").TLiteral<"gemini">, import("typebox").TLiteral<"vertex">, import("typebox").TLiteral<"opencode">, import("typebox").TLiteral<"opencode-go">, import("typebox").TLiteral<"voyage">, import("typebox").TLiteral<"cohere">, import("typebox").TLiteral<"jina">, import("typebox").TLiteral<"dashscope">, import("typebox").TLiteral<"hetzner">]>;
|
|
582
960
|
model: import("typebox").TString;
|
|
583
961
|
routeIndex: import("typebox").TInteger;
|
|
584
962
|
status: import("typebox").TUnion<[import("typebox").TLiteral<"success">, import("typebox").TLiteral<"error">, import("typebox").TLiteral<"cancelled">]>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abhishek944/pi-embeddings",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Config-driven text embeddings for Pi and MCP with local, OpenAI, Sarvam, Gemini, Vertex ADC, OpenCode
|
|
3
|
+
"version": "0.6.0",
|
|
4
|
+
"description": "Config-driven text embeddings for Pi and MCP with local, OpenAI, Sarvam, Gemini, Vertex ADC, OpenCode, Voyage, Cohere, Jina, Alibaba DashScope, Hetzner, gateway and OpenRouter routes, ordered fallback and explicit comparisons.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package",
|
|
7
7
|
"pi",
|
|
@@ -12,7 +12,12 @@
|
|
|
12
12
|
"gemini",
|
|
13
13
|
"embeddinggemma",
|
|
14
14
|
"opencode",
|
|
15
|
-
"litellm"
|
|
15
|
+
"litellm",
|
|
16
|
+
"voyage",
|
|
17
|
+
"cohere",
|
|
18
|
+
"jina",
|
|
19
|
+
"dashscope",
|
|
20
|
+
"hetzner"
|
|
16
21
|
],
|
|
17
22
|
"license": "Apache-2.0",
|
|
18
23
|
"type": "module",
|
package/src/index.ts
CHANGED
|
@@ -16,11 +16,27 @@ export {
|
|
|
16
16
|
EMBEDDING_NORMALIZATION_VERSION,
|
|
17
17
|
EMBEDDING_CONTEXT_META_KEY,
|
|
18
18
|
EMBEDDING_ROUTE_IDS,
|
|
19
|
+
OPENAI_EMBEDDING_MODELS,
|
|
20
|
+
OPENAI_EMBEDDING_DIMENSIONS,
|
|
19
21
|
GATEWAY_EMBEDDING_MODELS,
|
|
20
22
|
GEMINI_EMBEDDING_MODELS,
|
|
21
23
|
VERTEX_EMBEDDING_LOCATIONS,
|
|
22
24
|
OPENCODE_EMBEDDING_MODELS,
|
|
23
25
|
OPENCODE_GO_EMBEDDING_MODELS,
|
|
26
|
+
OPENROUTER_EMBEDDING_MODELS,
|
|
27
|
+
VOYAGE_EMBEDDING_MODELS,
|
|
28
|
+
VOYAGE_EMBEDDING_DIMENSIONS,
|
|
29
|
+
VOYAGE_INPUT_TYPES,
|
|
30
|
+
COHERE_EMBEDDING_MODELS,
|
|
31
|
+
COHERE_EMBEDDING_DIMENSIONS,
|
|
32
|
+
COHERE_INPUT_TYPES,
|
|
33
|
+
JINA_EMBEDDING_MODELS,
|
|
34
|
+
JINA_EMBEDDING_DIMENSIONS,
|
|
35
|
+
JINA_EMBEDDING_TASKS,
|
|
36
|
+
DASHSCOPE_EMBEDDING_MODELS,
|
|
37
|
+
DASHSCOPE_EMBEDDING_DIMENSIONS,
|
|
38
|
+
HETZNER_EMBEDDING_MODELS,
|
|
39
|
+
HETZNER_EMBEDDING_DIMENSIONS,
|
|
24
40
|
GEMINI_EMBEDDING_MIN_DIMENSIONS,
|
|
25
41
|
GEMINI_EMBEDDING_MAX_DIMENSIONS,
|
|
26
42
|
GEMINI_EMBEDDING_TASK_FORMATS,
|
|
@@ -46,6 +62,19 @@ export type {
|
|
|
46
62
|
EmbeddingErrorCode,
|
|
47
63
|
GeminiEmbeddingDimension,
|
|
48
64
|
GeminiEmbeddingTaskFormat,
|
|
65
|
+
OpenAiEmbeddingModel,
|
|
66
|
+
OpenRouterEmbeddingModel,
|
|
67
|
+
VoyageEmbeddingModel,
|
|
68
|
+
VoyageEmbeddingDimension,
|
|
69
|
+
VoyageInputType,
|
|
70
|
+
CohereEmbeddingModel,
|
|
71
|
+
CohereEmbeddingDimension,
|
|
72
|
+
CohereInputType,
|
|
73
|
+
JinaEmbeddingModel,
|
|
74
|
+
JinaEmbeddingTask,
|
|
75
|
+
DashScopeEmbeddingModel,
|
|
76
|
+
DashScopeEmbeddingDimension,
|
|
77
|
+
HetznerEmbeddingModel,
|
|
49
78
|
OpenCodeRouteId,
|
|
50
79
|
OpenCodeEmbeddingModel,
|
|
51
80
|
OpenCodeGoEmbeddingModel,
|