weave-typescript 0.5.0 → 0.8.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 +320 -0
- package/dist/weaveapi/llmx/v1/capabilities.pb.js +2883 -0
- package/dist/weaveapi/{modex → llmx}/v1/model.pb.d.ts +85 -31
- package/dist/weaveapi/{modex → llmx}/v1/model.pb.js +113 -308
- 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 +13 -5
|
@@ -1,60 +1,115 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
-
|
|
2
|
+
import { Architecture, Licensing, Safety, TechnicalSpecs, Training } from "./architecture.pb";
|
|
3
|
+
import { Capability } from "./capabilities.pb";
|
|
4
|
+
export declare const protobufPackage = "weaveapi.llmx.v1";
|
|
3
5
|
export interface Model {
|
|
6
|
+
/** Unique internal identifier for this model record in our database */
|
|
4
7
|
id: string;
|
|
8
|
+
/** Provider's unique identifier (e.g., "openai-123", "anthropic-456") */
|
|
5
9
|
providerId: string;
|
|
10
|
+
/** URL-friendly provider identifier (e.g., "openai", "anthropic") */
|
|
6
11
|
providerSlug: string;
|
|
12
|
+
/** Human-readable provider name (e.g., "OpenAI", "Anthropic") */
|
|
7
13
|
providerName: string;
|
|
14
|
+
/** Provider's specific model identifier (e.g., "gpt-4", "claude-3-opus") */
|
|
8
15
|
modelId: string;
|
|
9
|
-
/** provider/
|
|
16
|
+
/** Combined provider/model identifier (e.g., "openai/gpt-4") */
|
|
10
17
|
slug: string;
|
|
18
|
+
/** Model's technical name (e.g., "gpt-4-turbo-2024-04-09") */
|
|
11
19
|
name: string;
|
|
20
|
+
/** User-friendly display name (e.g., "GPT-4 Turbo") */
|
|
12
21
|
displayName: string;
|
|
22
|
+
/** Human-readable description of the model's purpose and capabilities */
|
|
13
23
|
description: string;
|
|
24
|
+
/** Model version string (e.g., "2024-04-09", "v1.0") */
|
|
14
25
|
version: string;
|
|
15
|
-
/**
|
|
26
|
+
/**
|
|
27
|
+
* Dates
|
|
28
|
+
* When the model was publicly released
|
|
29
|
+
*/
|
|
16
30
|
releaseDate: Date | undefined;
|
|
31
|
+
/** Last date of data used in training (knowledge cutoff) */
|
|
17
32
|
trainingDataCutoff: Date | undefined;
|
|
33
|
+
/** When the model will be/was deprecated (if applicable) */
|
|
18
34
|
deprecationDate: Date | undefined;
|
|
19
|
-
/**
|
|
20
|
-
|
|
21
|
-
|
|
35
|
+
/**
|
|
36
|
+
* Capabilities - now uses detailed capability configurations
|
|
37
|
+
* List of specific capabilities this model supports (e.g., function calling, vision)
|
|
38
|
+
*/
|
|
39
|
+
capabilities: Capability[];
|
|
40
|
+
/**
|
|
41
|
+
* Classification
|
|
42
|
+
* Model type, architecture, and licensing information
|
|
43
|
+
*/
|
|
22
44
|
classification: ModelClassification | undefined;
|
|
23
|
-
/**
|
|
45
|
+
/**
|
|
46
|
+
* Performance
|
|
47
|
+
* Benchmark scores and performance metrics
|
|
48
|
+
*/
|
|
24
49
|
performance: ModelPerformance | undefined;
|
|
25
|
-
/**
|
|
50
|
+
/**
|
|
51
|
+
* Tokens
|
|
52
|
+
* Token limits, processing speed, and tokenizer information
|
|
53
|
+
*/
|
|
26
54
|
tokens: TokenInfo | undefined;
|
|
27
|
-
/**
|
|
55
|
+
/**
|
|
56
|
+
* Pricing
|
|
57
|
+
* Cost per token for various operations (input, output, caching, etc.)
|
|
58
|
+
*/
|
|
28
59
|
pricing: Pricing | undefined;
|
|
29
|
-
/**
|
|
60
|
+
/**
|
|
61
|
+
* Configuration
|
|
62
|
+
* Supported parameter ranges (temperature, top_p, etc.)
|
|
63
|
+
*/
|
|
30
64
|
configuration: Configuration | undefined;
|
|
31
|
-
/**
|
|
65
|
+
/**
|
|
66
|
+
* API Details
|
|
67
|
+
* Endpoint information and rate limits
|
|
68
|
+
*/
|
|
32
69
|
apiDetails: APIDetails | undefined;
|
|
33
|
-
/**
|
|
70
|
+
/**
|
|
71
|
+
* Availability
|
|
72
|
+
* Available regions and platforms where model can be accessed
|
|
73
|
+
*/
|
|
34
74
|
availability: Availability | undefined;
|
|
35
|
-
/**
|
|
75
|
+
/**
|
|
76
|
+
* Architecture details
|
|
77
|
+
* Technical architecture information (transformer type, layers, etc.)
|
|
78
|
+
*/
|
|
79
|
+
architecture: Architecture | undefined;
|
|
80
|
+
/**
|
|
81
|
+
* Training information
|
|
82
|
+
* Details about training data, methods, and compute used
|
|
83
|
+
*/
|
|
84
|
+
training: Training | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* Safety and moderation
|
|
87
|
+
* Built-in safety features and content filtering
|
|
88
|
+
*/
|
|
89
|
+
safety: Safety | undefined;
|
|
90
|
+
/**
|
|
91
|
+
* Licensing information
|
|
92
|
+
* License type and usage restrictions
|
|
93
|
+
*/
|
|
94
|
+
licensing: Licensing | undefined;
|
|
95
|
+
/**
|
|
96
|
+
* Technical specifications
|
|
97
|
+
* Hardware requirements and technical details
|
|
98
|
+
*/
|
|
99
|
+
technicalSpecs: TechnicalSpecs | undefined;
|
|
100
|
+
/**
|
|
101
|
+
* Metadata
|
|
102
|
+
* When this model information was last updated in our system
|
|
103
|
+
*/
|
|
36
104
|
lastScrapedAt: Date | undefined;
|
|
105
|
+
/** Sources where this model information was collected from */
|
|
37
106
|
dataSources: string[];
|
|
107
|
+
/** Whether the model is currently available for use */
|
|
38
108
|
isActive: boolean;
|
|
109
|
+
/** Whether the model has been deprecated */
|
|
39
110
|
isDeprecated: boolean;
|
|
111
|
+
/** If deprecated, the recommended replacement model's ID */
|
|
40
112
|
replacementModelId: string;
|
|
41
|
-
createdAt: Date | undefined;
|
|
42
|
-
updatedAt: Date | undefined;
|
|
43
|
-
}
|
|
44
|
-
export interface ModelCapabilities {
|
|
45
|
-
supportsChat: boolean;
|
|
46
|
-
supportsCompletion: boolean;
|
|
47
|
-
supportsEmbeddings: boolean;
|
|
48
|
-
supportsVision: boolean;
|
|
49
|
-
supportsAudio: boolean;
|
|
50
|
-
supportsVideo: boolean;
|
|
51
|
-
supportsToolCalls: boolean;
|
|
52
|
-
supportsFunctionCalls: boolean;
|
|
53
|
-
supportsJsonMode: boolean;
|
|
54
|
-
supportsStreaming: boolean;
|
|
55
|
-
supportsReasoning: boolean;
|
|
56
|
-
inputModalities: string[];
|
|
57
|
-
outputModalities: string[];
|
|
58
113
|
}
|
|
59
114
|
export interface ModelClassification {
|
|
60
115
|
/** foundation, fine-tuned, instruct, chat, reasoning */
|
|
@@ -117,7 +172,6 @@ export interface Availability {
|
|
|
117
172
|
platforms: string[];
|
|
118
173
|
}
|
|
119
174
|
export declare const Model: MessageFns<Model>;
|
|
120
|
-
export declare const ModelCapabilities: MessageFns<ModelCapabilities>;
|
|
121
175
|
export declare const ModelClassification: MessageFns<ModelClassification>;
|
|
122
176
|
export declare const ModelPerformance: MessageFns<ModelPerformance>;
|
|
123
177
|
export declare const ModelPerformance_BenchmarkScoresEntry: MessageFns<ModelPerformance_BenchmarkScoresEntry>;
|