@abhishek944/pi-embeddings 0.4.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 +32 -6
- package/dist/execute.js +2 -1
- package/dist/extension.js +23 -5
- package/dist/index.d.ts +3 -2
- package/dist/index.js +1 -1
- package/dist/provider-types.d.ts +4 -0
- package/dist/providers.d.ts +29 -4
- package/dist/providers.js +580 -20
- package/dist/response.d.ts +34 -0
- package/dist/response.js +179 -3
- package/dist/runtime.d.ts +6 -1
- package/dist/runtime.js +8 -3
- package/dist/schemas.d.ts +1121 -45
- package/dist/schemas.js +268 -2
- package/dist/settings.js +22 -2
- package/dist/tool-contracts.d.ts +507 -9
- package/package.json +9 -3
- package/src/execute.ts +2 -1
- package/src/extension.ts +43 -5
- package/src/index.ts +35 -0
- package/src/provider-types.ts +7 -0
- package/src/providers.ts +719 -16
- package/src/response.ts +225 -3
- package/src/runtime.ts +25 -6
- package/src/schemas.ts +352 -2
- package/src/settings.ts +30 -1
package/dist/schemas.d.ts
CHANGED
|
@@ -12,10 +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"];
|
|
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
|
+
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
|
+
}>;
|
|
17
26
|
export declare const GATEWAY_EMBEDDING_MODELS: readonly ["text-embedding-3-small", "openai/text-embedding-3-small"];
|
|
18
|
-
|
|
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;
|
|
65
|
+
/** Console (pay-as-you-go) embedding model IDs documented by OpenCode. */
|
|
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"];
|
|
67
|
+
export type OpenCodeEmbeddingModel = (typeof OPENCODE_EMBEDDING_MODELS)[number];
|
|
68
|
+
/** Go subscription embedding model IDs documented by OpenCode. */
|
|
69
|
+
export declare const OPENCODE_GO_EMBEDDING_MODELS: readonly ["text-embedding-3-small", "qwen3-embedding-8b", "gemini-embedding-2"];
|
|
70
|
+
export type OpenCodeGoEmbeddingModel = (typeof OPENCODE_GO_EMBEDDING_MODELS)[number];
|
|
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];
|
|
19
73
|
export declare const CLOUDFLARE_EMBEDDING_MODELS: readonly ["@cf/baai/bge-base-en-v1.5"];
|
|
20
74
|
export declare const GEMINI_EMBEDDING_MODELS: readonly ["gemini-embedding-2"];
|
|
21
75
|
export declare const GEMINI_EMBEDDING_MIN_DIMENSIONS = 128;
|
|
@@ -40,7 +94,7 @@ export declare const VERTEX_EMBEDDING_LOCATIONS: readonly ["us", "eu", "global"]
|
|
|
40
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"];
|
|
41
95
|
export type EmbeddingErrorCode = (typeof EMBEDDING_ERROR_CODES)[number];
|
|
42
96
|
export declare const embeddingRouteSchema: Type.TObject<{
|
|
43
|
-
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">]>;
|
|
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">]>;
|
|
44
98
|
model: Type.TString;
|
|
45
99
|
}>;
|
|
46
100
|
/**
|
|
@@ -67,6 +121,69 @@ export declare const embeddingSpaceSchema: Type.TUnion<[Type.TObject<{
|
|
|
67
121
|
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
68
122
|
prefix: Type.TLiteral<"title: none | text: ">;
|
|
69
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">;
|
|
70
187
|
}>, Type.TObject<{
|
|
71
188
|
provider: Type.TLiteral<"sarvam">;
|
|
72
189
|
model: Type.TLiteral<"embeddinggemma-2">;
|
|
@@ -110,19 +227,39 @@ export declare const embeddingSpaceSchema: Type.TUnion<[Type.TObject<{
|
|
|
110
227
|
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
111
228
|
prefix: Type.TLiteral<"title: none | text: ">;
|
|
112
229
|
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
230
|
+
}>, Type.TObject<{
|
|
231
|
+
provider: Type.TLiteral<"opencode">;
|
|
232
|
+
model: Type.TUnion<[Type.TLiteral<"text-embedding-3-small">, Type.TLiteral<"text-embedding-3-large">, Type.TLiteral<"gemini-embedding-2">, Type.TLiteral<"gemini-embedding-001">, Type.TLiteral<"codestral-embed">, Type.TLiteral<"mistral-embed">, Type.TLiteral<"cohere-embed-v5-pro">, Type.TLiteral<"cohere-embed-v5-fast">, Type.TLiteral<"voyage-4">, Type.TLiteral<"voyage-code-4">, Type.TLiteral<"qwen3-embedding-8b">, Type.TLiteral<"bge-m3">]>;
|
|
233
|
+
runtime: Type.TLiteral<"opencode-console-embeddings-v1">;
|
|
234
|
+
revision: Type.TNull;
|
|
235
|
+
quantization: Type.TNull;
|
|
236
|
+
dimensions: Type.TUnion<[Type.TInteger, Type.TNull]>;
|
|
237
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
238
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
239
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
240
|
+
}>, Type.TObject<{
|
|
241
|
+
provider: Type.TLiteral<"opencode-go">;
|
|
242
|
+
model: Type.TUnion<[Type.TLiteral<"text-embedding-3-small">, Type.TLiteral<"qwen3-embedding-8b">, Type.TLiteral<"gemini-embedding-2">]>;
|
|
243
|
+
runtime: Type.TLiteral<"opencode-go-embeddings-v1">;
|
|
244
|
+
revision: Type.TNull;
|
|
245
|
+
quantization: Type.TNull;
|
|
246
|
+
dimensions: Type.TUnion<[Type.TInteger, Type.TNull]>;
|
|
247
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
248
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
249
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
113
250
|
}>]>;
|
|
114
251
|
export declare const embeddingSettingsSchema: Type.TObject<{
|
|
115
252
|
version: Type.TOptional<Type.TLiteral<1>>;
|
|
116
253
|
default: Type.TObject<{
|
|
117
|
-
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">]>;
|
|
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">]>;
|
|
118
255
|
model: Type.TString;
|
|
119
256
|
}>;
|
|
120
257
|
fallback: Type.TOptional<Type.TArray<Type.TObject<{
|
|
121
|
-
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">]>;
|
|
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">]>;
|
|
122
259
|
model: Type.TString;
|
|
123
260
|
}>>>;
|
|
124
261
|
compare: Type.TOptional<Type.TArray<Type.TObject<{
|
|
125
|
-
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">]>;
|
|
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">]>;
|
|
126
263
|
model: Type.TString;
|
|
127
264
|
}>>>;
|
|
128
265
|
providers: Type.TOptional<Type.TObject<{
|
|
@@ -164,6 +301,32 @@ export declare const embeddingSettingsSchema: Type.TObject<{
|
|
|
164
301
|
dimensions: Type.TOptional<Type.TInteger>;
|
|
165
302
|
taskFormat: Type.TOptional<Type.TUnion<[Type.TLiteral<"retrieval-document">, Type.TLiteral<"search-query">, Type.TLiteral<"question-answering">, Type.TLiteral<"fact-checking">, Type.TLiteral<"code-retrieval">, Type.TLiteral<"classification">, Type.TLiteral<"clustering">, Type.TLiteral<"sentence-similarity">]>>;
|
|
166
303
|
}>>;
|
|
304
|
+
opencode: Type.TOptional<Type.TObject<{
|
|
305
|
+
apiKey: Type.TOptional<Type.TString>;
|
|
306
|
+
}>>;
|
|
307
|
+
'opencode-go': Type.TOptional<Type.TObject<{
|
|
308
|
+
apiKey: Type.TOptional<Type.TString>;
|
|
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
|
+
}>>;
|
|
167
330
|
}>>;
|
|
168
331
|
}>;
|
|
169
332
|
export declare const embeddingRequestSchema: Type.TObject<{
|
|
@@ -181,7 +344,7 @@ export declare const embeddingUsageSchema: Type.TObject<{
|
|
|
181
344
|
}>;
|
|
182
345
|
export declare const embeddingAttemptSchema: Type.TObject<{
|
|
183
346
|
id: Type.TString;
|
|
184
|
-
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">]>;
|
|
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">]>;
|
|
185
348
|
model: Type.TString;
|
|
186
349
|
routeIndex: Type.TInteger;
|
|
187
350
|
status: Type.TUnion<[Type.TLiteral<"success">, Type.TLiteral<"error">, Type.TLiteral<"cancelled">]>;
|
|
@@ -196,7 +359,7 @@ export declare const embeddingOutcomeSchema: Type.TUnion<[Type.TObject<{
|
|
|
196
359
|
status: Type.TLiteral<"success">;
|
|
197
360
|
index: Type.TInteger;
|
|
198
361
|
vector: Type.TArray<Type.TNumber>;
|
|
199
|
-
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">]>;
|
|
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">]>;
|
|
200
363
|
model: Type.TString;
|
|
201
364
|
space: Type.TUnion<[Type.TObject<{
|
|
202
365
|
provider: Type.TLiteral<"local">;
|
|
@@ -218,6 +381,69 @@ export declare const embeddingOutcomeSchema: Type.TUnion<[Type.TObject<{
|
|
|
218
381
|
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
219
382
|
prefix: Type.TLiteral<"title: none | text: ">;
|
|
220
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">;
|
|
221
447
|
}>, Type.TObject<{
|
|
222
448
|
provider: Type.TLiteral<"sarvam">;
|
|
223
449
|
model: Type.TLiteral<"embeddinggemma-2">;
|
|
@@ -261,6 +487,26 @@ export declare const embeddingOutcomeSchema: Type.TUnion<[Type.TObject<{
|
|
|
261
487
|
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
262
488
|
prefix: Type.TLiteral<"title: none | text: ">;
|
|
263
489
|
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
490
|
+
}>, Type.TObject<{
|
|
491
|
+
provider: Type.TLiteral<"opencode">;
|
|
492
|
+
model: Type.TUnion<[Type.TLiteral<"text-embedding-3-small">, Type.TLiteral<"text-embedding-3-large">, Type.TLiteral<"gemini-embedding-2">, Type.TLiteral<"gemini-embedding-001">, Type.TLiteral<"codestral-embed">, Type.TLiteral<"mistral-embed">, Type.TLiteral<"cohere-embed-v5-pro">, Type.TLiteral<"cohere-embed-v5-fast">, Type.TLiteral<"voyage-4">, Type.TLiteral<"voyage-code-4">, Type.TLiteral<"qwen3-embedding-8b">, Type.TLiteral<"bge-m3">]>;
|
|
493
|
+
runtime: Type.TLiteral<"opencode-console-embeddings-v1">;
|
|
494
|
+
revision: Type.TNull;
|
|
495
|
+
quantization: Type.TNull;
|
|
496
|
+
dimensions: Type.TUnion<[Type.TInteger, Type.TNull]>;
|
|
497
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
498
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
499
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
500
|
+
}>, Type.TObject<{
|
|
501
|
+
provider: Type.TLiteral<"opencode-go">;
|
|
502
|
+
model: Type.TUnion<[Type.TLiteral<"text-embedding-3-small">, Type.TLiteral<"qwen3-embedding-8b">, Type.TLiteral<"gemini-embedding-2">]>;
|
|
503
|
+
runtime: Type.TLiteral<"opencode-go-embeddings-v1">;
|
|
504
|
+
revision: Type.TNull;
|
|
505
|
+
quantization: Type.TNull;
|
|
506
|
+
dimensions: Type.TUnion<[Type.TInteger, Type.TNull]>;
|
|
507
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
508
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
509
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
264
510
|
}>]>;
|
|
265
511
|
attemptId: Type.TString;
|
|
266
512
|
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
@@ -275,7 +521,7 @@ export declare const embeddingOutcomeSchema: Type.TUnion<[Type.TObject<{
|
|
|
275
521
|
* the singular fields are populated only when every successful vector came from one generation.
|
|
276
522
|
*/
|
|
277
523
|
export declare const embeddingGenerationSchema: Type.TObject<{
|
|
278
|
-
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">]>;
|
|
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">]>;
|
|
279
525
|
model: Type.TString;
|
|
280
526
|
space: Type.TUnion<[Type.TObject<{
|
|
281
527
|
provider: Type.TLiteral<"local">;
|
|
@@ -297,6 +543,69 @@ export declare const embeddingGenerationSchema: Type.TObject<{
|
|
|
297
543
|
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
298
544
|
prefix: Type.TLiteral<"title: none | text: ">;
|
|
299
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">;
|
|
300
609
|
}>, Type.TObject<{
|
|
301
610
|
provider: Type.TLiteral<"sarvam">;
|
|
302
611
|
model: Type.TLiteral<"embeddinggemma-2">;
|
|
@@ -340,11 +649,31 @@ export declare const embeddingGenerationSchema: Type.TObject<{
|
|
|
340
649
|
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
341
650
|
prefix: Type.TLiteral<"title: none | text: ">;
|
|
342
651
|
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
652
|
+
}>, Type.TObject<{
|
|
653
|
+
provider: Type.TLiteral<"opencode">;
|
|
654
|
+
model: Type.TUnion<[Type.TLiteral<"text-embedding-3-small">, Type.TLiteral<"text-embedding-3-large">, Type.TLiteral<"gemini-embedding-2">, Type.TLiteral<"gemini-embedding-001">, Type.TLiteral<"codestral-embed">, Type.TLiteral<"mistral-embed">, Type.TLiteral<"cohere-embed-v5-pro">, Type.TLiteral<"cohere-embed-v5-fast">, Type.TLiteral<"voyage-4">, Type.TLiteral<"voyage-code-4">, Type.TLiteral<"qwen3-embedding-8b">, Type.TLiteral<"bge-m3">]>;
|
|
655
|
+
runtime: Type.TLiteral<"opencode-console-embeddings-v1">;
|
|
656
|
+
revision: Type.TNull;
|
|
657
|
+
quantization: Type.TNull;
|
|
658
|
+
dimensions: Type.TUnion<[Type.TInteger, Type.TNull]>;
|
|
659
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
660
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
661
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
662
|
+
}>, Type.TObject<{
|
|
663
|
+
provider: Type.TLiteral<"opencode-go">;
|
|
664
|
+
model: Type.TUnion<[Type.TLiteral<"text-embedding-3-small">, Type.TLiteral<"qwen3-embedding-8b">, Type.TLiteral<"gemini-embedding-2">]>;
|
|
665
|
+
runtime: Type.TLiteral<"opencode-go-embeddings-v1">;
|
|
666
|
+
revision: Type.TNull;
|
|
667
|
+
quantization: Type.TNull;
|
|
668
|
+
dimensions: Type.TUnion<[Type.TInteger, Type.TNull]>;
|
|
669
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
670
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
671
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
343
672
|
}>]>;
|
|
344
673
|
}>;
|
|
345
674
|
export declare const embeddingResultSchema: Type.TObject<{
|
|
346
675
|
schemaVersion: Type.TLiteral<2>;
|
|
347
|
-
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.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]>;
|
|
348
677
|
model: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
349
678
|
space: Type.TUnion<[Type.TUnion<[Type.TObject<{
|
|
350
679
|
provider: Type.TLiteral<"local">;
|
|
@@ -366,6 +695,69 @@ export declare const embeddingResultSchema: Type.TObject<{
|
|
|
366
695
|
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
367
696
|
prefix: Type.TLiteral<"title: none | text: ">;
|
|
368
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">;
|
|
369
761
|
}>, Type.TObject<{
|
|
370
762
|
provider: Type.TLiteral<"sarvam">;
|
|
371
763
|
model: Type.TLiteral<"embeddinggemma-2">;
|
|
@@ -409,9 +801,29 @@ export declare const embeddingResultSchema: Type.TObject<{
|
|
|
409
801
|
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
410
802
|
prefix: Type.TLiteral<"title: none | text: ">;
|
|
411
803
|
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
804
|
+
}>, Type.TObject<{
|
|
805
|
+
provider: Type.TLiteral<"opencode">;
|
|
806
|
+
model: Type.TUnion<[Type.TLiteral<"text-embedding-3-small">, Type.TLiteral<"text-embedding-3-large">, Type.TLiteral<"gemini-embedding-2">, Type.TLiteral<"gemini-embedding-001">, Type.TLiteral<"codestral-embed">, Type.TLiteral<"mistral-embed">, Type.TLiteral<"cohere-embed-v5-pro">, Type.TLiteral<"cohere-embed-v5-fast">, Type.TLiteral<"voyage-4">, Type.TLiteral<"voyage-code-4">, Type.TLiteral<"qwen3-embedding-8b">, Type.TLiteral<"bge-m3">]>;
|
|
807
|
+
runtime: Type.TLiteral<"opencode-console-embeddings-v1">;
|
|
808
|
+
revision: Type.TNull;
|
|
809
|
+
quantization: Type.TNull;
|
|
810
|
+
dimensions: Type.TUnion<[Type.TInteger, Type.TNull]>;
|
|
811
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
812
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
813
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
814
|
+
}>, Type.TObject<{
|
|
815
|
+
provider: Type.TLiteral<"opencode-go">;
|
|
816
|
+
model: Type.TUnion<[Type.TLiteral<"text-embedding-3-small">, Type.TLiteral<"qwen3-embedding-8b">, Type.TLiteral<"gemini-embedding-2">]>;
|
|
817
|
+
runtime: Type.TLiteral<"opencode-go-embeddings-v1">;
|
|
818
|
+
revision: Type.TNull;
|
|
819
|
+
quantization: Type.TNull;
|
|
820
|
+
dimensions: Type.TUnion<[Type.TInteger, Type.TNull]>;
|
|
821
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
822
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
823
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
412
824
|
}>]>, Type.TNull]>;
|
|
413
825
|
generations: Type.TArray<Type.TObject<{
|
|
414
|
-
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">]>;
|
|
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">]>;
|
|
415
827
|
model: Type.TString;
|
|
416
828
|
space: Type.TUnion<[Type.TObject<{
|
|
417
829
|
provider: Type.TLiteral<"local">;
|
|
@@ -434,55 +846,138 @@ export declare const embeddingResultSchema: Type.TObject<{
|
|
|
434
846
|
prefix: Type.TLiteral<"title: none | text: ">;
|
|
435
847
|
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
436
848
|
}>, Type.TObject<{
|
|
437
|
-
provider: Type.TLiteral<"
|
|
438
|
-
model: Type.TLiteral<"
|
|
849
|
+
provider: Type.TLiteral<"openai">;
|
|
850
|
+
model: Type.TLiteral<"text-embedding-3-large">;
|
|
439
851
|
revision: Type.TNull;
|
|
440
852
|
quantization: Type.TNull;
|
|
441
|
-
runtime: Type.
|
|
442
|
-
dimensions: Type.TLiteral<
|
|
853
|
+
runtime: Type.TNull;
|
|
854
|
+
dimensions: Type.TLiteral<3072>;
|
|
443
855
|
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
444
856
|
prefix: Type.TLiteral<"title: none | text: ">;
|
|
445
857
|
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
446
858
|
}>, Type.TObject<{
|
|
447
|
-
provider: Type.TLiteral<"
|
|
448
|
-
|
|
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">;
|
|
449
866
|
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
450
|
-
prefix: Type.
|
|
867
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
451
868
|
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
452
|
-
|
|
869
|
+
}>, Type.TObject<{
|
|
870
|
+
provider: Type.TLiteral<"cohere">;
|
|
871
|
+
model: Type.TUnion<[Type.TLiteral<"embed-v5.0-pro">, Type.TLiteral<"embed-v5.0-fast">]>;
|
|
453
872
|
revision: Type.TNull;
|
|
454
873
|
quantization: Type.TNull;
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
provider: Type.TLiteral<"vertex">;
|
|
459
|
-
runtime: Type.TLiteral<"vertex-ai-v1">;
|
|
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">;
|
|
460
877
|
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
461
|
-
prefix: Type.
|
|
878
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
462
879
|
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
463
|
-
|
|
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">]>;
|
|
464
883
|
revision: Type.TNull;
|
|
465
884
|
quantization: Type.TNull;
|
|
885
|
+
runtime: Type.TLiteral<"jina-api-v1">;
|
|
466
886
|
dimensions: Type.TInteger;
|
|
467
|
-
|
|
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">;
|
|
468
891
|
}>, Type.TObject<{
|
|
469
|
-
provider: Type.TLiteral<"
|
|
470
|
-
model: Type.TLiteral<"
|
|
892
|
+
provider: Type.TLiteral<"dashscope">;
|
|
893
|
+
model: Type.TLiteral<"qwen3.7-text-embedding">;
|
|
471
894
|
revision: Type.TNull;
|
|
472
895
|
quantization: Type.TNull;
|
|
473
|
-
runtime: Type.TLiteral<"
|
|
474
|
-
dimensions: Type.TLiteral<768>;
|
|
475
|
-
pooling: Type.TUnion<[Type.TLiteral<"mean">, Type.TLiteral<"cls">]>;
|
|
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>]>;
|
|
476
898
|
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
477
899
|
prefix: Type.TLiteral<"title: none | text: ">;
|
|
478
900
|
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
479
|
-
}
|
|
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">;
|
|
911
|
+
}>, Type.TObject<{
|
|
912
|
+
provider: Type.TLiteral<"sarvam">;
|
|
913
|
+
model: Type.TLiteral<"embeddinggemma-2">;
|
|
914
|
+
revision: Type.TNull;
|
|
915
|
+
quantization: Type.TNull;
|
|
916
|
+
runtime: Type.TLiteral<"sarvam-v2">;
|
|
917
|
+
dimensions: Type.TLiteral<768>;
|
|
918
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
919
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
920
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
921
|
+
}>, Type.TObject<{
|
|
922
|
+
provider: Type.TLiteral<"gemini">;
|
|
923
|
+
runtime: Type.TLiteral<"gemini-api-v1beta">;
|
|
924
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
925
|
+
prefix: Type.TUnion<[Type.TLiteral<"title: none | text: ">, Type.TLiteral<"task: search result | query: ">, Type.TLiteral<"task: question answering | query: ">, Type.TLiteral<"task: fact checking | query: ">, Type.TLiteral<"task: code retrieval | query: ">, Type.TLiteral<"task: classification | query: ">, Type.TLiteral<"task: clustering | query: ">, Type.TLiteral<"task: sentence similarity | query: ">]>;
|
|
926
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
927
|
+
model: Type.TLiteral<"gemini-embedding-2">;
|
|
928
|
+
revision: Type.TNull;
|
|
929
|
+
quantization: Type.TNull;
|
|
930
|
+
dimensions: Type.TInteger;
|
|
931
|
+
taskFormat: Type.TUnion<[Type.TLiteral<"retrieval-document">, Type.TLiteral<"search-query">, Type.TLiteral<"question-answering">, Type.TLiteral<"fact-checking">, Type.TLiteral<"code-retrieval">, Type.TLiteral<"classification">, Type.TLiteral<"clustering">, Type.TLiteral<"sentence-similarity">]>;
|
|
932
|
+
}>, Type.TObject<{
|
|
933
|
+
provider: Type.TLiteral<"vertex">;
|
|
934
|
+
runtime: Type.TLiteral<"vertex-ai-v1">;
|
|
935
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
936
|
+
prefix: Type.TUnion<[Type.TLiteral<"title: none | text: ">, Type.TLiteral<"task: search result | query: ">, Type.TLiteral<"task: question answering | query: ">, Type.TLiteral<"task: fact checking | query: ">, Type.TLiteral<"task: code retrieval | query: ">, Type.TLiteral<"task: classification | query: ">, Type.TLiteral<"task: clustering | query: ">, Type.TLiteral<"task: sentence similarity | query: ">]>;
|
|
937
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
938
|
+
model: Type.TLiteral<"gemini-embedding-2">;
|
|
939
|
+
revision: Type.TNull;
|
|
940
|
+
quantization: Type.TNull;
|
|
941
|
+
dimensions: Type.TInteger;
|
|
942
|
+
taskFormat: Type.TUnion<[Type.TLiteral<"retrieval-document">, Type.TLiteral<"search-query">, Type.TLiteral<"question-answering">, Type.TLiteral<"fact-checking">, Type.TLiteral<"code-retrieval">, Type.TLiteral<"classification">, Type.TLiteral<"clustering">, Type.TLiteral<"sentence-similarity">]>;
|
|
943
|
+
}>, Type.TObject<{
|
|
944
|
+
provider: Type.TLiteral<"cloudflare">;
|
|
945
|
+
model: Type.TLiteral<"@cf/baai/bge-base-en-v1.5">;
|
|
946
|
+
revision: Type.TNull;
|
|
947
|
+
quantization: Type.TNull;
|
|
948
|
+
runtime: Type.TLiteral<"cloudflare-workers-ai">;
|
|
949
|
+
dimensions: Type.TLiteral<768>;
|
|
950
|
+
pooling: Type.TUnion<[Type.TLiteral<"mean">, Type.TLiteral<"cls">]>;
|
|
951
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
952
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
953
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
954
|
+
}>, Type.TObject<{
|
|
955
|
+
provider: Type.TLiteral<"opencode">;
|
|
956
|
+
model: Type.TUnion<[Type.TLiteral<"text-embedding-3-small">, Type.TLiteral<"text-embedding-3-large">, Type.TLiteral<"gemini-embedding-2">, Type.TLiteral<"gemini-embedding-001">, Type.TLiteral<"codestral-embed">, Type.TLiteral<"mistral-embed">, Type.TLiteral<"cohere-embed-v5-pro">, Type.TLiteral<"cohere-embed-v5-fast">, Type.TLiteral<"voyage-4">, Type.TLiteral<"voyage-code-4">, Type.TLiteral<"qwen3-embedding-8b">, Type.TLiteral<"bge-m3">]>;
|
|
957
|
+
runtime: Type.TLiteral<"opencode-console-embeddings-v1">;
|
|
958
|
+
revision: Type.TNull;
|
|
959
|
+
quantization: Type.TNull;
|
|
960
|
+
dimensions: Type.TUnion<[Type.TInteger, Type.TNull]>;
|
|
961
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
962
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
963
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
964
|
+
}>, Type.TObject<{
|
|
965
|
+
provider: Type.TLiteral<"opencode-go">;
|
|
966
|
+
model: Type.TUnion<[Type.TLiteral<"text-embedding-3-small">, Type.TLiteral<"qwen3-embedding-8b">, Type.TLiteral<"gemini-embedding-2">]>;
|
|
967
|
+
runtime: Type.TLiteral<"opencode-go-embeddings-v1">;
|
|
968
|
+
revision: Type.TNull;
|
|
969
|
+
quantization: Type.TNull;
|
|
970
|
+
dimensions: Type.TUnion<[Type.TInteger, Type.TNull]>;
|
|
971
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
972
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
973
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
974
|
+
}>]>;
|
|
480
975
|
}>>;
|
|
481
976
|
outcomes: Type.TArray<Type.TUnion<[Type.TObject<{
|
|
482
977
|
status: Type.TLiteral<"success">;
|
|
483
978
|
index: Type.TInteger;
|
|
484
979
|
vector: Type.TArray<Type.TNumber>;
|
|
485
|
-
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">]>;
|
|
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">]>;
|
|
486
981
|
model: Type.TString;
|
|
487
982
|
space: Type.TUnion<[Type.TObject<{
|
|
488
983
|
provider: Type.TLiteral<"local">;
|
|
@@ -504,6 +999,69 @@ export declare const embeddingResultSchema: Type.TObject<{
|
|
|
504
999
|
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
505
1000
|
prefix: Type.TLiteral<"title: none | text: ">;
|
|
506
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">;
|
|
507
1065
|
}>, Type.TObject<{
|
|
508
1066
|
provider: Type.TLiteral<"sarvam">;
|
|
509
1067
|
model: Type.TLiteral<"embeddinggemma-2">;
|
|
@@ -547,6 +1105,26 @@ export declare const embeddingResultSchema: Type.TObject<{
|
|
|
547
1105
|
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
548
1106
|
prefix: Type.TLiteral<"title: none | text: ">;
|
|
549
1107
|
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1108
|
+
}>, Type.TObject<{
|
|
1109
|
+
provider: Type.TLiteral<"opencode">;
|
|
1110
|
+
model: Type.TUnion<[Type.TLiteral<"text-embedding-3-small">, Type.TLiteral<"text-embedding-3-large">, Type.TLiteral<"gemini-embedding-2">, Type.TLiteral<"gemini-embedding-001">, Type.TLiteral<"codestral-embed">, Type.TLiteral<"mistral-embed">, Type.TLiteral<"cohere-embed-v5-pro">, Type.TLiteral<"cohere-embed-v5-fast">, Type.TLiteral<"voyage-4">, Type.TLiteral<"voyage-code-4">, Type.TLiteral<"qwen3-embedding-8b">, Type.TLiteral<"bge-m3">]>;
|
|
1111
|
+
runtime: Type.TLiteral<"opencode-console-embeddings-v1">;
|
|
1112
|
+
revision: Type.TNull;
|
|
1113
|
+
quantization: Type.TNull;
|
|
1114
|
+
dimensions: Type.TUnion<[Type.TInteger, Type.TNull]>;
|
|
1115
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1116
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1117
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1118
|
+
}>, Type.TObject<{
|
|
1119
|
+
provider: Type.TLiteral<"opencode-go">;
|
|
1120
|
+
model: Type.TUnion<[Type.TLiteral<"text-embedding-3-small">, Type.TLiteral<"qwen3-embedding-8b">, Type.TLiteral<"gemini-embedding-2">]>;
|
|
1121
|
+
runtime: Type.TLiteral<"opencode-go-embeddings-v1">;
|
|
1122
|
+
revision: Type.TNull;
|
|
1123
|
+
quantization: Type.TNull;
|
|
1124
|
+
dimensions: Type.TUnion<[Type.TInteger, Type.TNull]>;
|
|
1125
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1126
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1127
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
550
1128
|
}>]>;
|
|
551
1129
|
attemptId: Type.TString;
|
|
552
1130
|
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
@@ -558,7 +1136,7 @@ export declare const embeddingResultSchema: Type.TObject<{
|
|
|
558
1136
|
}>]>>;
|
|
559
1137
|
attempts: Type.TArray<Type.TObject<{
|
|
560
1138
|
id: Type.TString;
|
|
561
|
-
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">]>;
|
|
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">]>;
|
|
562
1140
|
model: Type.TString;
|
|
563
1141
|
routeIndex: Type.TInteger;
|
|
564
1142
|
status: Type.TUnion<[Type.TLiteral<"success">, Type.TLiteral<"error">, Type.TLiteral<"cancelled">]>;
|
|
@@ -571,12 +1149,12 @@ export declare const embeddingResultSchema: Type.TObject<{
|
|
|
571
1149
|
}>>;
|
|
572
1150
|
}>;
|
|
573
1151
|
export declare const embeddingCompareEntrySchema: Type.TObject<{
|
|
574
|
-
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">]>;
|
|
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">]>;
|
|
575
1153
|
model: Type.TString;
|
|
576
1154
|
status: Type.TUnion<[Type.TLiteral<"success">, Type.TLiteral<"error">, Type.TLiteral<"cancelled">]>;
|
|
577
1155
|
result: Type.TObject<{
|
|
578
1156
|
schemaVersion: Type.TLiteral<2>;
|
|
579
|
-
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.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]>;
|
|
580
1158
|
model: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
581
1159
|
space: Type.TUnion<[Type.TUnion<[Type.TObject<{
|
|
582
1160
|
provider: Type.TLiteral<"local">;
|
|
@@ -598,6 +1176,69 @@ export declare const embeddingCompareEntrySchema: Type.TObject<{
|
|
|
598
1176
|
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
599
1177
|
prefix: Type.TLiteral<"title: none | text: ">;
|
|
600
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">;
|
|
601
1242
|
}>, Type.TObject<{
|
|
602
1243
|
provider: Type.TLiteral<"sarvam">;
|
|
603
1244
|
model: Type.TLiteral<"embeddinggemma-2">;
|
|
@@ -641,9 +1282,29 @@ export declare const embeddingCompareEntrySchema: Type.TObject<{
|
|
|
641
1282
|
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
642
1283
|
prefix: Type.TLiteral<"title: none | text: ">;
|
|
643
1284
|
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1285
|
+
}>, Type.TObject<{
|
|
1286
|
+
provider: Type.TLiteral<"opencode">;
|
|
1287
|
+
model: Type.TUnion<[Type.TLiteral<"text-embedding-3-small">, Type.TLiteral<"text-embedding-3-large">, Type.TLiteral<"gemini-embedding-2">, Type.TLiteral<"gemini-embedding-001">, Type.TLiteral<"codestral-embed">, Type.TLiteral<"mistral-embed">, Type.TLiteral<"cohere-embed-v5-pro">, Type.TLiteral<"cohere-embed-v5-fast">, Type.TLiteral<"voyage-4">, Type.TLiteral<"voyage-code-4">, Type.TLiteral<"qwen3-embedding-8b">, Type.TLiteral<"bge-m3">]>;
|
|
1288
|
+
runtime: Type.TLiteral<"opencode-console-embeddings-v1">;
|
|
1289
|
+
revision: Type.TNull;
|
|
1290
|
+
quantization: Type.TNull;
|
|
1291
|
+
dimensions: Type.TUnion<[Type.TInteger, Type.TNull]>;
|
|
1292
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1293
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1294
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1295
|
+
}>, Type.TObject<{
|
|
1296
|
+
provider: Type.TLiteral<"opencode-go">;
|
|
1297
|
+
model: Type.TUnion<[Type.TLiteral<"text-embedding-3-small">, Type.TLiteral<"qwen3-embedding-8b">, Type.TLiteral<"gemini-embedding-2">]>;
|
|
1298
|
+
runtime: Type.TLiteral<"opencode-go-embeddings-v1">;
|
|
1299
|
+
revision: Type.TNull;
|
|
1300
|
+
quantization: Type.TNull;
|
|
1301
|
+
dimensions: Type.TUnion<[Type.TInteger, Type.TNull]>;
|
|
1302
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1303
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1304
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
644
1305
|
}>]>, Type.TNull]>;
|
|
645
1306
|
generations: Type.TArray<Type.TObject<{
|
|
646
|
-
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">]>;
|
|
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">]>;
|
|
647
1308
|
model: Type.TString;
|
|
648
1309
|
space: Type.TUnion<[Type.TObject<{
|
|
649
1310
|
provider: Type.TLiteral<"local">;
|
|
@@ -665,6 +1326,69 @@ export declare const embeddingCompareEntrySchema: Type.TObject<{
|
|
|
665
1326
|
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
666
1327
|
prefix: Type.TLiteral<"title: none | text: ">;
|
|
667
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">;
|
|
668
1392
|
}>, Type.TObject<{
|
|
669
1393
|
provider: Type.TLiteral<"sarvam">;
|
|
670
1394
|
model: Type.TLiteral<"embeddinggemma-2">;
|
|
@@ -708,13 +1432,33 @@ export declare const embeddingCompareEntrySchema: Type.TObject<{
|
|
|
708
1432
|
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
709
1433
|
prefix: Type.TLiteral<"title: none | text: ">;
|
|
710
1434
|
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1435
|
+
}>, Type.TObject<{
|
|
1436
|
+
provider: Type.TLiteral<"opencode">;
|
|
1437
|
+
model: Type.TUnion<[Type.TLiteral<"text-embedding-3-small">, Type.TLiteral<"text-embedding-3-large">, Type.TLiteral<"gemini-embedding-2">, Type.TLiteral<"gemini-embedding-001">, Type.TLiteral<"codestral-embed">, Type.TLiteral<"mistral-embed">, Type.TLiteral<"cohere-embed-v5-pro">, Type.TLiteral<"cohere-embed-v5-fast">, Type.TLiteral<"voyage-4">, Type.TLiteral<"voyage-code-4">, Type.TLiteral<"qwen3-embedding-8b">, Type.TLiteral<"bge-m3">]>;
|
|
1438
|
+
runtime: Type.TLiteral<"opencode-console-embeddings-v1">;
|
|
1439
|
+
revision: Type.TNull;
|
|
1440
|
+
quantization: Type.TNull;
|
|
1441
|
+
dimensions: Type.TUnion<[Type.TInteger, Type.TNull]>;
|
|
1442
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1443
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1444
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1445
|
+
}>, Type.TObject<{
|
|
1446
|
+
provider: Type.TLiteral<"opencode-go">;
|
|
1447
|
+
model: Type.TUnion<[Type.TLiteral<"text-embedding-3-small">, Type.TLiteral<"qwen3-embedding-8b">, Type.TLiteral<"gemini-embedding-2">]>;
|
|
1448
|
+
runtime: Type.TLiteral<"opencode-go-embeddings-v1">;
|
|
1449
|
+
revision: Type.TNull;
|
|
1450
|
+
quantization: Type.TNull;
|
|
1451
|
+
dimensions: Type.TUnion<[Type.TInteger, Type.TNull]>;
|
|
1452
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1453
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1454
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
711
1455
|
}>]>;
|
|
712
1456
|
}>>;
|
|
713
1457
|
outcomes: Type.TArray<Type.TUnion<[Type.TObject<{
|
|
714
1458
|
status: Type.TLiteral<"success">;
|
|
715
1459
|
index: Type.TInteger;
|
|
716
1460
|
vector: Type.TArray<Type.TNumber>;
|
|
717
|
-
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">]>;
|
|
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">]>;
|
|
718
1462
|
model: Type.TString;
|
|
719
1463
|
space: Type.TUnion<[Type.TObject<{
|
|
720
1464
|
provider: Type.TLiteral<"local">;
|
|
@@ -736,6 +1480,69 @@ export declare const embeddingCompareEntrySchema: Type.TObject<{
|
|
|
736
1480
|
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
737
1481
|
prefix: Type.TLiteral<"title: none | text: ">;
|
|
738
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">;
|
|
739
1546
|
}>, Type.TObject<{
|
|
740
1547
|
provider: Type.TLiteral<"sarvam">;
|
|
741
1548
|
model: Type.TLiteral<"embeddinggemma-2">;
|
|
@@ -779,6 +1586,26 @@ export declare const embeddingCompareEntrySchema: Type.TObject<{
|
|
|
779
1586
|
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
780
1587
|
prefix: Type.TLiteral<"title: none | text: ">;
|
|
781
1588
|
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1589
|
+
}>, Type.TObject<{
|
|
1590
|
+
provider: Type.TLiteral<"opencode">;
|
|
1591
|
+
model: Type.TUnion<[Type.TLiteral<"text-embedding-3-small">, Type.TLiteral<"text-embedding-3-large">, Type.TLiteral<"gemini-embedding-2">, Type.TLiteral<"gemini-embedding-001">, Type.TLiteral<"codestral-embed">, Type.TLiteral<"mistral-embed">, Type.TLiteral<"cohere-embed-v5-pro">, Type.TLiteral<"cohere-embed-v5-fast">, Type.TLiteral<"voyage-4">, Type.TLiteral<"voyage-code-4">, Type.TLiteral<"qwen3-embedding-8b">, Type.TLiteral<"bge-m3">]>;
|
|
1592
|
+
runtime: Type.TLiteral<"opencode-console-embeddings-v1">;
|
|
1593
|
+
revision: Type.TNull;
|
|
1594
|
+
quantization: Type.TNull;
|
|
1595
|
+
dimensions: Type.TUnion<[Type.TInteger, Type.TNull]>;
|
|
1596
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1597
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1598
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1599
|
+
}>, Type.TObject<{
|
|
1600
|
+
provider: Type.TLiteral<"opencode-go">;
|
|
1601
|
+
model: Type.TUnion<[Type.TLiteral<"text-embedding-3-small">, Type.TLiteral<"qwen3-embedding-8b">, Type.TLiteral<"gemini-embedding-2">]>;
|
|
1602
|
+
runtime: Type.TLiteral<"opencode-go-embeddings-v1">;
|
|
1603
|
+
revision: Type.TNull;
|
|
1604
|
+
quantization: Type.TNull;
|
|
1605
|
+
dimensions: Type.TUnion<[Type.TInteger, Type.TNull]>;
|
|
1606
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1607
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1608
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
782
1609
|
}>]>;
|
|
783
1610
|
attemptId: Type.TString;
|
|
784
1611
|
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
@@ -790,7 +1617,7 @@ export declare const embeddingCompareEntrySchema: Type.TObject<{
|
|
|
790
1617
|
}>]>>;
|
|
791
1618
|
attempts: Type.TArray<Type.TObject<{
|
|
792
1619
|
id: Type.TString;
|
|
793
|
-
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">]>;
|
|
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">]>;
|
|
794
1621
|
model: Type.TString;
|
|
795
1622
|
routeIndex: Type.TInteger;
|
|
796
1623
|
status: Type.TUnion<[Type.TLiteral<"success">, Type.TLiteral<"error">, Type.TLiteral<"cancelled">]>;
|
|
@@ -806,12 +1633,12 @@ export declare const embeddingCompareEntrySchema: Type.TObject<{
|
|
|
806
1633
|
export declare const embeddingCompareResultSchema: Type.TObject<{
|
|
807
1634
|
schemaVersion: Type.TLiteral<2>;
|
|
808
1635
|
entries: Type.TArray<Type.TObject<{
|
|
809
|
-
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">]>;
|
|
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">]>;
|
|
810
1637
|
model: Type.TString;
|
|
811
1638
|
status: Type.TUnion<[Type.TLiteral<"success">, Type.TLiteral<"error">, Type.TLiteral<"cancelled">]>;
|
|
812
1639
|
result: Type.TObject<{
|
|
813
1640
|
schemaVersion: Type.TLiteral<2>;
|
|
814
|
-
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.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]>;
|
|
815
1642
|
model: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
816
1643
|
space: Type.TUnion<[Type.TUnion<[Type.TObject<{
|
|
817
1644
|
provider: Type.TLiteral<"local">;
|
|
@@ -833,6 +1660,69 @@ export declare const embeddingCompareResultSchema: Type.TObject<{
|
|
|
833
1660
|
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
834
1661
|
prefix: Type.TLiteral<"title: none | text: ">;
|
|
835
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">;
|
|
836
1726
|
}>, Type.TObject<{
|
|
837
1727
|
provider: Type.TLiteral<"sarvam">;
|
|
838
1728
|
model: Type.TLiteral<"embeddinggemma-2">;
|
|
@@ -876,9 +1766,29 @@ export declare const embeddingCompareResultSchema: Type.TObject<{
|
|
|
876
1766
|
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
877
1767
|
prefix: Type.TLiteral<"title: none | text: ">;
|
|
878
1768
|
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1769
|
+
}>, Type.TObject<{
|
|
1770
|
+
provider: Type.TLiteral<"opencode">;
|
|
1771
|
+
model: Type.TUnion<[Type.TLiteral<"text-embedding-3-small">, Type.TLiteral<"text-embedding-3-large">, Type.TLiteral<"gemini-embedding-2">, Type.TLiteral<"gemini-embedding-001">, Type.TLiteral<"codestral-embed">, Type.TLiteral<"mistral-embed">, Type.TLiteral<"cohere-embed-v5-pro">, Type.TLiteral<"cohere-embed-v5-fast">, Type.TLiteral<"voyage-4">, Type.TLiteral<"voyage-code-4">, Type.TLiteral<"qwen3-embedding-8b">, Type.TLiteral<"bge-m3">]>;
|
|
1772
|
+
runtime: Type.TLiteral<"opencode-console-embeddings-v1">;
|
|
1773
|
+
revision: Type.TNull;
|
|
1774
|
+
quantization: Type.TNull;
|
|
1775
|
+
dimensions: Type.TUnion<[Type.TInteger, Type.TNull]>;
|
|
1776
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1777
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1778
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1779
|
+
}>, Type.TObject<{
|
|
1780
|
+
provider: Type.TLiteral<"opencode-go">;
|
|
1781
|
+
model: Type.TUnion<[Type.TLiteral<"text-embedding-3-small">, Type.TLiteral<"qwen3-embedding-8b">, Type.TLiteral<"gemini-embedding-2">]>;
|
|
1782
|
+
runtime: Type.TLiteral<"opencode-go-embeddings-v1">;
|
|
1783
|
+
revision: Type.TNull;
|
|
1784
|
+
quantization: Type.TNull;
|
|
1785
|
+
dimensions: Type.TUnion<[Type.TInteger, Type.TNull]>;
|
|
1786
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1787
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1788
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
879
1789
|
}>]>, Type.TNull]>;
|
|
880
1790
|
generations: Type.TArray<Type.TObject<{
|
|
881
|
-
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">]>;
|
|
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">]>;
|
|
882
1792
|
model: Type.TString;
|
|
883
1793
|
space: Type.TUnion<[Type.TObject<{
|
|
884
1794
|
provider: Type.TLiteral<"local">;
|
|
@@ -900,6 +1810,69 @@ export declare const embeddingCompareResultSchema: Type.TObject<{
|
|
|
900
1810
|
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
901
1811
|
prefix: Type.TLiteral<"title: none | text: ">;
|
|
902
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">;
|
|
903
1876
|
}>, Type.TObject<{
|
|
904
1877
|
provider: Type.TLiteral<"sarvam">;
|
|
905
1878
|
model: Type.TLiteral<"embeddinggemma-2">;
|
|
@@ -943,13 +1916,33 @@ export declare const embeddingCompareResultSchema: Type.TObject<{
|
|
|
943
1916
|
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
944
1917
|
prefix: Type.TLiteral<"title: none | text: ">;
|
|
945
1918
|
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1919
|
+
}>, Type.TObject<{
|
|
1920
|
+
provider: Type.TLiteral<"opencode">;
|
|
1921
|
+
model: Type.TUnion<[Type.TLiteral<"text-embedding-3-small">, Type.TLiteral<"text-embedding-3-large">, Type.TLiteral<"gemini-embedding-2">, Type.TLiteral<"gemini-embedding-001">, Type.TLiteral<"codestral-embed">, Type.TLiteral<"mistral-embed">, Type.TLiteral<"cohere-embed-v5-pro">, Type.TLiteral<"cohere-embed-v5-fast">, Type.TLiteral<"voyage-4">, Type.TLiteral<"voyage-code-4">, Type.TLiteral<"qwen3-embedding-8b">, Type.TLiteral<"bge-m3">]>;
|
|
1922
|
+
runtime: Type.TLiteral<"opencode-console-embeddings-v1">;
|
|
1923
|
+
revision: Type.TNull;
|
|
1924
|
+
quantization: Type.TNull;
|
|
1925
|
+
dimensions: Type.TUnion<[Type.TInteger, Type.TNull]>;
|
|
1926
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1927
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1928
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1929
|
+
}>, Type.TObject<{
|
|
1930
|
+
provider: Type.TLiteral<"opencode-go">;
|
|
1931
|
+
model: Type.TUnion<[Type.TLiteral<"text-embedding-3-small">, Type.TLiteral<"qwen3-embedding-8b">, Type.TLiteral<"gemini-embedding-2">]>;
|
|
1932
|
+
runtime: Type.TLiteral<"opencode-go-embeddings-v1">;
|
|
1933
|
+
revision: Type.TNull;
|
|
1934
|
+
quantization: Type.TNull;
|
|
1935
|
+
dimensions: Type.TUnion<[Type.TInteger, Type.TNull]>;
|
|
1936
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1937
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1938
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
946
1939
|
}>]>;
|
|
947
1940
|
}>>;
|
|
948
1941
|
outcomes: Type.TArray<Type.TUnion<[Type.TObject<{
|
|
949
1942
|
status: Type.TLiteral<"success">;
|
|
950
1943
|
index: Type.TInteger;
|
|
951
1944
|
vector: Type.TArray<Type.TNumber>;
|
|
952
|
-
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">]>;
|
|
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">]>;
|
|
953
1946
|
model: Type.TString;
|
|
954
1947
|
space: Type.TUnion<[Type.TObject<{
|
|
955
1948
|
provider: Type.TLiteral<"local">;
|
|
@@ -971,6 +1964,69 @@ export declare const embeddingCompareResultSchema: Type.TObject<{
|
|
|
971
1964
|
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
972
1965
|
prefix: Type.TLiteral<"title: none | text: ">;
|
|
973
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">;
|
|
974
2030
|
}>, Type.TObject<{
|
|
975
2031
|
provider: Type.TLiteral<"sarvam">;
|
|
976
2032
|
model: Type.TLiteral<"embeddinggemma-2">;
|
|
@@ -1014,6 +2070,26 @@ export declare const embeddingCompareResultSchema: Type.TObject<{
|
|
|
1014
2070
|
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
1015
2071
|
prefix: Type.TLiteral<"title: none | text: ">;
|
|
1016
2072
|
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
2073
|
+
}>, Type.TObject<{
|
|
2074
|
+
provider: Type.TLiteral<"opencode">;
|
|
2075
|
+
model: Type.TUnion<[Type.TLiteral<"text-embedding-3-small">, Type.TLiteral<"text-embedding-3-large">, Type.TLiteral<"gemini-embedding-2">, Type.TLiteral<"gemini-embedding-001">, Type.TLiteral<"codestral-embed">, Type.TLiteral<"mistral-embed">, Type.TLiteral<"cohere-embed-v5-pro">, Type.TLiteral<"cohere-embed-v5-fast">, Type.TLiteral<"voyage-4">, Type.TLiteral<"voyage-code-4">, Type.TLiteral<"qwen3-embedding-8b">, Type.TLiteral<"bge-m3">]>;
|
|
2076
|
+
runtime: Type.TLiteral<"opencode-console-embeddings-v1">;
|
|
2077
|
+
revision: Type.TNull;
|
|
2078
|
+
quantization: Type.TNull;
|
|
2079
|
+
dimensions: Type.TUnion<[Type.TInteger, Type.TNull]>;
|
|
2080
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
2081
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
2082
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
2083
|
+
}>, Type.TObject<{
|
|
2084
|
+
provider: Type.TLiteral<"opencode-go">;
|
|
2085
|
+
model: Type.TUnion<[Type.TLiteral<"text-embedding-3-small">, Type.TLiteral<"qwen3-embedding-8b">, Type.TLiteral<"gemini-embedding-2">]>;
|
|
2086
|
+
runtime: Type.TLiteral<"opencode-go-embeddings-v1">;
|
|
2087
|
+
revision: Type.TNull;
|
|
2088
|
+
quantization: Type.TNull;
|
|
2089
|
+
dimensions: Type.TUnion<[Type.TInteger, Type.TNull]>;
|
|
2090
|
+
format: Type.TLiteral<"host-display-attributes-v1">;
|
|
2091
|
+
prefix: Type.TLiteral<"title: none | text: ">;
|
|
2092
|
+
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
1017
2093
|
}>]>;
|
|
1018
2094
|
attemptId: Type.TString;
|
|
1019
2095
|
normalization: Type.TLiteral<"finite-nonzero-l2-v1">;
|
|
@@ -1025,7 +2101,7 @@ export declare const embeddingCompareResultSchema: Type.TObject<{
|
|
|
1025
2101
|
}>]>>;
|
|
1026
2102
|
attempts: Type.TArray<Type.TObject<{
|
|
1027
2103
|
id: Type.TString;
|
|
1028
|
-
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">]>;
|
|
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">]>;
|
|
1029
2105
|
model: Type.TString;
|
|
1030
2106
|
routeIndex: Type.TInteger;
|
|
1031
2107
|
status: Type.TUnion<[Type.TLiteral<"success">, Type.TLiteral<"error">, Type.TLiteral<"cancelled">]>;
|