weave-typescript 0.5.1 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/weaveapi/llmx/v1/architecture.pb.d.ts +377 -0
- package/dist/weaveapi/llmx/v1/architecture.pb.js +2756 -0
- package/dist/weaveapi/llmx/v1/capabilities.pb.d.ts +491 -0
- package/dist/weaveapi/llmx/v1/capabilities.pb.js +3159 -0
- package/dist/weaveapi/{modex → llmx}/v1/model.pb.d.ts +86 -42
- package/dist/weaveapi/{modex → llmx}/v1/model.pb.js +119 -442
- package/dist/weaveapi/llmx/v1/pricing.pb.d.ts +142 -0
- package/dist/weaveapi/llmx/v1/pricing.pb.js +825 -0
- package/dist/weaveapi/{modex → llmx}/v1/provider.pb.d.ts +1 -3
- package/dist/weaveapi/{modex → llmx}/v1/provider.pb.js +3 -57
- package/dist/weaveapi/{modex → llmx}/v1/service.pb.d.ts +20 -20
- package/dist/weaveapi/{modex → llmx}/v1/service.pb.js +17 -17
- package/dist/weavesql/llmxdb/capabilities_sql.d.ts +151 -0
- package/dist/weavesql/llmxdb/capabilities_sql.js +241 -0
- package/dist/weavesql/llmxdb/changes_sql.d.ts +81 -0
- package/dist/weavesql/llmxdb/changes_sql.js +118 -0
- package/dist/weavesql/llmxdb/models_sql.d.ts +198 -0
- package/dist/weavesql/llmxdb/models_sql.js +244 -0
- package/dist/weavesql/llmxdb/providers_sql.d.ts +122 -0
- package/dist/weavesql/llmxdb/providers_sql.js +179 -0
- package/dist/weavesql/llmxdb/scraper_runs_sql.d.ts +83 -0
- package/dist/weavesql/llmxdb/scraper_runs_sql.js +137 -0
- package/dist/weavesql/llmxdb/search_sql.d.ts +272 -0
- package/dist/weavesql/llmxdb/search_sql.js +348 -0
- package/dist/weavesql/weavedb/dataset_sql.d.ts +17 -0
- package/dist/weavesql/weavedb/dataset_sql.js +21 -0
- package/dist/weavesql/weavedb/relationships_sql.d.ts +16 -0
- package/dist/weavesql/weavedb/relationships_sql.js +32 -0
- package/dist/weavesql/weavedb/storage_sql.d.ts +33 -0
- package/dist/weavesql/weavedb/storage_sql.js +54 -0
- package/dist/weavesql/weavedb/synthesizer_sql.d.ts +28 -0
- package/dist/weavesql/weavedb/synthesizer_sql.js +42 -0
- package/package.json +4 -1
|
@@ -0,0 +1,377 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
+
import { DataFormat } from "./capabilities.pb";
|
|
3
|
+
export declare const protobufPackage = "weaveapi.llmx.v1";
|
|
4
|
+
/** Base architecture types */
|
|
5
|
+
export declare enum BaseArchitecture {
|
|
6
|
+
BASE_ARCHITECTURE_UNSPECIFIED = 0,
|
|
7
|
+
BASE_ARCHITECTURE_TRANSFORMER = 1,
|
|
8
|
+
BASE_ARCHITECTURE_MAMBA = 2,
|
|
9
|
+
BASE_ARCHITECTURE_HYBRID = 3,
|
|
10
|
+
BASE_ARCHITECTURE_RECURRENT_NEURAL_NETWORK = 4,
|
|
11
|
+
BASE_ARCHITECTURE_CONVOLUTIONAL_NEURAL_NETWORK = 5,
|
|
12
|
+
BASE_ARCHITECTURE_DIFFUSION = 6,
|
|
13
|
+
BASE_ARCHITECTURE_GENERATIVE_ADVERSARIAL_NETWORK = 7,
|
|
14
|
+
UNRECOGNIZED = -1
|
|
15
|
+
}
|
|
16
|
+
export declare function baseArchitectureFromJSON(object: any): BaseArchitecture;
|
|
17
|
+
export declare function baseArchitectureToJSON(object: BaseArchitecture): string;
|
|
18
|
+
/** Model architecture types */
|
|
19
|
+
export declare enum ModelArchitecture {
|
|
20
|
+
MODEL_ARCHITECTURE_UNSPECIFIED = 0,
|
|
21
|
+
MODEL_ARCHITECTURE_GPT = 1,
|
|
22
|
+
MODEL_ARCHITECTURE_BERT = 2,
|
|
23
|
+
MODEL_ARCHITECTURE_T5 = 3,
|
|
24
|
+
MODEL_ARCHITECTURE_LLAMA = 4,
|
|
25
|
+
MODEL_ARCHITECTURE_MISTRAL = 5,
|
|
26
|
+
MODEL_ARCHITECTURE_GEMMA = 6,
|
|
27
|
+
MODEL_ARCHITECTURE_QWEN = 7,
|
|
28
|
+
MODEL_ARCHITECTURE_PHI = 8,
|
|
29
|
+
MODEL_ARCHITECTURE_CLAUDE = 9,
|
|
30
|
+
MODEL_ARCHITECTURE_COMMAND = 10,
|
|
31
|
+
MODEL_ARCHITECTURE_PALM = 11,
|
|
32
|
+
MODEL_ARCHITECTURE_FALCON = 12,
|
|
33
|
+
MODEL_ARCHITECTURE_STARCODER = 13,
|
|
34
|
+
MODEL_ARCHITECTURE_CODEGEN = 14,
|
|
35
|
+
MODEL_ARCHITECTURE_DEEPSEEK = 15,
|
|
36
|
+
MODEL_ARCHITECTURE_YI = 16,
|
|
37
|
+
MODEL_ARCHITECTURE_MIXTRAL = 17,
|
|
38
|
+
MODEL_ARCHITECTURE_GEMINI = 18,
|
|
39
|
+
UNRECOGNIZED = -1
|
|
40
|
+
}
|
|
41
|
+
export declare function modelArchitectureFromJSON(object: any): ModelArchitecture;
|
|
42
|
+
export declare function modelArchitectureToJSON(object: ModelArchitecture): string;
|
|
43
|
+
/** Position embedding types */
|
|
44
|
+
export declare enum PositionEmbedding {
|
|
45
|
+
POSITION_EMBEDDING_UNSPECIFIED = 0,
|
|
46
|
+
POSITION_EMBEDDING_ABSOLUTE = 1,
|
|
47
|
+
POSITION_EMBEDDING_RELATIVE = 2,
|
|
48
|
+
POSITION_EMBEDDING_ROTARY = 3,
|
|
49
|
+
POSITION_EMBEDDING_ALIBI = 4,
|
|
50
|
+
POSITION_EMBEDDING_LEARNED = 5,
|
|
51
|
+
POSITION_EMBEDDING_SINUSOIDAL = 6,
|
|
52
|
+
UNRECOGNIZED = -1
|
|
53
|
+
}
|
|
54
|
+
export declare function positionEmbeddingFromJSON(object: any): PositionEmbedding;
|
|
55
|
+
export declare function positionEmbeddingToJSON(object: PositionEmbedding): string;
|
|
56
|
+
/** Activation function types */
|
|
57
|
+
export declare enum ActivationFunction {
|
|
58
|
+
ACTIVATION_FUNCTION_UNSPECIFIED = 0,
|
|
59
|
+
ACTIVATION_FUNCTION_GELU = 1,
|
|
60
|
+
ACTIVATION_FUNCTION_SWIGLU = 2,
|
|
61
|
+
ACTIVATION_FUNCTION_RELU = 3,
|
|
62
|
+
ACTIVATION_FUNCTION_SILU = 4,
|
|
63
|
+
ACTIVATION_FUNCTION_TANH = 5,
|
|
64
|
+
ACTIVATION_FUNCTION_SIGMOID = 6,
|
|
65
|
+
ACTIVATION_FUNCTION_MISH = 7,
|
|
66
|
+
ACTIVATION_FUNCTION_LEAKY_RELU = 8,
|
|
67
|
+
UNRECOGNIZED = -1
|
|
68
|
+
}
|
|
69
|
+
export declare function activationFunctionFromJSON(object: any): ActivationFunction;
|
|
70
|
+
export declare function activationFunctionToJSON(object: ActivationFunction): string;
|
|
71
|
+
/** Training technique types */
|
|
72
|
+
export declare enum TrainingTechnique {
|
|
73
|
+
TRAINING_TECHNIQUE_UNSPECIFIED = 0,
|
|
74
|
+
TRAINING_TECHNIQUE_SUPERVISED = 1,
|
|
75
|
+
TRAINING_TECHNIQUE_REINFORCEMENT_LEARNING_FROM_HUMAN_FEEDBACK = 2,
|
|
76
|
+
TRAINING_TECHNIQUE_CONSTITUTIONAL_AI = 3,
|
|
77
|
+
TRAINING_TECHNIQUE_DIRECT_PREFERENCE_OPTIMIZATION = 4,
|
|
78
|
+
TRAINING_TECHNIQUE_PROXIMAL_POLICY_OPTIMIZATION = 5,
|
|
79
|
+
TRAINING_TECHNIQUE_SUPERVISED_FINE_TUNING = 6,
|
|
80
|
+
TRAINING_TECHNIQUE_INSTRUCTION_TUNING = 7,
|
|
81
|
+
TRAINING_TECHNIQUE_FEW_SHOT = 8,
|
|
82
|
+
TRAINING_TECHNIQUE_CHAIN_OF_THOUGHT = 9,
|
|
83
|
+
UNRECOGNIZED = -1
|
|
84
|
+
}
|
|
85
|
+
export declare function trainingTechniqueFromJSON(object: any): TrainingTechnique;
|
|
86
|
+
export declare function trainingTechniqueToJSON(object: TrainingTechnique): string;
|
|
87
|
+
/** Quantization types */
|
|
88
|
+
export declare enum Quantization {
|
|
89
|
+
QUANTIZATION_UNSPECIFIED = 0,
|
|
90
|
+
QUANTIZATION_NONE = 1,
|
|
91
|
+
QUANTIZATION_INT8 = 2,
|
|
92
|
+
QUANTIZATION_INT4 = 3,
|
|
93
|
+
QUANTIZATION_FP8 = 4,
|
|
94
|
+
QUANTIZATION_GPTQ = 5,
|
|
95
|
+
QUANTIZATION_AWQ = 6,
|
|
96
|
+
QUANTIZATION_GGUF = 7,
|
|
97
|
+
QUANTIZATION_BITSANDBYTES = 8,
|
|
98
|
+
UNRECOGNIZED = -1
|
|
99
|
+
}
|
|
100
|
+
export declare function quantizationFromJSON(object: any): Quantization;
|
|
101
|
+
export declare function quantizationToJSON(object: Quantization): string;
|
|
102
|
+
/** Precision types */
|
|
103
|
+
export declare enum Precision {
|
|
104
|
+
PRECISION_UNSPECIFIED = 0,
|
|
105
|
+
PRECISION_FP32 = 1,
|
|
106
|
+
PRECISION_FP16 = 2,
|
|
107
|
+
PRECISION_BF16 = 3,
|
|
108
|
+
PRECISION_INT8 = 4,
|
|
109
|
+
PRECISION_MIXED = 5,
|
|
110
|
+
UNRECOGNIZED = -1
|
|
111
|
+
}
|
|
112
|
+
export declare function precisionFromJSON(object: any): Precision;
|
|
113
|
+
export declare function precisionToJSON(object: Precision): string;
|
|
114
|
+
/** Inference framework types */
|
|
115
|
+
export declare enum InferenceFramework {
|
|
116
|
+
INFERENCE_FRAMEWORK_UNSPECIFIED = 0,
|
|
117
|
+
INFERENCE_FRAMEWORK_VLLM = 1,
|
|
118
|
+
INFERENCE_FRAMEWORK_TGI = 2,
|
|
119
|
+
INFERENCE_FRAMEWORK_TRITON = 3,
|
|
120
|
+
INFERENCE_FRAMEWORK_TENSORRT = 4,
|
|
121
|
+
INFERENCE_FRAMEWORK_ONNX = 5,
|
|
122
|
+
INFERENCE_FRAMEWORK_TORCHSERVE = 6,
|
|
123
|
+
INFERENCE_FRAMEWORK_TENSORFLOW_SERVING = 7,
|
|
124
|
+
INFERENCE_FRAMEWORK_RAY_SERVE = 8,
|
|
125
|
+
INFERENCE_FRAMEWORK_DEEPSPEED = 9,
|
|
126
|
+
INFERENCE_FRAMEWORK_FASTERTRANSFORMER = 10,
|
|
127
|
+
UNRECOGNIZED = -1
|
|
128
|
+
}
|
|
129
|
+
export declare function inferenceFrameworkFromJSON(object: any): InferenceFramework;
|
|
130
|
+
export declare function inferenceFrameworkToJSON(object: InferenceFramework): string;
|
|
131
|
+
/** Model format types */
|
|
132
|
+
export declare enum ModelFormat {
|
|
133
|
+
MODEL_FORMAT_UNSPECIFIED = 0,
|
|
134
|
+
MODEL_FORMAT_SAFETENSORS = 1,
|
|
135
|
+
MODEL_FORMAT_GGUF = 2,
|
|
136
|
+
MODEL_FORMAT_ONNX = 3,
|
|
137
|
+
MODEL_FORMAT_PYTORCH = 4,
|
|
138
|
+
MODEL_FORMAT_TENSORFLOW = 5,
|
|
139
|
+
MODEL_FORMAT_JAX = 6,
|
|
140
|
+
MODEL_FORMAT_COREML = 7,
|
|
141
|
+
MODEL_FORMAT_OPENVINO = 8,
|
|
142
|
+
MODEL_FORMAT_TENSORRT = 9,
|
|
143
|
+
UNRECOGNIZED = -1
|
|
144
|
+
}
|
|
145
|
+
export declare function modelFormatFromJSON(object: any): ModelFormat;
|
|
146
|
+
export declare function modelFormatToJSON(object: ModelFormat): string;
|
|
147
|
+
/** Checkpoint format types */
|
|
148
|
+
export declare enum CheckpointFormat {
|
|
149
|
+
CHECKPOINT_FORMAT_UNSPECIFIED = 0,
|
|
150
|
+
CHECKPOINT_FORMAT_PYTORCH = 1,
|
|
151
|
+
CHECKPOINT_FORMAT_TENSORFLOW = 2,
|
|
152
|
+
CHECKPOINT_FORMAT_SAFETENSORS = 3,
|
|
153
|
+
CHECKPOINT_FORMAT_HF = 4,
|
|
154
|
+
CHECKPOINT_FORMAT_MEGATRON = 5,
|
|
155
|
+
CHECKPOINT_FORMAT_DEEPSPEED = 6,
|
|
156
|
+
UNRECOGNIZED = -1
|
|
157
|
+
}
|
|
158
|
+
export declare function checkpointFormatFromJSON(object: any): CheckpointFormat;
|
|
159
|
+
export declare function checkpointFormatToJSON(object: CheckpointFormat): string;
|
|
160
|
+
/** GPU types */
|
|
161
|
+
export declare enum GPUType {
|
|
162
|
+
GPU_TYPE_UNSPECIFIED = 0,
|
|
163
|
+
/** GPU_TYPE_A100 - Datacenter/Enterprise GPUs */
|
|
164
|
+
GPU_TYPE_A100 = 1,
|
|
165
|
+
GPU_TYPE_H100 = 2,
|
|
166
|
+
GPU_TYPE_V100 = 3,
|
|
167
|
+
GPU_TYPE_T4 = 4,
|
|
168
|
+
GPU_TYPE_L4 = 5,
|
|
169
|
+
GPU_TYPE_L40 = 6,
|
|
170
|
+
GPU_TYPE_A10 = 7,
|
|
171
|
+
GPU_TYPE_A40 = 8,
|
|
172
|
+
GPU_TYPE_RTX_A6000 = 9,
|
|
173
|
+
GPU_TYPE_RTX_A5000 = 10,
|
|
174
|
+
GPU_TYPE_RTX_A4000 = 11,
|
|
175
|
+
/** GPU_TYPE_RTX_4090 - Consumer GPUs (40 series) */
|
|
176
|
+
GPU_TYPE_RTX_4090 = 20,
|
|
177
|
+
GPU_TYPE_RTX_4080 = 21,
|
|
178
|
+
GPU_TYPE_RTX_4070_TI = 22,
|
|
179
|
+
GPU_TYPE_RTX_4070 = 23,
|
|
180
|
+
GPU_TYPE_RTX_4060_TI = 24,
|
|
181
|
+
GPU_TYPE_RTX_4060 = 25,
|
|
182
|
+
/** GPU_TYPE_RTX_3090_TI - Consumer GPUs (30 series) */
|
|
183
|
+
GPU_TYPE_RTX_3090_TI = 30,
|
|
184
|
+
GPU_TYPE_RTX_3090 = 31,
|
|
185
|
+
GPU_TYPE_RTX_3080_TI = 32,
|
|
186
|
+
GPU_TYPE_RTX_3080 = 33,
|
|
187
|
+
GPU_TYPE_RTX_3070_TI = 34,
|
|
188
|
+
GPU_TYPE_RTX_3070 = 35,
|
|
189
|
+
GPU_TYPE_RTX_3060_TI = 36,
|
|
190
|
+
GPU_TYPE_RTX_3060 = 37,
|
|
191
|
+
/** GPU_TYPE_MI300 - AMD GPUs */
|
|
192
|
+
GPU_TYPE_MI300 = 50,
|
|
193
|
+
GPU_TYPE_MI250 = 51,
|
|
194
|
+
GPU_TYPE_MI210 = 52,
|
|
195
|
+
GPU_TYPE_RX_7900_XTX = 53,
|
|
196
|
+
GPU_TYPE_RX_7900_XT = 54,
|
|
197
|
+
GPU_TYPE_RX_6900_XT = 55,
|
|
198
|
+
/** GPU_TYPE_M3_MAX - Apple Silicon (unified memory) */
|
|
199
|
+
GPU_TYPE_M3_MAX = 60,
|
|
200
|
+
GPU_TYPE_M3_PRO = 61,
|
|
201
|
+
GPU_TYPE_M3 = 62,
|
|
202
|
+
GPU_TYPE_M2_ULTRA = 63,
|
|
203
|
+
GPU_TYPE_M2_MAX = 64,
|
|
204
|
+
GPU_TYPE_M2_PRO = 65,
|
|
205
|
+
GPU_TYPE_M2 = 66,
|
|
206
|
+
GPU_TYPE_M1_ULTRA = 67,
|
|
207
|
+
GPU_TYPE_M1_MAX = 68,
|
|
208
|
+
GPU_TYPE_M1_PRO = 69,
|
|
209
|
+
GPU_TYPE_M1 = 70,
|
|
210
|
+
/** GPU_TYPE_RTX_2080_TI - Older but still relevant */
|
|
211
|
+
GPU_TYPE_RTX_2080_TI = 80,
|
|
212
|
+
GPU_TYPE_TITAN_RTX = 81,
|
|
213
|
+
GPU_TYPE_GTX_1080_TI = 82,
|
|
214
|
+
UNRECOGNIZED = -1
|
|
215
|
+
}
|
|
216
|
+
export declare function gPUTypeFromJSON(object: any): GPUType;
|
|
217
|
+
export declare function gPUTypeToJSON(object: GPUType): string;
|
|
218
|
+
/** CPU architecture types */
|
|
219
|
+
export declare enum CPUType {
|
|
220
|
+
CPU_TYPE_UNSPECIFIED = 0,
|
|
221
|
+
CPU_TYPE_X86_64 = 1,
|
|
222
|
+
CPU_TYPE_ARM64 = 2,
|
|
223
|
+
CPU_TYPE_APPLE_SILICON = 3,
|
|
224
|
+
CPU_TYPE_AMD64 = 4,
|
|
225
|
+
CPU_TYPE_GRAVITON = 5,
|
|
226
|
+
UNRECOGNIZED = -1
|
|
227
|
+
}
|
|
228
|
+
export declare function cPUTypeFromJSON(object: any): CPUType;
|
|
229
|
+
export declare function cPUTypeToJSON(object: CPUType): string;
|
|
230
|
+
/** Moderation level */
|
|
231
|
+
export declare enum ModerationLevel {
|
|
232
|
+
MODERATION_LEVEL_UNSPECIFIED = 0,
|
|
233
|
+
MODERATION_LEVEL_NONE = 1,
|
|
234
|
+
MODERATION_LEVEL_LOW = 2,
|
|
235
|
+
MODERATION_LEVEL_MEDIUM = 3,
|
|
236
|
+
MODERATION_LEVEL_HIGH = 4,
|
|
237
|
+
MODERATION_LEVEL_STRICT = 5,
|
|
238
|
+
UNRECOGNIZED = -1
|
|
239
|
+
}
|
|
240
|
+
export declare function moderationLevelFromJSON(object: any): ModerationLevel;
|
|
241
|
+
export declare function moderationLevelToJSON(object: ModerationLevel): string;
|
|
242
|
+
/** License types */
|
|
243
|
+
export declare enum LicenseType {
|
|
244
|
+
LICENSE_TYPE_UNSPECIFIED = 0,
|
|
245
|
+
LICENSE_TYPE_MIT = 1,
|
|
246
|
+
LICENSE_TYPE_APACHE_2_0 = 2,
|
|
247
|
+
LICENSE_TYPE_GPL = 3,
|
|
248
|
+
LICENSE_TYPE_BSD = 4,
|
|
249
|
+
LICENSE_TYPE_COMMERCIAL = 5,
|
|
250
|
+
LICENSE_TYPE_PROPRIETARY = 6,
|
|
251
|
+
LICENSE_TYPE_CUSTOM = 7,
|
|
252
|
+
LICENSE_TYPE_CC_BY = 8,
|
|
253
|
+
LICENSE_TYPE_CC_BY_NC = 9,
|
|
254
|
+
LICENSE_TYPE_CC_BY_SA = 10,
|
|
255
|
+
LICENSE_TYPE_LLAMA = 11,
|
|
256
|
+
LICENSE_TYPE_OPENAI = 12,
|
|
257
|
+
UNRECOGNIZED = -1
|
|
258
|
+
}
|
|
259
|
+
export declare function licenseTypeFromJSON(object: any): LicenseType;
|
|
260
|
+
export declare function licenseTypeToJSON(object: LicenseType): string;
|
|
261
|
+
/** Architecture describes model architecture details */
|
|
262
|
+
export interface Architecture {
|
|
263
|
+
baseArchitecture: BaseArchitecture;
|
|
264
|
+
modelArchitecture: ModelArchitecture;
|
|
265
|
+
parameterCount: number;
|
|
266
|
+
activeParameters: number;
|
|
267
|
+
totalParameters: number;
|
|
268
|
+
layerCount: number;
|
|
269
|
+
hiddenSize: number;
|
|
270
|
+
attentionHeads: number;
|
|
271
|
+
vocabularySize: number;
|
|
272
|
+
positionEmbedding: PositionEmbedding;
|
|
273
|
+
activationFunction: ActivationFunction;
|
|
274
|
+
isMixtureOfExperts: boolean;
|
|
275
|
+
expertCount: number;
|
|
276
|
+
expertsPerToken: number;
|
|
277
|
+
}
|
|
278
|
+
/** Training contains training information */
|
|
279
|
+
export interface Training {
|
|
280
|
+
/** "1T tokens" */
|
|
281
|
+
trainingDataSize: string;
|
|
282
|
+
trainingDataSources: string[];
|
|
283
|
+
dataMixture: string;
|
|
284
|
+
/** "3 months" */
|
|
285
|
+
trainingDuration: string;
|
|
286
|
+
/** "10000 H100 GPUs" */
|
|
287
|
+
trainingHardware: string;
|
|
288
|
+
/** "$100M" */
|
|
289
|
+
trainingCost: string;
|
|
290
|
+
trainingTechnique: TrainingTechnique;
|
|
291
|
+
batchSize: number;
|
|
292
|
+
learningRate: number;
|
|
293
|
+
trainingSteps: number;
|
|
294
|
+
warmupSteps: number;
|
|
295
|
+
fineTuningAvailable: boolean;
|
|
296
|
+
minFineTuneExamples: number;
|
|
297
|
+
maxFineTuneExamples: number;
|
|
298
|
+
fineTuneFormats: DataFormat[];
|
|
299
|
+
}
|
|
300
|
+
/** TechnicalSpecs contains detailed technical specifications */
|
|
301
|
+
export interface TechnicalSpecs {
|
|
302
|
+
minMemoryGb: number;
|
|
303
|
+
recommendedMemoryGb: number;
|
|
304
|
+
minGpuMemoryGb: number;
|
|
305
|
+
storageGb: number;
|
|
306
|
+
quantization: Quantization;
|
|
307
|
+
precision: Precision;
|
|
308
|
+
optimizationLevel: string;
|
|
309
|
+
supportedGpus: GPUType[];
|
|
310
|
+
requiresCuda: boolean;
|
|
311
|
+
cudaVersion: string;
|
|
312
|
+
inferenceFramework: InferenceFramework;
|
|
313
|
+
modelFormat: ModelFormat;
|
|
314
|
+
modelSizeGb: number;
|
|
315
|
+
checkpointFormat: CheckpointFormat;
|
|
316
|
+
numberOfFiles: number;
|
|
317
|
+
supportedCpus: CPUType[];
|
|
318
|
+
servingFramework: string;
|
|
319
|
+
containerImage: string;
|
|
320
|
+
/** Minimum requirements for reasonable performance */
|
|
321
|
+
minimumGpu: GPUType;
|
|
322
|
+
minimumGpuMemoryGb: number;
|
|
323
|
+
cpuCompatible: boolean;
|
|
324
|
+
recommendedGpuMemoryGb: number;
|
|
325
|
+
}
|
|
326
|
+
/** Safety contains safety and moderation features */
|
|
327
|
+
export interface Safety {
|
|
328
|
+
moderationLevel: ModerationLevel;
|
|
329
|
+
contentFiltering: boolean;
|
|
330
|
+
safetyFilters: string[];
|
|
331
|
+
biasRating: string;
|
|
332
|
+
toxicityScore: number;
|
|
333
|
+
gdprCompliant: boolean;
|
|
334
|
+
hipaaCompliant: boolean;
|
|
335
|
+
soc2Compliant: boolean;
|
|
336
|
+
isoCertified: boolean;
|
|
337
|
+
refusalCapability: boolean;
|
|
338
|
+
watermarkOutput: boolean;
|
|
339
|
+
builtInGuardrails: string[];
|
|
340
|
+
customGuardrails: boolean;
|
|
341
|
+
}
|
|
342
|
+
/** Licensing contains license and usage terms */
|
|
343
|
+
export interface Licensing {
|
|
344
|
+
licenseType: LicenseType;
|
|
345
|
+
licenseUrl: string;
|
|
346
|
+
isOpenSource: boolean;
|
|
347
|
+
isOpenWeights: boolean;
|
|
348
|
+
commercialUse: boolean;
|
|
349
|
+
researchUse: boolean;
|
|
350
|
+
attributionRequired: boolean;
|
|
351
|
+
shareAlikeRequired: boolean;
|
|
352
|
+
usageRestrictions: string[];
|
|
353
|
+
}
|
|
354
|
+
export declare const Architecture: MessageFns<Architecture>;
|
|
355
|
+
export declare const Training: MessageFns<Training>;
|
|
356
|
+
export declare const TechnicalSpecs: MessageFns<TechnicalSpecs>;
|
|
357
|
+
export declare const Safety: MessageFns<Safety>;
|
|
358
|
+
export declare const Licensing: MessageFns<Licensing>;
|
|
359
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
360
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
361
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
362
|
+
} : Partial<T>;
|
|
363
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
364
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
365
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
366
|
+
} & {
|
|
367
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
368
|
+
};
|
|
369
|
+
export interface MessageFns<T> {
|
|
370
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
371
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
372
|
+
fromJSON(object: any): T;
|
|
373
|
+
toJSON(message: T): unknown;
|
|
374
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
375
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
376
|
+
}
|
|
377
|
+
export {};
|