@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/schemas.d.ts
CHANGED
|
@@ -12,17 +12,64 @@ export declare const EMBEDDING_FORMAT_VERSION = "host-display-attributes-v1";
|
|
|
12
12
|
export declare const EMBEDDING_DOCUMENT_PREFIX = "title: none | text: ";
|
|
13
13
|
export declare const EMBEDDING_NORMALIZATION_VERSION = "finite-nonzero-l2-v1";
|
|
14
14
|
export declare const EMBEDDING_CONTEXT_META_KEY = "pi-embeddings/context";
|
|
15
|
-
export declare const EMBEDDING_ROUTE_IDS: readonly ["local", "openai", "sarvam", "gateway", "openrouter", "cloudflare", "gemini", "vertex", "opencode", "opencode-go"];
|
|
15
|
+
export declare const EMBEDDING_ROUTE_IDS: readonly ["local", "openai", "sarvam", "gateway", "openrouter", "cloudflare", "gemini", "vertex", "opencode", "opencode-go", "voyage", "cohere", "jina", "dashscope", "hetzner"];
|
|
16
16
|
export type EmbeddingRouteId = (typeof EMBEDDING_ROUTE_IDS)[number];
|
|
17
17
|
export type OpenCodeRouteId = Extract<EmbeddingRouteId, 'opencode' | 'opencode-go'>;
|
|
18
|
+
/** OpenAI text embeddings documented with 8192 max input tokens, 2048 inputs and 300000 tokens. */
|
|
19
|
+
export declare const OPENAI_EMBEDDING_MODELS: readonly ["text-embedding-3-small", "text-embedding-3-large"];
|
|
20
|
+
export type OpenAiEmbeddingModel = (typeof OPENAI_EMBEDDING_MODELS)[number];
|
|
21
|
+
/** Documented default output dimensions for the declared OpenAI text models. */
|
|
22
|
+
export declare const OPENAI_EMBEDDING_DIMENSIONS: Readonly<{
|
|
23
|
+
readonly 'text-embedding-3-small': 1536;
|
|
24
|
+
readonly 'text-embedding-3-large': 3072;
|
|
25
|
+
}>;
|
|
18
26
|
export declare const GATEWAY_EMBEDDING_MODELS: readonly ["text-embedding-3-small", "openai/text-embedding-3-small"];
|
|
27
|
+
/**
|
|
28
|
+
* Voyage declares the four general-purpose 4-series models as one shared embedding space. The
|
|
29
|
+
* descriptor still records the model that generated each vector; `voyage-code-4` is not covered by
|
|
30
|
+
* that compatibility statement and is therefore not treated as shared with the 4 series.
|
|
31
|
+
*/
|
|
32
|
+
export declare const VOYAGE_EMBEDDING_MODELS: readonly ["voyage-4-large", "voyage-4", "voyage-4-lite", "voyage-code-4"];
|
|
33
|
+
export type VoyageEmbeddingModel = (typeof VOYAGE_EMBEDDING_MODELS)[number];
|
|
34
|
+
export declare const VOYAGE_EMBEDDING_DIMENSIONS: readonly [256, 512, 1024, 2048];
|
|
35
|
+
export type VoyageEmbeddingDimension = (typeof VOYAGE_EMBEDDING_DIMENSIONS)[number];
|
|
36
|
+
export declare const DEFAULT_VOYAGE_DIMENSIONS: VoyageEmbeddingDimension;
|
|
37
|
+
export declare const VOYAGE_INPUT_TYPES: readonly ["document", "query"];
|
|
38
|
+
export type VoyageInputType = (typeof VOYAGE_INPUT_TYPES)[number];
|
|
39
|
+
/** Cohere Embed 5 documents Pro and Fast as sharing one embedding space. */
|
|
40
|
+
export declare const COHERE_EMBEDDING_MODELS: readonly ["embed-v5.0-pro", "embed-v5.0-fast"];
|
|
41
|
+
export type CohereEmbeddingModel = (typeof COHERE_EMBEDDING_MODELS)[number];
|
|
42
|
+
export declare const COHERE_EMBEDDING_DIMENSIONS: readonly [256, 512, 768, 1024, 1536, 2048];
|
|
43
|
+
export type CohereEmbeddingDimension = (typeof COHERE_EMBEDDING_DIMENSIONS)[number];
|
|
44
|
+
export declare const DEFAULT_COHERE_DIMENSIONS: CohereEmbeddingDimension;
|
|
45
|
+
export declare const COHERE_INPUT_TYPES: readonly ["search_document", "search_query", "classification", "clustering"];
|
|
46
|
+
export type CohereInputType = (typeof COHERE_INPUT_TYPES)[number];
|
|
47
|
+
/** Jina v5 text models; the multimodal v5 Omni family is deliberately not declared here. */
|
|
48
|
+
export declare const JINA_EMBEDDING_MODELS: readonly ["jina-embeddings-v5-text-small", "jina-embeddings-v5-text-nano"];
|
|
49
|
+
export type JinaEmbeddingModel = (typeof JINA_EMBEDDING_MODELS)[number];
|
|
50
|
+
/** Documented Matryoshka sizes per model; the 1024 ceiling is the API-wide maximum. */
|
|
51
|
+
export declare const JINA_EMBEDDING_DIMENSIONS: Readonly<Record<JinaEmbeddingModel, readonly number[]>>;
|
|
52
|
+
export declare const JINA_EMBEDDING_TASKS: readonly ["retrieval.passage", "retrieval.query", "text-matching", "clustering", "classification"];
|
|
53
|
+
export type JinaEmbeddingTask = (typeof JINA_EMBEDDING_TASKS)[number];
|
|
54
|
+
/** Alibaba Model Studio qwen3.7 text embedding through the OpenAI-compatible endpoint. */
|
|
55
|
+
export declare const DASHSCOPE_EMBEDDING_MODELS: readonly ["qwen3.7-text-embedding"];
|
|
56
|
+
export type DashScopeEmbeddingModel = (typeof DASHSCOPE_EMBEDDING_MODELS)[number];
|
|
57
|
+
/** The model overview and parameter reference disagree on 1536/2048, so they are not declared. */
|
|
58
|
+
export declare const DASHSCOPE_EMBEDDING_DIMENSIONS: readonly [64, 128, 256, 512, 768, 1024, 2560];
|
|
59
|
+
export type DashScopeEmbeddingDimension = (typeof DASHSCOPE_EMBEDDING_DIMENSIONS)[number];
|
|
60
|
+
export declare const DEFAULT_DASHSCOPE_DIMENSIONS: DashScopeEmbeddingDimension;
|
|
61
|
+
/** Hetzner Inference serves one documented embedding model with fixed 1024 dimensions. */
|
|
62
|
+
export declare const HETZNER_EMBEDDING_MODELS: readonly ["BAAI/bge-m3"];
|
|
63
|
+
export type HetznerEmbeddingModel = (typeof HETZNER_EMBEDDING_MODELS)[number];
|
|
64
|
+
export declare const HETZNER_EMBEDDING_DIMENSIONS = 1024;
|
|
19
65
|
/** Console (pay-as-you-go) embedding model IDs documented by OpenCode. */
|
|
20
66
|
export declare const OPENCODE_EMBEDDING_MODELS: readonly ["text-embedding-3-small", "text-embedding-3-large", "gemini-embedding-2", "gemini-embedding-001", "codestral-embed", "mistral-embed", "cohere-embed-v5-pro", "cohere-embed-v5-fast", "voyage-4", "voyage-code-4", "qwen3-embedding-8b", "bge-m3"];
|
|
21
67
|
export type OpenCodeEmbeddingModel = (typeof OPENCODE_EMBEDDING_MODELS)[number];
|
|
22
68
|
/** Go subscription embedding model IDs documented by OpenCode. */
|
|
23
69
|
export declare const OPENCODE_GO_EMBEDDING_MODELS: readonly ["text-embedding-3-small", "qwen3-embedding-8b", "gemini-embedding-2"];
|
|
24
70
|
export type OpenCodeGoEmbeddingModel = (typeof OPENCODE_GO_EMBEDDING_MODELS)[number];
|
|
25
|
-
export declare const OPENROUTER_EMBEDDING_MODELS: readonly ["openai/text-embedding-3-small"];
|
|
71
|
+
export declare const OPENROUTER_EMBEDDING_MODELS: readonly ["openai/text-embedding-3-small", "openai/text-embedding-3-large"];
|
|
72
|
+
export type OpenRouterEmbeddingModel = (typeof OPENROUTER_EMBEDDING_MODELS)[number];
|
|
26
73
|
export declare const CLOUDFLARE_EMBEDDING_MODELS: readonly ["@cf/baai/bge-base-en-v1.5"];
|
|
27
74
|
export declare const GEMINI_EMBEDDING_MODELS: readonly ["gemini-embedding-2"];
|
|
28
75
|
export declare const GEMINI_EMBEDDING_MIN_DIMENSIONS = 128;
|
|
@@ -47,7 +94,7 @@ export declare const VERTEX_EMBEDDING_LOCATIONS: readonly ["us", "eu", "global"]
|
|
|
47
94
|
export declare const EMBEDDING_ERROR_CODES: readonly ["configuration-invalid", "route-unconfigured", "missing-credentials", "http-auth", "http-not-found", "http-rate-limit", "http-forbidden", "http-bad-request", "http-server-error", "transport-failed", "provider-response-invalid", "provider-response-mismatch", "vector-invalid", "vector-zero", "input-empty", "input-too-long", "tokenizer-roundtrip-failed", "attribution-unavailable", "local-resources-unavailable", "local-model-mismatch", "local-runtime-mismatch", "local-startup-failed", "local-cpu-startup-invalid", "cancelled", "unstarted"];
|
|
48
95
|
export type EmbeddingErrorCode = (typeof EMBEDDING_ERROR_CODES)[number];
|
|
49
96
|
export declare const embeddingRouteSchema: Type.TObject<{
|
|
50
|
-
provider: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">]>;
|
|
97
|
+
provider: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">, Type.TLiteral<"voyage">, Type.TLiteral<"cohere">, Type.TLiteral<"jina">, Type.TLiteral<"dashscope">, Type.TLiteral<"hetzner">]>;
|
|
51
98
|
model: Type.TString;
|
|
52
99
|
}>;
|
|
53
100
|
/**
|
|
@@ -74,6 +121,69 @@ export declare const embeddingSpaceSchema: Type.TUnion<[Type.TObject<{
|
|
|
74
121
|
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
75
122
|
prefix: Type.TLiteral<"title: none | text: ">;
|
|
76
123
|
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
124
|
+
}>, Type.TObject<{
|
|
125
|
+
provider: Type.TLiteral<"openai">;
|
|
126
|
+
model: Type.TLiteral<"text-embedding-3-large">;
|
|
127
|
+
revision: Type.TNull;
|
|
128
|
+
quantization: Type.TNull;
|
|
129
|
+
runtime: Type.TNull;
|
|
130
|
+
dimensions: Type.TLiteral<3072>;
|
|
131
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
132
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
133
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
134
|
+
}>, Type.TObject<{
|
|
135
|
+
provider: Type.TLiteral<"voyage">;
|
|
136
|
+
model: Type.TUnion<[Type.TLiteral<"voyage-4-large">, Type.TLiteral<"voyage-4">, Type.TLiteral<"voyage-4-lite">, Type.TLiteral<"voyage-code-4">]>;
|
|
137
|
+
revision: Type.TNull;
|
|
138
|
+
quantization: Type.TNull;
|
|
139
|
+
runtime: Type.TLiteral<"voyage-api-v1">;
|
|
140
|
+
dimensions: Type.TUnion<[Type.TLiteral<256>, Type.TLiteral<512>, Type.TLiteral<1024>, Type.TLiteral<2048>]>;
|
|
141
|
+
inputType: Type.TLiteral<"document">;
|
|
142
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
143
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
144
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
145
|
+
}>, Type.TObject<{
|
|
146
|
+
provider: Type.TLiteral<"cohere">;
|
|
147
|
+
model: Type.TUnion<[Type.TLiteral<"embed-v5.0-pro">, Type.TLiteral<"embed-v5.0-fast">]>;
|
|
148
|
+
revision: Type.TNull;
|
|
149
|
+
quantization: Type.TNull;
|
|
150
|
+
runtime: Type.TLiteral<"cohere-api-v2">;
|
|
151
|
+
dimensions: Type.TUnion<[Type.TLiteral<256>, Type.TLiteral<512>, Type.TLiteral<768>, Type.TLiteral<1024>, Type.TLiteral<1536>, Type.TLiteral<2048>]>;
|
|
152
|
+
inputType: Type.TLiteral<"search_document">;
|
|
153
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
154
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
155
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
156
|
+
}>, Type.TObject<{
|
|
157
|
+
provider: Type.TLiteral<"jina">;
|
|
158
|
+
model: Type.TUnion<[Type.TLiteral<"jina-embeddings-v5-text-small">, Type.TLiteral<"jina-embeddings-v5-text-nano">]>;
|
|
159
|
+
revision: Type.TNull;
|
|
160
|
+
quantization: Type.TNull;
|
|
161
|
+
runtime: Type.TLiteral<"jina-api-v1">;
|
|
162
|
+
dimensions: Type.TInteger;
|
|
163
|
+
task: Type.TLiteral<"retrieval.passage">;
|
|
164
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
165
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
166
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
167
|
+
}>, Type.TObject<{
|
|
168
|
+
provider: Type.TLiteral<"dashscope">;
|
|
169
|
+
model: Type.TLiteral<"qwen3.7-text-embedding">;
|
|
170
|
+
revision: Type.TNull;
|
|
171
|
+
quantization: Type.TNull;
|
|
172
|
+
runtime: Type.TLiteral<"dashscope-compatible-mode-v1">;
|
|
173
|
+
dimensions: Type.TUnion<[Type.TLiteral<64>, Type.TLiteral<128>, Type.TLiteral<256>, Type.TLiteral<512>, Type.TLiteral<768>, Type.TLiteral<1024>, Type.TLiteral<2560>]>;
|
|
174
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
175
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
176
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
177
|
+
}>, Type.TObject<{
|
|
178
|
+
provider: Type.TLiteral<"hetzner">;
|
|
179
|
+
model: Type.TLiteral<"BAAI/bge-m3">;
|
|
180
|
+
revision: Type.TNull;
|
|
181
|
+
quantization: Type.TNull;
|
|
182
|
+
runtime: Type.TLiteral<"hetzner-inference-v1">;
|
|
183
|
+
dimensions: Type.TLiteral<1024>;
|
|
184
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
185
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
186
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
77
187
|
}>, Type.TObject<{
|
|
78
188
|
provider: Type.TLiteral<"sarvam">;
|
|
79
189
|
model: Type.TLiteral<"embeddinggemma-2">;
|
|
@@ -141,15 +251,15 @@ export declare const embeddingSpaceSchema: Type.TUnion<[Type.TObject<{
|
|
|
141
251
|
export declare const embeddingSettingsSchema: Type.TObject<{
|
|
142
252
|
version: Type.TOptional<Type.TLiteral<1>>;
|
|
143
253
|
default: Type.TObject<{
|
|
144
|
-
provider: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">]>;
|
|
254
|
+
provider: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">, Type.TLiteral<"voyage">, Type.TLiteral<"cohere">, Type.TLiteral<"jina">, Type.TLiteral<"dashscope">, Type.TLiteral<"hetzner">]>;
|
|
145
255
|
model: Type.TString;
|
|
146
256
|
}>;
|
|
147
257
|
fallback: Type.TOptional<Type.TArray<Type.TObject<{
|
|
148
|
-
provider: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">]>;
|
|
258
|
+
provider: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">, Type.TLiteral<"voyage">, Type.TLiteral<"cohere">, Type.TLiteral<"jina">, Type.TLiteral<"dashscope">, Type.TLiteral<"hetzner">]>;
|
|
149
259
|
model: Type.TString;
|
|
150
260
|
}>>>;
|
|
151
261
|
compare: Type.TOptional<Type.TArray<Type.TObject<{
|
|
152
|
-
provider: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">]>;
|
|
262
|
+
provider: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">, Type.TLiteral<"voyage">, Type.TLiteral<"cohere">, Type.TLiteral<"jina">, Type.TLiteral<"dashscope">, Type.TLiteral<"hetzner">]>;
|
|
153
263
|
model: Type.TString;
|
|
154
264
|
}>>>;
|
|
155
265
|
providers: Type.TOptional<Type.TObject<{
|
|
@@ -197,6 +307,26 @@ export declare const embeddingSettingsSchema: Type.TObject<{
|
|
|
197
307
|
'opencode-go': Type.TOptional<Type.TObject<{
|
|
198
308
|
apiKey: Type.TOptional<Type.TString>;
|
|
199
309
|
}>>;
|
|
310
|
+
voyage: Type.TOptional<Type.TObject<{
|
|
311
|
+
apiKey: Type.TOptional<Type.TString>;
|
|
312
|
+
dimensions: Type.TOptional<Type.TUnion<[Type.TLiteral<256>, Type.TLiteral<512>, Type.TLiteral<1024>, Type.TLiteral<2048>]>>;
|
|
313
|
+
}>>;
|
|
314
|
+
cohere: Type.TOptional<Type.TObject<{
|
|
315
|
+
apiKey: Type.TOptional<Type.TString>;
|
|
316
|
+
dimensions: Type.TOptional<Type.TUnion<[Type.TLiteral<256>, Type.TLiteral<512>, Type.TLiteral<768>, Type.TLiteral<1024>, Type.TLiteral<1536>, Type.TLiteral<2048>]>>;
|
|
317
|
+
}>>;
|
|
318
|
+
jina: Type.TOptional<Type.TObject<{
|
|
319
|
+
apiKey: Type.TOptional<Type.TString>;
|
|
320
|
+
dimensions: Type.TOptional<Type.TInteger>;
|
|
321
|
+
}>>;
|
|
322
|
+
dashscope: Type.TOptional<Type.TObject<{
|
|
323
|
+
baseUrl: Type.TString;
|
|
324
|
+
apiKey: Type.TOptional<Type.TString>;
|
|
325
|
+
dimensions: Type.TOptional<Type.TUnion<[Type.TLiteral<64>, Type.TLiteral<128>, Type.TLiteral<256>, Type.TLiteral<512>, Type.TLiteral<768>, Type.TLiteral<1024>, Type.TLiteral<2560>]>>;
|
|
326
|
+
}>>;
|
|
327
|
+
hetzner: Type.TOptional<Type.TObject<{
|
|
328
|
+
apiKey: Type.TOptional<Type.TString>;
|
|
329
|
+
}>>;
|
|
200
330
|
}>>;
|
|
201
331
|
}>;
|
|
202
332
|
export declare const embeddingRequestSchema: Type.TObject<{
|
|
@@ -214,7 +344,7 @@ export declare const embeddingUsageSchema: Type.TObject<{
|
|
|
214
344
|
}>;
|
|
215
345
|
export declare const embeddingAttemptSchema: Type.TObject<{
|
|
216
346
|
id: Type.TString;
|
|
217
|
-
route: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">]>;
|
|
347
|
+
route: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">, Type.TLiteral<"voyage">, Type.TLiteral<"cohere">, Type.TLiteral<"jina">, Type.TLiteral<"dashscope">, Type.TLiteral<"hetzner">]>;
|
|
218
348
|
model: Type.TString;
|
|
219
349
|
routeIndex: Type.TInteger;
|
|
220
350
|
status: Type.TUnion<[Type.TLiteral<"success">, Type.TLiteral<"error">, Type.TLiteral<"cancelled">]>;
|
|
@@ -229,7 +359,7 @@ export declare const embeddingOutcomeSchema: Type.TUnion<[Type.TObject<{
|
|
|
229
359
|
status: Type.TLiteral<"success">;
|
|
230
360
|
index: Type.TInteger;
|
|
231
361
|
vector: Type.TArray<Type.TNumber>;
|
|
232
|
-
route: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">]>;
|
|
362
|
+
route: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">, Type.TLiteral<"voyage">, Type.TLiteral<"cohere">, Type.TLiteral<"jina">, Type.TLiteral<"dashscope">, Type.TLiteral<"hetzner">]>;
|
|
233
363
|
model: Type.TString;
|
|
234
364
|
space: Type.TUnion<[Type.TObject<{
|
|
235
365
|
provider: Type.TLiteral<"local">;
|
|
@@ -251,6 +381,69 @@ export declare const embeddingOutcomeSchema: Type.TUnion<[Type.TObject<{
|
|
|
251
381
|
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
252
382
|
prefix: Type.TLiteral<"title: none | text: ">;
|
|
253
383
|
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
384
|
+
}>, Type.TObject<{
|
|
385
|
+
provider: Type.TLiteral<"openai">;
|
|
386
|
+
model: Type.TLiteral<"text-embedding-3-large">;
|
|
387
|
+
revision: Type.TNull;
|
|
388
|
+
quantization: Type.TNull;
|
|
389
|
+
runtime: Type.TNull;
|
|
390
|
+
dimensions: Type.TLiteral<3072>;
|
|
391
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
392
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
393
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
394
|
+
}>, Type.TObject<{
|
|
395
|
+
provider: Type.TLiteral<"voyage">;
|
|
396
|
+
model: Type.TUnion<[Type.TLiteral<"voyage-4-large">, Type.TLiteral<"voyage-4">, Type.TLiteral<"voyage-4-lite">, Type.TLiteral<"voyage-code-4">]>;
|
|
397
|
+
revision: Type.TNull;
|
|
398
|
+
quantization: Type.TNull;
|
|
399
|
+
runtime: Type.TLiteral<"voyage-api-v1">;
|
|
400
|
+
dimensions: Type.TUnion<[Type.TLiteral<256>, Type.TLiteral<512>, Type.TLiteral<1024>, Type.TLiteral<2048>]>;
|
|
401
|
+
inputType: Type.TLiteral<"document">;
|
|
402
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
403
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
404
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
405
|
+
}>, Type.TObject<{
|
|
406
|
+
provider: Type.TLiteral<"cohere">;
|
|
407
|
+
model: Type.TUnion<[Type.TLiteral<"embed-v5.0-pro">, Type.TLiteral<"embed-v5.0-fast">]>;
|
|
408
|
+
revision: Type.TNull;
|
|
409
|
+
quantization: Type.TNull;
|
|
410
|
+
runtime: Type.TLiteral<"cohere-api-v2">;
|
|
411
|
+
dimensions: Type.TUnion<[Type.TLiteral<256>, Type.TLiteral<512>, Type.TLiteral<768>, Type.TLiteral<1024>, Type.TLiteral<1536>, Type.TLiteral<2048>]>;
|
|
412
|
+
inputType: Type.TLiteral<"search_document">;
|
|
413
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
414
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
415
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
416
|
+
}>, Type.TObject<{
|
|
417
|
+
provider: Type.TLiteral<"jina">;
|
|
418
|
+
model: Type.TUnion<[Type.TLiteral<"jina-embeddings-v5-text-small">, Type.TLiteral<"jina-embeddings-v5-text-nano">]>;
|
|
419
|
+
revision: Type.TNull;
|
|
420
|
+
quantization: Type.TNull;
|
|
421
|
+
runtime: Type.TLiteral<"jina-api-v1">;
|
|
422
|
+
dimensions: Type.TInteger;
|
|
423
|
+
task: Type.TLiteral<"retrieval.passage">;
|
|
424
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
425
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
426
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
427
|
+
}>, Type.TObject<{
|
|
428
|
+
provider: Type.TLiteral<"dashscope">;
|
|
429
|
+
model: Type.TLiteral<"qwen3.7-text-embedding">;
|
|
430
|
+
revision: Type.TNull;
|
|
431
|
+
quantization: Type.TNull;
|
|
432
|
+
runtime: Type.TLiteral<"dashscope-compatible-mode-v1">;
|
|
433
|
+
dimensions: Type.TUnion<[Type.TLiteral<64>, Type.TLiteral<128>, Type.TLiteral<256>, Type.TLiteral<512>, Type.TLiteral<768>, Type.TLiteral<1024>, Type.TLiteral<2560>]>;
|
|
434
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
435
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
436
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
437
|
+
}>, Type.TObject<{
|
|
438
|
+
provider: Type.TLiteral<"hetzner">;
|
|
439
|
+
model: Type.TLiteral<"BAAI/bge-m3">;
|
|
440
|
+
revision: Type.TNull;
|
|
441
|
+
quantization: Type.TNull;
|
|
442
|
+
runtime: Type.TLiteral<"hetzner-inference-v1">;
|
|
443
|
+
dimensions: Type.TLiteral<1024>;
|
|
444
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
445
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
446
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
254
447
|
}>, Type.TObject<{
|
|
255
448
|
provider: Type.TLiteral<"sarvam">;
|
|
256
449
|
model: Type.TLiteral<"embeddinggemma-2">;
|
|
@@ -328,7 +521,7 @@ export declare const embeddingOutcomeSchema: Type.TUnion<[Type.TObject<{
|
|
|
328
521
|
* the singular fields are populated only when every successful vector came from one generation.
|
|
329
522
|
*/
|
|
330
523
|
export declare const embeddingGenerationSchema: Type.TObject<{
|
|
331
|
-
provider: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">]>;
|
|
524
|
+
provider: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">, Type.TLiteral<"voyage">, Type.TLiteral<"cohere">, Type.TLiteral<"jina">, Type.TLiteral<"dashscope">, Type.TLiteral<"hetzner">]>;
|
|
332
525
|
model: Type.TString;
|
|
333
526
|
space: Type.TUnion<[Type.TObject<{
|
|
334
527
|
provider: Type.TLiteral<"local">;
|
|
@@ -350,6 +543,69 @@ export declare const embeddingGenerationSchema: Type.TObject<{
|
|
|
350
543
|
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
351
544
|
prefix: Type.TLiteral<"title: none | text: ">;
|
|
352
545
|
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
546
|
+
}>, Type.TObject<{
|
|
547
|
+
provider: Type.TLiteral<"openai">;
|
|
548
|
+
model: Type.TLiteral<"text-embedding-3-large">;
|
|
549
|
+
revision: Type.TNull;
|
|
550
|
+
quantization: Type.TNull;
|
|
551
|
+
runtime: Type.TNull;
|
|
552
|
+
dimensions: Type.TLiteral<3072>;
|
|
553
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
554
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
555
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
556
|
+
}>, Type.TObject<{
|
|
557
|
+
provider: Type.TLiteral<"voyage">;
|
|
558
|
+
model: Type.TUnion<[Type.TLiteral<"voyage-4-large">, Type.TLiteral<"voyage-4">, Type.TLiteral<"voyage-4-lite">, Type.TLiteral<"voyage-code-4">]>;
|
|
559
|
+
revision: Type.TNull;
|
|
560
|
+
quantization: Type.TNull;
|
|
561
|
+
runtime: Type.TLiteral<"voyage-api-v1">;
|
|
562
|
+
dimensions: Type.TUnion<[Type.TLiteral<256>, Type.TLiteral<512>, Type.TLiteral<1024>, Type.TLiteral<2048>]>;
|
|
563
|
+
inputType: Type.TLiteral<"document">;
|
|
564
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
565
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
566
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
567
|
+
}>, Type.TObject<{
|
|
568
|
+
provider: Type.TLiteral<"cohere">;
|
|
569
|
+
model: Type.TUnion<[Type.TLiteral<"embed-v5.0-pro">, Type.TLiteral<"embed-v5.0-fast">]>;
|
|
570
|
+
revision: Type.TNull;
|
|
571
|
+
quantization: Type.TNull;
|
|
572
|
+
runtime: Type.TLiteral<"cohere-api-v2">;
|
|
573
|
+
dimensions: Type.TUnion<[Type.TLiteral<256>, Type.TLiteral<512>, Type.TLiteral<768>, Type.TLiteral<1024>, Type.TLiteral<1536>, Type.TLiteral<2048>]>;
|
|
574
|
+
inputType: Type.TLiteral<"search_document">;
|
|
575
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
576
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
577
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
578
|
+
}>, Type.TObject<{
|
|
579
|
+
provider: Type.TLiteral<"jina">;
|
|
580
|
+
model: Type.TUnion<[Type.TLiteral<"jina-embeddings-v5-text-small">, Type.TLiteral<"jina-embeddings-v5-text-nano">]>;
|
|
581
|
+
revision: Type.TNull;
|
|
582
|
+
quantization: Type.TNull;
|
|
583
|
+
runtime: Type.TLiteral<"jina-api-v1">;
|
|
584
|
+
dimensions: Type.TInteger;
|
|
585
|
+
task: Type.TLiteral<"retrieval.passage">;
|
|
586
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
587
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
588
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
589
|
+
}>, Type.TObject<{
|
|
590
|
+
provider: Type.TLiteral<"dashscope">;
|
|
591
|
+
model: Type.TLiteral<"qwen3.7-text-embedding">;
|
|
592
|
+
revision: Type.TNull;
|
|
593
|
+
quantization: Type.TNull;
|
|
594
|
+
runtime: Type.TLiteral<"dashscope-compatible-mode-v1">;
|
|
595
|
+
dimensions: Type.TUnion<[Type.TLiteral<64>, Type.TLiteral<128>, Type.TLiteral<256>, Type.TLiteral<512>, Type.TLiteral<768>, Type.TLiteral<1024>, Type.TLiteral<2560>]>;
|
|
596
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
597
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
598
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
599
|
+
}>, Type.TObject<{
|
|
600
|
+
provider: Type.TLiteral<"hetzner">;
|
|
601
|
+
model: Type.TLiteral<"BAAI/bge-m3">;
|
|
602
|
+
revision: Type.TNull;
|
|
603
|
+
quantization: Type.TNull;
|
|
604
|
+
runtime: Type.TLiteral<"hetzner-inference-v1">;
|
|
605
|
+
dimensions: Type.TLiteral<1024>;
|
|
606
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
607
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
608
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
353
609
|
}>, Type.TObject<{
|
|
354
610
|
provider: Type.TLiteral<"sarvam">;
|
|
355
611
|
model: Type.TLiteral<"embeddinggemma-2">;
|
|
@@ -417,7 +673,7 @@ export declare const embeddingGenerationSchema: Type.TObject<{
|
|
|
417
673
|
}>;
|
|
418
674
|
export declare const embeddingResultSchema: Type.TObject<{
|
|
419
675
|
schemaVersion: Type.TLiteral<2>;
|
|
420
|
-
provider: Type.TUnion<[Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">]>, Type.TNull]>;
|
|
676
|
+
provider: Type.TUnion<[Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">, Type.TLiteral<"voyage">, Type.TLiteral<"cohere">, Type.TLiteral<"jina">, Type.TLiteral<"dashscope">, Type.TLiteral<"hetzner">]>, Type.TNull]>;
|
|
421
677
|
model: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
422
678
|
space: Type.TUnion<[Type.TUnion<[Type.TObject<{
|
|
423
679
|
provider: Type.TLiteral<"local">;
|
|
@@ -439,6 +695,69 @@ export declare const embeddingResultSchema: Type.TObject<{
|
|
|
439
695
|
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
440
696
|
prefix: Type.TLiteral<"title: none | text: ">;
|
|
441
697
|
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
698
|
+
}>, Type.TObject<{
|
|
699
|
+
provider: Type.TLiteral<"openai">;
|
|
700
|
+
model: Type.TLiteral<"text-embedding-3-large">;
|
|
701
|
+
revision: Type.TNull;
|
|
702
|
+
quantization: Type.TNull;
|
|
703
|
+
runtime: Type.TNull;
|
|
704
|
+
dimensions: Type.TLiteral<3072>;
|
|
705
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
706
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
707
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
708
|
+
}>, Type.TObject<{
|
|
709
|
+
provider: Type.TLiteral<"voyage">;
|
|
710
|
+
model: Type.TUnion<[Type.TLiteral<"voyage-4-large">, Type.TLiteral<"voyage-4">, Type.TLiteral<"voyage-4-lite">, Type.TLiteral<"voyage-code-4">]>;
|
|
711
|
+
revision: Type.TNull;
|
|
712
|
+
quantization: Type.TNull;
|
|
713
|
+
runtime: Type.TLiteral<"voyage-api-v1">;
|
|
714
|
+
dimensions: Type.TUnion<[Type.TLiteral<256>, Type.TLiteral<512>, Type.TLiteral<1024>, Type.TLiteral<2048>]>;
|
|
715
|
+
inputType: Type.TLiteral<"document">;
|
|
716
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
717
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
718
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
719
|
+
}>, Type.TObject<{
|
|
720
|
+
provider: Type.TLiteral<"cohere">;
|
|
721
|
+
model: Type.TUnion<[Type.TLiteral<"embed-v5.0-pro">, Type.TLiteral<"embed-v5.0-fast">]>;
|
|
722
|
+
revision: Type.TNull;
|
|
723
|
+
quantization: Type.TNull;
|
|
724
|
+
runtime: Type.TLiteral<"cohere-api-v2">;
|
|
725
|
+
dimensions: Type.TUnion<[Type.TLiteral<256>, Type.TLiteral<512>, Type.TLiteral<768>, Type.TLiteral<1024>, Type.TLiteral<1536>, Type.TLiteral<2048>]>;
|
|
726
|
+
inputType: Type.TLiteral<"search_document">;
|
|
727
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
728
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
729
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
730
|
+
}>, Type.TObject<{
|
|
731
|
+
provider: Type.TLiteral<"jina">;
|
|
732
|
+
model: Type.TUnion<[Type.TLiteral<"jina-embeddings-v5-text-small">, Type.TLiteral<"jina-embeddings-v5-text-nano">]>;
|
|
733
|
+
revision: Type.TNull;
|
|
734
|
+
quantization: Type.TNull;
|
|
735
|
+
runtime: Type.TLiteral<"jina-api-v1">;
|
|
736
|
+
dimensions: Type.TInteger;
|
|
737
|
+
task: Type.TLiteral<"retrieval.passage">;
|
|
738
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
739
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
740
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
741
|
+
}>, Type.TObject<{
|
|
742
|
+
provider: Type.TLiteral<"dashscope">;
|
|
743
|
+
model: Type.TLiteral<"qwen3.7-text-embedding">;
|
|
744
|
+
revision: Type.TNull;
|
|
745
|
+
quantization: Type.TNull;
|
|
746
|
+
runtime: Type.TLiteral<"dashscope-compatible-mode-v1">;
|
|
747
|
+
dimensions: Type.TUnion<[Type.TLiteral<64>, Type.TLiteral<128>, Type.TLiteral<256>, Type.TLiteral<512>, Type.TLiteral<768>, Type.TLiteral<1024>, Type.TLiteral<2560>]>;
|
|
748
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
749
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
750
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
751
|
+
}>, Type.TObject<{
|
|
752
|
+
provider: Type.TLiteral<"hetzner">;
|
|
753
|
+
model: Type.TLiteral<"BAAI/bge-m3">;
|
|
754
|
+
revision: Type.TNull;
|
|
755
|
+
quantization: Type.TNull;
|
|
756
|
+
runtime: Type.TLiteral<"hetzner-inference-v1">;
|
|
757
|
+
dimensions: Type.TLiteral<1024>;
|
|
758
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
759
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
760
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
442
761
|
}>, Type.TObject<{
|
|
443
762
|
provider: Type.TLiteral<"sarvam">;
|
|
444
763
|
model: Type.TLiteral<"embeddinggemma-2">;
|
|
@@ -504,7 +823,7 @@ export declare const embeddingResultSchema: Type.TObject<{
|
|
|
504
823
|
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
505
824
|
}>]>, Type.TNull]>;
|
|
506
825
|
generations: Type.TArray<Type.TObject<{
|
|
507
|
-
provider: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">]>;
|
|
826
|
+
provider: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">, Type.TLiteral<"voyage">, Type.TLiteral<"cohere">, Type.TLiteral<"jina">, Type.TLiteral<"dashscope">, Type.TLiteral<"hetzner">]>;
|
|
508
827
|
model: Type.TString;
|
|
509
828
|
space: Type.TUnion<[Type.TObject<{
|
|
510
829
|
provider: Type.TLiteral<"local">;
|
|
@@ -526,6 +845,69 @@ export declare const embeddingResultSchema: Type.TObject<{
|
|
|
526
845
|
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
527
846
|
prefix: Type.TLiteral<"title: none | text: ">;
|
|
528
847
|
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
848
|
+
}>, Type.TObject<{
|
|
849
|
+
provider: Type.TLiteral<"openai">;
|
|
850
|
+
model: Type.TLiteral<"text-embedding-3-large">;
|
|
851
|
+
revision: Type.TNull;
|
|
852
|
+
quantization: Type.TNull;
|
|
853
|
+
runtime: Type.TNull;
|
|
854
|
+
dimensions: Type.TLiteral<3072>;
|
|
855
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
856
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
857
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
858
|
+
}>, Type.TObject<{
|
|
859
|
+
provider: Type.TLiteral<"voyage">;
|
|
860
|
+
model: Type.TUnion<[Type.TLiteral<"voyage-4-large">, Type.TLiteral<"voyage-4">, Type.TLiteral<"voyage-4-lite">, Type.TLiteral<"voyage-code-4">]>;
|
|
861
|
+
revision: Type.TNull;
|
|
862
|
+
quantization: Type.TNull;
|
|
863
|
+
runtime: Type.TLiteral<"voyage-api-v1">;
|
|
864
|
+
dimensions: Type.TUnion<[Type.TLiteral<256>, Type.TLiteral<512>, Type.TLiteral<1024>, Type.TLiteral<2048>]>;
|
|
865
|
+
inputType: Type.TLiteral<"document">;
|
|
866
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
867
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
868
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
869
|
+
}>, Type.TObject<{
|
|
870
|
+
provider: Type.TLiteral<"cohere">;
|
|
871
|
+
model: Type.TUnion<[Type.TLiteral<"embed-v5.0-pro">, Type.TLiteral<"embed-v5.0-fast">]>;
|
|
872
|
+
revision: Type.TNull;
|
|
873
|
+
quantization: Type.TNull;
|
|
874
|
+
runtime: Type.TLiteral<"cohere-api-v2">;
|
|
875
|
+
dimensions: Type.TUnion<[Type.TLiteral<256>, Type.TLiteral<512>, Type.TLiteral<768>, Type.TLiteral<1024>, Type.TLiteral<1536>, Type.TLiteral<2048>]>;
|
|
876
|
+
inputType: Type.TLiteral<"search_document">;
|
|
877
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
878
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
879
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
880
|
+
}>, Type.TObject<{
|
|
881
|
+
provider: Type.TLiteral<"jina">;
|
|
882
|
+
model: Type.TUnion<[Type.TLiteral<"jina-embeddings-v5-text-small">, Type.TLiteral<"jina-embeddings-v5-text-nano">]>;
|
|
883
|
+
revision: Type.TNull;
|
|
884
|
+
quantization: Type.TNull;
|
|
885
|
+
runtime: Type.TLiteral<"jina-api-v1">;
|
|
886
|
+
dimensions: Type.TInteger;
|
|
887
|
+
task: Type.TLiteral<"retrieval.passage">;
|
|
888
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
889
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
890
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
891
|
+
}>, Type.TObject<{
|
|
892
|
+
provider: Type.TLiteral<"dashscope">;
|
|
893
|
+
model: Type.TLiteral<"qwen3.7-text-embedding">;
|
|
894
|
+
revision: Type.TNull;
|
|
895
|
+
quantization: Type.TNull;
|
|
896
|
+
runtime: Type.TLiteral<"dashscope-compatible-mode-v1">;
|
|
897
|
+
dimensions: Type.TUnion<[Type.TLiteral<64>, Type.TLiteral<128>, Type.TLiteral<256>, Type.TLiteral<512>, Type.TLiteral<768>, Type.TLiteral<1024>, Type.TLiteral<2560>]>;
|
|
898
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
899
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
900
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
901
|
+
}>, Type.TObject<{
|
|
902
|
+
provider: Type.TLiteral<"hetzner">;
|
|
903
|
+
model: Type.TLiteral<"BAAI/bge-m3">;
|
|
904
|
+
revision: Type.TNull;
|
|
905
|
+
quantization: Type.TNull;
|
|
906
|
+
runtime: Type.TLiteral<"hetzner-inference-v1">;
|
|
907
|
+
dimensions: Type.TLiteral<1024>;
|
|
908
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
909
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
910
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
529
911
|
}>, Type.TObject<{
|
|
530
912
|
provider: Type.TLiteral<"sarvam">;
|
|
531
913
|
model: Type.TLiteral<"embeddinggemma-2">;
|
|
@@ -595,7 +977,7 @@ export declare const embeddingResultSchema: Type.TObject<{
|
|
|
595
977
|
status: Type.TLiteral<"success">;
|
|
596
978
|
index: Type.TInteger;
|
|
597
979
|
vector: Type.TArray<Type.TNumber>;
|
|
598
|
-
route: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">]>;
|
|
980
|
+
route: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">, Type.TLiteral<"voyage">, Type.TLiteral<"cohere">, Type.TLiteral<"jina">, Type.TLiteral<"dashscope">, Type.TLiteral<"hetzner">]>;
|
|
599
981
|
model: Type.TString;
|
|
600
982
|
space: Type.TUnion<[Type.TObject<{
|
|
601
983
|
provider: Type.TLiteral<"local">;
|
|
@@ -617,6 +999,69 @@ export declare const embeddingResultSchema: Type.TObject<{
|
|
|
617
999
|
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
618
1000
|
prefix: Type.TLiteral<"title: none | text: ">;
|
|
619
1001
|
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1002
|
+
}>, Type.TObject<{
|
|
1003
|
+
provider: Type.TLiteral<"openai">;
|
|
1004
|
+
model: Type.TLiteral<"text-embedding-3-large">;
|
|
1005
|
+
revision: Type.TNull;
|
|
1006
|
+
quantization: Type.TNull;
|
|
1007
|
+
runtime: Type.TNull;
|
|
1008
|
+
dimensions: Type.TLiteral<3072>;
|
|
1009
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1010
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1011
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1012
|
+
}>, Type.TObject<{
|
|
1013
|
+
provider: Type.TLiteral<"voyage">;
|
|
1014
|
+
model: Type.TUnion<[Type.TLiteral<"voyage-4-large">, Type.TLiteral<"voyage-4">, Type.TLiteral<"voyage-4-lite">, Type.TLiteral<"voyage-code-4">]>;
|
|
1015
|
+
revision: Type.TNull;
|
|
1016
|
+
quantization: Type.TNull;
|
|
1017
|
+
runtime: Type.TLiteral<"voyage-api-v1">;
|
|
1018
|
+
dimensions: Type.TUnion<[Type.TLiteral<256>, Type.TLiteral<512>, Type.TLiteral<1024>, Type.TLiteral<2048>]>;
|
|
1019
|
+
inputType: Type.TLiteral<"document">;
|
|
1020
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1021
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1022
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1023
|
+
}>, Type.TObject<{
|
|
1024
|
+
provider: Type.TLiteral<"cohere">;
|
|
1025
|
+
model: Type.TUnion<[Type.TLiteral<"embed-v5.0-pro">, Type.TLiteral<"embed-v5.0-fast">]>;
|
|
1026
|
+
revision: Type.TNull;
|
|
1027
|
+
quantization: Type.TNull;
|
|
1028
|
+
runtime: Type.TLiteral<"cohere-api-v2">;
|
|
1029
|
+
dimensions: Type.TUnion<[Type.TLiteral<256>, Type.TLiteral<512>, Type.TLiteral<768>, Type.TLiteral<1024>, Type.TLiteral<1536>, Type.TLiteral<2048>]>;
|
|
1030
|
+
inputType: Type.TLiteral<"search_document">;
|
|
1031
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1032
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1033
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1034
|
+
}>, Type.TObject<{
|
|
1035
|
+
provider: Type.TLiteral<"jina">;
|
|
1036
|
+
model: Type.TUnion<[Type.TLiteral<"jina-embeddings-v5-text-small">, Type.TLiteral<"jina-embeddings-v5-text-nano">]>;
|
|
1037
|
+
revision: Type.TNull;
|
|
1038
|
+
quantization: Type.TNull;
|
|
1039
|
+
runtime: Type.TLiteral<"jina-api-v1">;
|
|
1040
|
+
dimensions: Type.TInteger;
|
|
1041
|
+
task: Type.TLiteral<"retrieval.passage">;
|
|
1042
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1043
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1044
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1045
|
+
}>, Type.TObject<{
|
|
1046
|
+
provider: Type.TLiteral<"dashscope">;
|
|
1047
|
+
model: Type.TLiteral<"qwen3.7-text-embedding">;
|
|
1048
|
+
revision: Type.TNull;
|
|
1049
|
+
quantization: Type.TNull;
|
|
1050
|
+
runtime: Type.TLiteral<"dashscope-compatible-mode-v1">;
|
|
1051
|
+
dimensions: Type.TUnion<[Type.TLiteral<64>, Type.TLiteral<128>, Type.TLiteral<256>, Type.TLiteral<512>, Type.TLiteral<768>, Type.TLiteral<1024>, Type.TLiteral<2560>]>;
|
|
1052
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1053
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1054
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1055
|
+
}>, Type.TObject<{
|
|
1056
|
+
provider: Type.TLiteral<"hetzner">;
|
|
1057
|
+
model: Type.TLiteral<"BAAI/bge-m3">;
|
|
1058
|
+
revision: Type.TNull;
|
|
1059
|
+
quantization: Type.TNull;
|
|
1060
|
+
runtime: Type.TLiteral<"hetzner-inference-v1">;
|
|
1061
|
+
dimensions: Type.TLiteral<1024>;
|
|
1062
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1063
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1064
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
620
1065
|
}>, Type.TObject<{
|
|
621
1066
|
provider: Type.TLiteral<"sarvam">;
|
|
622
1067
|
model: Type.TLiteral<"embeddinggemma-2">;
|
|
@@ -691,7 +1136,7 @@ export declare const embeddingResultSchema: Type.TObject<{
|
|
|
691
1136
|
}>]>>;
|
|
692
1137
|
attempts: Type.TArray<Type.TObject<{
|
|
693
1138
|
id: Type.TString;
|
|
694
|
-
route: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">]>;
|
|
1139
|
+
route: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">, Type.TLiteral<"voyage">, Type.TLiteral<"cohere">, Type.TLiteral<"jina">, Type.TLiteral<"dashscope">, Type.TLiteral<"hetzner">]>;
|
|
695
1140
|
model: Type.TString;
|
|
696
1141
|
routeIndex: Type.TInteger;
|
|
697
1142
|
status: Type.TUnion<[Type.TLiteral<"success">, Type.TLiteral<"error">, Type.TLiteral<"cancelled">]>;
|
|
@@ -704,12 +1149,12 @@ export declare const embeddingResultSchema: Type.TObject<{
|
|
|
704
1149
|
}>>;
|
|
705
1150
|
}>;
|
|
706
1151
|
export declare const embeddingCompareEntrySchema: Type.TObject<{
|
|
707
|
-
route: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">]>;
|
|
1152
|
+
route: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">, Type.TLiteral<"voyage">, Type.TLiteral<"cohere">, Type.TLiteral<"jina">, Type.TLiteral<"dashscope">, Type.TLiteral<"hetzner">]>;
|
|
708
1153
|
model: Type.TString;
|
|
709
1154
|
status: Type.TUnion<[Type.TLiteral<"success">, Type.TLiteral<"error">, Type.TLiteral<"cancelled">]>;
|
|
710
1155
|
result: Type.TObject<{
|
|
711
1156
|
schemaVersion: Type.TLiteral<2>;
|
|
712
|
-
provider: Type.TUnion<[Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">]>, Type.TNull]>;
|
|
1157
|
+
provider: Type.TUnion<[Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">, Type.TLiteral<"voyage">, Type.TLiteral<"cohere">, Type.TLiteral<"jina">, Type.TLiteral<"dashscope">, Type.TLiteral<"hetzner">]>, Type.TNull]>;
|
|
713
1158
|
model: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
714
1159
|
space: Type.TUnion<[Type.TUnion<[Type.TObject<{
|
|
715
1160
|
provider: Type.TLiteral<"local">;
|
|
@@ -731,6 +1176,69 @@ export declare const embeddingCompareEntrySchema: Type.TObject<{
|
|
|
731
1176
|
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
732
1177
|
prefix: Type.TLiteral<"title: none | text: ">;
|
|
733
1178
|
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1179
|
+
}>, Type.TObject<{
|
|
1180
|
+
provider: Type.TLiteral<"openai">;
|
|
1181
|
+
model: Type.TLiteral<"text-embedding-3-large">;
|
|
1182
|
+
revision: Type.TNull;
|
|
1183
|
+
quantization: Type.TNull;
|
|
1184
|
+
runtime: Type.TNull;
|
|
1185
|
+
dimensions: Type.TLiteral<3072>;
|
|
1186
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1187
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1188
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1189
|
+
}>, Type.TObject<{
|
|
1190
|
+
provider: Type.TLiteral<"voyage">;
|
|
1191
|
+
model: Type.TUnion<[Type.TLiteral<"voyage-4-large">, Type.TLiteral<"voyage-4">, Type.TLiteral<"voyage-4-lite">, Type.TLiteral<"voyage-code-4">]>;
|
|
1192
|
+
revision: Type.TNull;
|
|
1193
|
+
quantization: Type.TNull;
|
|
1194
|
+
runtime: Type.TLiteral<"voyage-api-v1">;
|
|
1195
|
+
dimensions: Type.TUnion<[Type.TLiteral<256>, Type.TLiteral<512>, Type.TLiteral<1024>, Type.TLiteral<2048>]>;
|
|
1196
|
+
inputType: Type.TLiteral<"document">;
|
|
1197
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1198
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1199
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1200
|
+
}>, Type.TObject<{
|
|
1201
|
+
provider: Type.TLiteral<"cohere">;
|
|
1202
|
+
model: Type.TUnion<[Type.TLiteral<"embed-v5.0-pro">, Type.TLiteral<"embed-v5.0-fast">]>;
|
|
1203
|
+
revision: Type.TNull;
|
|
1204
|
+
quantization: Type.TNull;
|
|
1205
|
+
runtime: Type.TLiteral<"cohere-api-v2">;
|
|
1206
|
+
dimensions: Type.TUnion<[Type.TLiteral<256>, Type.TLiteral<512>, Type.TLiteral<768>, Type.TLiteral<1024>, Type.TLiteral<1536>, Type.TLiteral<2048>]>;
|
|
1207
|
+
inputType: Type.TLiteral<"search_document">;
|
|
1208
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1209
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1210
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1211
|
+
}>, Type.TObject<{
|
|
1212
|
+
provider: Type.TLiteral<"jina">;
|
|
1213
|
+
model: Type.TUnion<[Type.TLiteral<"jina-embeddings-v5-text-small">, Type.TLiteral<"jina-embeddings-v5-text-nano">]>;
|
|
1214
|
+
revision: Type.TNull;
|
|
1215
|
+
quantization: Type.TNull;
|
|
1216
|
+
runtime: Type.TLiteral<"jina-api-v1">;
|
|
1217
|
+
dimensions: Type.TInteger;
|
|
1218
|
+
task: Type.TLiteral<"retrieval.passage">;
|
|
1219
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1220
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1221
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1222
|
+
}>, Type.TObject<{
|
|
1223
|
+
provider: Type.TLiteral<"dashscope">;
|
|
1224
|
+
model: Type.TLiteral<"qwen3.7-text-embedding">;
|
|
1225
|
+
revision: Type.TNull;
|
|
1226
|
+
quantization: Type.TNull;
|
|
1227
|
+
runtime: Type.TLiteral<"dashscope-compatible-mode-v1">;
|
|
1228
|
+
dimensions: Type.TUnion<[Type.TLiteral<64>, Type.TLiteral<128>, Type.TLiteral<256>, Type.TLiteral<512>, Type.TLiteral<768>, Type.TLiteral<1024>, Type.TLiteral<2560>]>;
|
|
1229
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1230
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1231
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1232
|
+
}>, Type.TObject<{
|
|
1233
|
+
provider: Type.TLiteral<"hetzner">;
|
|
1234
|
+
model: Type.TLiteral<"BAAI/bge-m3">;
|
|
1235
|
+
revision: Type.TNull;
|
|
1236
|
+
quantization: Type.TNull;
|
|
1237
|
+
runtime: Type.TLiteral<"hetzner-inference-v1">;
|
|
1238
|
+
dimensions: Type.TLiteral<1024>;
|
|
1239
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1240
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1241
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
734
1242
|
}>, Type.TObject<{
|
|
735
1243
|
provider: Type.TLiteral<"sarvam">;
|
|
736
1244
|
model: Type.TLiteral<"embeddinggemma-2">;
|
|
@@ -796,7 +1304,7 @@ export declare const embeddingCompareEntrySchema: Type.TObject<{
|
|
|
796
1304
|
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
797
1305
|
}>]>, Type.TNull]>;
|
|
798
1306
|
generations: Type.TArray<Type.TObject<{
|
|
799
|
-
provider: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">]>;
|
|
1307
|
+
provider: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">, Type.TLiteral<"voyage">, Type.TLiteral<"cohere">, Type.TLiteral<"jina">, Type.TLiteral<"dashscope">, Type.TLiteral<"hetzner">]>;
|
|
800
1308
|
model: Type.TString;
|
|
801
1309
|
space: Type.TUnion<[Type.TObject<{
|
|
802
1310
|
provider: Type.TLiteral<"local">;
|
|
@@ -818,6 +1326,69 @@ export declare const embeddingCompareEntrySchema: Type.TObject<{
|
|
|
818
1326
|
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
819
1327
|
prefix: Type.TLiteral<"title: none | text: ">;
|
|
820
1328
|
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1329
|
+
}>, Type.TObject<{
|
|
1330
|
+
provider: Type.TLiteral<"openai">;
|
|
1331
|
+
model: Type.TLiteral<"text-embedding-3-large">;
|
|
1332
|
+
revision: Type.TNull;
|
|
1333
|
+
quantization: Type.TNull;
|
|
1334
|
+
runtime: Type.TNull;
|
|
1335
|
+
dimensions: Type.TLiteral<3072>;
|
|
1336
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1337
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1338
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1339
|
+
}>, Type.TObject<{
|
|
1340
|
+
provider: Type.TLiteral<"voyage">;
|
|
1341
|
+
model: Type.TUnion<[Type.TLiteral<"voyage-4-large">, Type.TLiteral<"voyage-4">, Type.TLiteral<"voyage-4-lite">, Type.TLiteral<"voyage-code-4">]>;
|
|
1342
|
+
revision: Type.TNull;
|
|
1343
|
+
quantization: Type.TNull;
|
|
1344
|
+
runtime: Type.TLiteral<"voyage-api-v1">;
|
|
1345
|
+
dimensions: Type.TUnion<[Type.TLiteral<256>, Type.TLiteral<512>, Type.TLiteral<1024>, Type.TLiteral<2048>]>;
|
|
1346
|
+
inputType: Type.TLiteral<"document">;
|
|
1347
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1348
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1349
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1350
|
+
}>, Type.TObject<{
|
|
1351
|
+
provider: Type.TLiteral<"cohere">;
|
|
1352
|
+
model: Type.TUnion<[Type.TLiteral<"embed-v5.0-pro">, Type.TLiteral<"embed-v5.0-fast">]>;
|
|
1353
|
+
revision: Type.TNull;
|
|
1354
|
+
quantization: Type.TNull;
|
|
1355
|
+
runtime: Type.TLiteral<"cohere-api-v2">;
|
|
1356
|
+
dimensions: Type.TUnion<[Type.TLiteral<256>, Type.TLiteral<512>, Type.TLiteral<768>, Type.TLiteral<1024>, Type.TLiteral<1536>, Type.TLiteral<2048>]>;
|
|
1357
|
+
inputType: Type.TLiteral<"search_document">;
|
|
1358
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1359
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1360
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1361
|
+
}>, Type.TObject<{
|
|
1362
|
+
provider: Type.TLiteral<"jina">;
|
|
1363
|
+
model: Type.TUnion<[Type.TLiteral<"jina-embeddings-v5-text-small">, Type.TLiteral<"jina-embeddings-v5-text-nano">]>;
|
|
1364
|
+
revision: Type.TNull;
|
|
1365
|
+
quantization: Type.TNull;
|
|
1366
|
+
runtime: Type.TLiteral<"jina-api-v1">;
|
|
1367
|
+
dimensions: Type.TInteger;
|
|
1368
|
+
task: Type.TLiteral<"retrieval.passage">;
|
|
1369
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1370
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1371
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1372
|
+
}>, Type.TObject<{
|
|
1373
|
+
provider: Type.TLiteral<"dashscope">;
|
|
1374
|
+
model: Type.TLiteral<"qwen3.7-text-embedding">;
|
|
1375
|
+
revision: Type.TNull;
|
|
1376
|
+
quantization: Type.TNull;
|
|
1377
|
+
runtime: Type.TLiteral<"dashscope-compatible-mode-v1">;
|
|
1378
|
+
dimensions: Type.TUnion<[Type.TLiteral<64>, Type.TLiteral<128>, Type.TLiteral<256>, Type.TLiteral<512>, Type.TLiteral<768>, Type.TLiteral<1024>, Type.TLiteral<2560>]>;
|
|
1379
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1380
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1381
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1382
|
+
}>, Type.TObject<{
|
|
1383
|
+
provider: Type.TLiteral<"hetzner">;
|
|
1384
|
+
model: Type.TLiteral<"BAAI/bge-m3">;
|
|
1385
|
+
revision: Type.TNull;
|
|
1386
|
+
quantization: Type.TNull;
|
|
1387
|
+
runtime: Type.TLiteral<"hetzner-inference-v1">;
|
|
1388
|
+
dimensions: Type.TLiteral<1024>;
|
|
1389
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1390
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1391
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
821
1392
|
}>, Type.TObject<{
|
|
822
1393
|
provider: Type.TLiteral<"sarvam">;
|
|
823
1394
|
model: Type.TLiteral<"embeddinggemma-2">;
|
|
@@ -887,7 +1458,7 @@ export declare const embeddingCompareEntrySchema: Type.TObject<{
|
|
|
887
1458
|
status: Type.TLiteral<"success">;
|
|
888
1459
|
index: Type.TInteger;
|
|
889
1460
|
vector: Type.TArray<Type.TNumber>;
|
|
890
|
-
route: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">]>;
|
|
1461
|
+
route: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">, Type.TLiteral<"voyage">, Type.TLiteral<"cohere">, Type.TLiteral<"jina">, Type.TLiteral<"dashscope">, Type.TLiteral<"hetzner">]>;
|
|
891
1462
|
model: Type.TString;
|
|
892
1463
|
space: Type.TUnion<[Type.TObject<{
|
|
893
1464
|
provider: Type.TLiteral<"local">;
|
|
@@ -909,6 +1480,69 @@ export declare const embeddingCompareEntrySchema: Type.TObject<{
|
|
|
909
1480
|
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
910
1481
|
prefix: Type.TLiteral<"title: none | text: ">;
|
|
911
1482
|
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1483
|
+
}>, Type.TObject<{
|
|
1484
|
+
provider: Type.TLiteral<"openai">;
|
|
1485
|
+
model: Type.TLiteral<"text-embedding-3-large">;
|
|
1486
|
+
revision: Type.TNull;
|
|
1487
|
+
quantization: Type.TNull;
|
|
1488
|
+
runtime: Type.TNull;
|
|
1489
|
+
dimensions: Type.TLiteral<3072>;
|
|
1490
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1491
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1492
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1493
|
+
}>, Type.TObject<{
|
|
1494
|
+
provider: Type.TLiteral<"voyage">;
|
|
1495
|
+
model: Type.TUnion<[Type.TLiteral<"voyage-4-large">, Type.TLiteral<"voyage-4">, Type.TLiteral<"voyage-4-lite">, Type.TLiteral<"voyage-code-4">]>;
|
|
1496
|
+
revision: Type.TNull;
|
|
1497
|
+
quantization: Type.TNull;
|
|
1498
|
+
runtime: Type.TLiteral<"voyage-api-v1">;
|
|
1499
|
+
dimensions: Type.TUnion<[Type.TLiteral<256>, Type.TLiteral<512>, Type.TLiteral<1024>, Type.TLiteral<2048>]>;
|
|
1500
|
+
inputType: Type.TLiteral<"document">;
|
|
1501
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1502
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1503
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1504
|
+
}>, Type.TObject<{
|
|
1505
|
+
provider: Type.TLiteral<"cohere">;
|
|
1506
|
+
model: Type.TUnion<[Type.TLiteral<"embed-v5.0-pro">, Type.TLiteral<"embed-v5.0-fast">]>;
|
|
1507
|
+
revision: Type.TNull;
|
|
1508
|
+
quantization: Type.TNull;
|
|
1509
|
+
runtime: Type.TLiteral<"cohere-api-v2">;
|
|
1510
|
+
dimensions: Type.TUnion<[Type.TLiteral<256>, Type.TLiteral<512>, Type.TLiteral<768>, Type.TLiteral<1024>, Type.TLiteral<1536>, Type.TLiteral<2048>]>;
|
|
1511
|
+
inputType: Type.TLiteral<"search_document">;
|
|
1512
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1513
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1514
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1515
|
+
}>, Type.TObject<{
|
|
1516
|
+
provider: Type.TLiteral<"jina">;
|
|
1517
|
+
model: Type.TUnion<[Type.TLiteral<"jina-embeddings-v5-text-small">, Type.TLiteral<"jina-embeddings-v5-text-nano">]>;
|
|
1518
|
+
revision: Type.TNull;
|
|
1519
|
+
quantization: Type.TNull;
|
|
1520
|
+
runtime: Type.TLiteral<"jina-api-v1">;
|
|
1521
|
+
dimensions: Type.TInteger;
|
|
1522
|
+
task: Type.TLiteral<"retrieval.passage">;
|
|
1523
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1524
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1525
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1526
|
+
}>, Type.TObject<{
|
|
1527
|
+
provider: Type.TLiteral<"dashscope">;
|
|
1528
|
+
model: Type.TLiteral<"qwen3.7-text-embedding">;
|
|
1529
|
+
revision: Type.TNull;
|
|
1530
|
+
quantization: Type.TNull;
|
|
1531
|
+
runtime: Type.TLiteral<"dashscope-compatible-mode-v1">;
|
|
1532
|
+
dimensions: Type.TUnion<[Type.TLiteral<64>, Type.TLiteral<128>, Type.TLiteral<256>, Type.TLiteral<512>, Type.TLiteral<768>, Type.TLiteral<1024>, Type.TLiteral<2560>]>;
|
|
1533
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1534
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1535
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1536
|
+
}>, Type.TObject<{
|
|
1537
|
+
provider: Type.TLiteral<"hetzner">;
|
|
1538
|
+
model: Type.TLiteral<"BAAI/bge-m3">;
|
|
1539
|
+
revision: Type.TNull;
|
|
1540
|
+
quantization: Type.TNull;
|
|
1541
|
+
runtime: Type.TLiteral<"hetzner-inference-v1">;
|
|
1542
|
+
dimensions: Type.TLiteral<1024>;
|
|
1543
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1544
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1545
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
912
1546
|
}>, Type.TObject<{
|
|
913
1547
|
provider: Type.TLiteral<"sarvam">;
|
|
914
1548
|
model: Type.TLiteral<"embeddinggemma-2">;
|
|
@@ -983,7 +1617,7 @@ export declare const embeddingCompareEntrySchema: Type.TObject<{
|
|
|
983
1617
|
}>]>>;
|
|
984
1618
|
attempts: Type.TArray<Type.TObject<{
|
|
985
1619
|
id: Type.TString;
|
|
986
|
-
route: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">]>;
|
|
1620
|
+
route: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">, Type.TLiteral<"voyage">, Type.TLiteral<"cohere">, Type.TLiteral<"jina">, Type.TLiteral<"dashscope">, Type.TLiteral<"hetzner">]>;
|
|
987
1621
|
model: Type.TString;
|
|
988
1622
|
routeIndex: Type.TInteger;
|
|
989
1623
|
status: Type.TUnion<[Type.TLiteral<"success">, Type.TLiteral<"error">, Type.TLiteral<"cancelled">]>;
|
|
@@ -999,12 +1633,12 @@ export declare const embeddingCompareEntrySchema: Type.TObject<{
|
|
|
999
1633
|
export declare const embeddingCompareResultSchema: Type.TObject<{
|
|
1000
1634
|
schemaVersion: Type.TLiteral<2>;
|
|
1001
1635
|
entries: Type.TArray<Type.TObject<{
|
|
1002
|
-
route: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">]>;
|
|
1636
|
+
route: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">, Type.TLiteral<"voyage">, Type.TLiteral<"cohere">, Type.TLiteral<"jina">, Type.TLiteral<"dashscope">, Type.TLiteral<"hetzner">]>;
|
|
1003
1637
|
model: Type.TString;
|
|
1004
1638
|
status: Type.TUnion<[Type.TLiteral<"success">, Type.TLiteral<"error">, Type.TLiteral<"cancelled">]>;
|
|
1005
1639
|
result: Type.TObject<{
|
|
1006
1640
|
schemaVersion: Type.TLiteral<2>;
|
|
1007
|
-
provider: Type.TUnion<[Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">]>, Type.TNull]>;
|
|
1641
|
+
provider: Type.TUnion<[Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">, Type.TLiteral<"voyage">, Type.TLiteral<"cohere">, Type.TLiteral<"jina">, Type.TLiteral<"dashscope">, Type.TLiteral<"hetzner">]>, Type.TNull]>;
|
|
1008
1642
|
model: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
1009
1643
|
space: Type.TUnion<[Type.TUnion<[Type.TObject<{
|
|
1010
1644
|
provider: Type.TLiteral<"local">;
|
|
@@ -1026,6 +1660,69 @@ export declare const embeddingCompareResultSchema: Type.TObject<{
|
|
|
1026
1660
|
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1027
1661
|
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1028
1662
|
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1663
|
+
}>, Type.TObject<{
|
|
1664
|
+
provider: Type.TLiteral<"openai">;
|
|
1665
|
+
model: Type.TLiteral<"text-embedding-3-large">;
|
|
1666
|
+
revision: Type.TNull;
|
|
1667
|
+
quantization: Type.TNull;
|
|
1668
|
+
runtime: Type.TNull;
|
|
1669
|
+
dimensions: Type.TLiteral<3072>;
|
|
1670
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1671
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1672
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1673
|
+
}>, Type.TObject<{
|
|
1674
|
+
provider: Type.TLiteral<"voyage">;
|
|
1675
|
+
model: Type.TUnion<[Type.TLiteral<"voyage-4-large">, Type.TLiteral<"voyage-4">, Type.TLiteral<"voyage-4-lite">, Type.TLiteral<"voyage-code-4">]>;
|
|
1676
|
+
revision: Type.TNull;
|
|
1677
|
+
quantization: Type.TNull;
|
|
1678
|
+
runtime: Type.TLiteral<"voyage-api-v1">;
|
|
1679
|
+
dimensions: Type.TUnion<[Type.TLiteral<256>, Type.TLiteral<512>, Type.TLiteral<1024>, Type.TLiteral<2048>]>;
|
|
1680
|
+
inputType: Type.TLiteral<"document">;
|
|
1681
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1682
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1683
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1684
|
+
}>, Type.TObject<{
|
|
1685
|
+
provider: Type.TLiteral<"cohere">;
|
|
1686
|
+
model: Type.TUnion<[Type.TLiteral<"embed-v5.0-pro">, Type.TLiteral<"embed-v5.0-fast">]>;
|
|
1687
|
+
revision: Type.TNull;
|
|
1688
|
+
quantization: Type.TNull;
|
|
1689
|
+
runtime: Type.TLiteral<"cohere-api-v2">;
|
|
1690
|
+
dimensions: Type.TUnion<[Type.TLiteral<256>, Type.TLiteral<512>, Type.TLiteral<768>, Type.TLiteral<1024>, Type.TLiteral<1536>, Type.TLiteral<2048>]>;
|
|
1691
|
+
inputType: Type.TLiteral<"search_document">;
|
|
1692
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1693
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1694
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1695
|
+
}>, Type.TObject<{
|
|
1696
|
+
provider: Type.TLiteral<"jina">;
|
|
1697
|
+
model: Type.TUnion<[Type.TLiteral<"jina-embeddings-v5-text-small">, Type.TLiteral<"jina-embeddings-v5-text-nano">]>;
|
|
1698
|
+
revision: Type.TNull;
|
|
1699
|
+
quantization: Type.TNull;
|
|
1700
|
+
runtime: Type.TLiteral<"jina-api-v1">;
|
|
1701
|
+
dimensions: Type.TInteger;
|
|
1702
|
+
task: Type.TLiteral<"retrieval.passage">;
|
|
1703
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1704
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1705
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1706
|
+
}>, Type.TObject<{
|
|
1707
|
+
provider: Type.TLiteral<"dashscope">;
|
|
1708
|
+
model: Type.TLiteral<"qwen3.7-text-embedding">;
|
|
1709
|
+
revision: Type.TNull;
|
|
1710
|
+
quantization: Type.TNull;
|
|
1711
|
+
runtime: Type.TLiteral<"dashscope-compatible-mode-v1">;
|
|
1712
|
+
dimensions: Type.TUnion<[Type.TLiteral<64>, Type.TLiteral<128>, Type.TLiteral<256>, Type.TLiteral<512>, Type.TLiteral<768>, Type.TLiteral<1024>, Type.TLiteral<2560>]>;
|
|
1713
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1714
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1715
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1716
|
+
}>, Type.TObject<{
|
|
1717
|
+
provider: Type.TLiteral<"hetzner">;
|
|
1718
|
+
model: Type.TLiteral<"BAAI/bge-m3">;
|
|
1719
|
+
revision: Type.TNull;
|
|
1720
|
+
quantization: Type.TNull;
|
|
1721
|
+
runtime: Type.TLiteral<"hetzner-inference-v1">;
|
|
1722
|
+
dimensions: Type.TLiteral<1024>;
|
|
1723
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1724
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1725
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1029
1726
|
}>, Type.TObject<{
|
|
1030
1727
|
provider: Type.TLiteral<"sarvam">;
|
|
1031
1728
|
model: Type.TLiteral<"embeddinggemma-2">;
|
|
@@ -1091,7 +1788,7 @@ export declare const embeddingCompareResultSchema: Type.TObject<{
|
|
|
1091
1788
|
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1092
1789
|
}>]>, Type.TNull]>;
|
|
1093
1790
|
generations: Type.TArray<Type.TObject<{
|
|
1094
|
-
provider: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">]>;
|
|
1791
|
+
provider: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">, Type.TLiteral<"voyage">, Type.TLiteral<"cohere">, Type.TLiteral<"jina">, Type.TLiteral<"dashscope">, Type.TLiteral<"hetzner">]>;
|
|
1095
1792
|
model: Type.TString;
|
|
1096
1793
|
space: Type.TUnion<[Type.TObject<{
|
|
1097
1794
|
provider: Type.TLiteral<"local">;
|
|
@@ -1113,6 +1810,69 @@ export declare const embeddingCompareResultSchema: Type.TObject<{
|
|
|
1113
1810
|
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1114
1811
|
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1115
1812
|
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1813
|
+
}>, Type.TObject<{
|
|
1814
|
+
provider: Type.TLiteral<"openai">;
|
|
1815
|
+
model: Type.TLiteral<"text-embedding-3-large">;
|
|
1816
|
+
revision: Type.TNull;
|
|
1817
|
+
quantization: Type.TNull;
|
|
1818
|
+
runtime: Type.TNull;
|
|
1819
|
+
dimensions: Type.TLiteral<3072>;
|
|
1820
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1821
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1822
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1823
|
+
}>, Type.TObject<{
|
|
1824
|
+
provider: Type.TLiteral<"voyage">;
|
|
1825
|
+
model: Type.TUnion<[Type.TLiteral<"voyage-4-large">, Type.TLiteral<"voyage-4">, Type.TLiteral<"voyage-4-lite">, Type.TLiteral<"voyage-code-4">]>;
|
|
1826
|
+
revision: Type.TNull;
|
|
1827
|
+
quantization: Type.TNull;
|
|
1828
|
+
runtime: Type.TLiteral<"voyage-api-v1">;
|
|
1829
|
+
dimensions: Type.TUnion<[Type.TLiteral<256>, Type.TLiteral<512>, Type.TLiteral<1024>, Type.TLiteral<2048>]>;
|
|
1830
|
+
inputType: Type.TLiteral<"document">;
|
|
1831
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1832
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1833
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1834
|
+
}>, Type.TObject<{
|
|
1835
|
+
provider: Type.TLiteral<"cohere">;
|
|
1836
|
+
model: Type.TUnion<[Type.TLiteral<"embed-v5.0-pro">, Type.TLiteral<"embed-v5.0-fast">]>;
|
|
1837
|
+
revision: Type.TNull;
|
|
1838
|
+
quantization: Type.TNull;
|
|
1839
|
+
runtime: Type.TLiteral<"cohere-api-v2">;
|
|
1840
|
+
dimensions: Type.TUnion<[Type.TLiteral<256>, Type.TLiteral<512>, Type.TLiteral<768>, Type.TLiteral<1024>, Type.TLiteral<1536>, Type.TLiteral<2048>]>;
|
|
1841
|
+
inputType: Type.TLiteral<"search_document">;
|
|
1842
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1843
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1844
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1845
|
+
}>, Type.TObject<{
|
|
1846
|
+
provider: Type.TLiteral<"jina">;
|
|
1847
|
+
model: Type.TUnion<[Type.TLiteral<"jina-embeddings-v5-text-small">, Type.TLiteral<"jina-embeddings-v5-text-nano">]>;
|
|
1848
|
+
revision: Type.TNull;
|
|
1849
|
+
quantization: Type.TNull;
|
|
1850
|
+
runtime: Type.TLiteral<"jina-api-v1">;
|
|
1851
|
+
dimensions: Type.TInteger;
|
|
1852
|
+
task: Type.TLiteral<"retrieval.passage">;
|
|
1853
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1854
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1855
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1856
|
+
}>, Type.TObject<{
|
|
1857
|
+
provider: Type.TLiteral<"dashscope">;
|
|
1858
|
+
model: Type.TLiteral<"qwen3.7-text-embedding">;
|
|
1859
|
+
revision: Type.TNull;
|
|
1860
|
+
quantization: Type.TNull;
|
|
1861
|
+
runtime: Type.TLiteral<"dashscope-compatible-mode-v1">;
|
|
1862
|
+
dimensions: Type.TUnion<[Type.TLiteral<64>, Type.TLiteral<128>, Type.TLiteral<256>, Type.TLiteral<512>, Type.TLiteral<768>, Type.TLiteral<1024>, Type.TLiteral<2560>]>;
|
|
1863
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1864
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1865
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1866
|
+
}>, Type.TObject<{
|
|
1867
|
+
provider: Type.TLiteral<"hetzner">;
|
|
1868
|
+
model: Type.TLiteral<"BAAI/bge-m3">;
|
|
1869
|
+
revision: Type.TNull;
|
|
1870
|
+
quantization: Type.TNull;
|
|
1871
|
+
runtime: Type.TLiteral<"hetzner-inference-v1">;
|
|
1872
|
+
dimensions: Type.TLiteral<1024>;
|
|
1873
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1874
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1875
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1116
1876
|
}>, Type.TObject<{
|
|
1117
1877
|
provider: Type.TLiteral<"sarvam">;
|
|
1118
1878
|
model: Type.TLiteral<"embeddinggemma-2">;
|
|
@@ -1182,7 +1942,7 @@ export declare const embeddingCompareResultSchema: Type.TObject<{
|
|
|
1182
1942
|
status: Type.TLiteral<"success">;
|
|
1183
1943
|
index: Type.TInteger;
|
|
1184
1944
|
vector: Type.TArray<Type.TNumber>;
|
|
1185
|
-
route: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">]>;
|
|
1945
|
+
route: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">, Type.TLiteral<"voyage">, Type.TLiteral<"cohere">, Type.TLiteral<"jina">, Type.TLiteral<"dashscope">, Type.TLiteral<"hetzner">]>;
|
|
1186
1946
|
model: Type.TString;
|
|
1187
1947
|
space: Type.TUnion<[Type.TObject<{
|
|
1188
1948
|
provider: Type.TLiteral<"local">;
|
|
@@ -1204,6 +1964,69 @@ export declare const embeddingCompareResultSchema: Type.TObject<{
|
|
|
1204
1964
|
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1205
1965
|
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1206
1966
|
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1967
|
+
}>, Type.TObject<{
|
|
1968
|
+
provider: Type.TLiteral<"openai">;
|
|
1969
|
+
model: Type.TLiteral<"text-embedding-3-large">;
|
|
1970
|
+
revision: Type.TNull;
|
|
1971
|
+
quantization: Type.TNull;
|
|
1972
|
+
runtime: Type.TNull;
|
|
1973
|
+
dimensions: Type.TLiteral<3072>;
|
|
1974
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1975
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1976
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1977
|
+
}>, Type.TObject<{
|
|
1978
|
+
provider: Type.TLiteral<"voyage">;
|
|
1979
|
+
model: Type.TUnion<[Type.TLiteral<"voyage-4-large">, Type.TLiteral<"voyage-4">, Type.TLiteral<"voyage-4-lite">, Type.TLiteral<"voyage-code-4">]>;
|
|
1980
|
+
revision: Type.TNull;
|
|
1981
|
+
quantization: Type.TNull;
|
|
1982
|
+
runtime: Type.TLiteral<"voyage-api-v1">;
|
|
1983
|
+
dimensions: Type.TUnion<[Type.TLiteral<256>, Type.TLiteral<512>, Type.TLiteral<1024>, Type.TLiteral<2048>]>;
|
|
1984
|
+
inputType: Type.TLiteral<"document">;
|
|
1985
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1986
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1987
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1988
|
+
}>, Type.TObject<{
|
|
1989
|
+
provider: Type.TLiteral<"cohere">;
|
|
1990
|
+
model: Type.TUnion<[Type.TLiteral<"embed-v5.0-pro">, Type.TLiteral<"embed-v5.0-fast">]>;
|
|
1991
|
+
revision: Type.TNull;
|
|
1992
|
+
quantization: Type.TNull;
|
|
1993
|
+
runtime: Type.TLiteral<"cohere-api-v2">;
|
|
1994
|
+
dimensions: Type.TUnion<[Type.TLiteral<256>, Type.TLiteral<512>, Type.TLiteral<768>, Type.TLiteral<1024>, Type.TLiteral<1536>, Type.TLiteral<2048>]>;
|
|
1995
|
+
inputType: Type.TLiteral<"search_document">;
|
|
1996
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1997
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1998
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1999
|
+
}>, Type.TObject<{
|
|
2000
|
+
provider: Type.TLiteral<"jina">;
|
|
2001
|
+
model: Type.TUnion<[Type.TLiteral<"jina-embeddings-v5-text-small">, Type.TLiteral<"jina-embeddings-v5-text-nano">]>;
|
|
2002
|
+
revision: Type.TNull;
|
|
2003
|
+
quantization: Type.TNull;
|
|
2004
|
+
runtime: Type.TLiteral<"jina-api-v1">;
|
|
2005
|
+
dimensions: Type.TInteger;
|
|
2006
|
+
task: Type.TLiteral<"retrieval.passage">;
|
|
2007
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
2008
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
2009
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
2010
|
+
}>, Type.TObject<{
|
|
2011
|
+
provider: Type.TLiteral<"dashscope">;
|
|
2012
|
+
model: Type.TLiteral<"qwen3.7-text-embedding">;
|
|
2013
|
+
revision: Type.TNull;
|
|
2014
|
+
quantization: Type.TNull;
|
|
2015
|
+
runtime: Type.TLiteral<"dashscope-compatible-mode-v1">;
|
|
2016
|
+
dimensions: Type.TUnion<[Type.TLiteral<64>, Type.TLiteral<128>, Type.TLiteral<256>, Type.TLiteral<512>, Type.TLiteral<768>, Type.TLiteral<1024>, Type.TLiteral<2560>]>;
|
|
2017
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
2018
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
2019
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
2020
|
+
}>, Type.TObject<{
|
|
2021
|
+
provider: Type.TLiteral<"hetzner">;
|
|
2022
|
+
model: Type.TLiteral<"BAAI/bge-m3">;
|
|
2023
|
+
revision: Type.TNull;
|
|
2024
|
+
quantization: Type.TNull;
|
|
2025
|
+
runtime: Type.TLiteral<"hetzner-inference-v1">;
|
|
2026
|
+
dimensions: Type.TLiteral<1024>;
|
|
2027
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
2028
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
2029
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1207
2030
|
}>, Type.TObject<{
|
|
1208
2031
|
provider: Type.TLiteral<"sarvam">;
|
|
1209
2032
|
model: Type.TLiteral<"embeddinggemma-2">;
|
|
@@ -1278,7 +2101,7 @@ export declare const embeddingCompareResultSchema: Type.TObject<{
|
|
|
1278
2101
|
}>]>>;
|
|
1279
2102
|
attempts: Type.TArray<Type.TObject<{
|
|
1280
2103
|
id: Type.TString;
|
|
1281
|
-
route: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">]>;
|
|
2104
|
+
route: Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"openai">, Type.TLiteral<"sarvam">, Type.TLiteral<"gateway">, Type.TLiteral<"openrouter">, Type.TLiteral<"cloudflare">, Type.TLiteral<"gemini">, Type.TLiteral<"vertex">, Type.TLiteral<"opencode">, Type.TLiteral<"opencode-go">, Type.TLiteral<"voyage">, Type.TLiteral<"cohere">, Type.TLiteral<"jina">, Type.TLiteral<"dashscope">, Type.TLiteral<"hetzner">]>;
|
|
1282
2105
|
model: Type.TString;
|
|
1283
2106
|
routeIndex: Type.TInteger;
|
|
1284
2107
|
status: Type.TUnion<[Type.TLiteral<"success">, Type.TLiteral<"error">, Type.TLiteral<"cancelled">]>;
|