@use-lattice/litmus 0.121.3
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/LICENSE +19 -0
- package/dist/src/accounts-Bt1oJb1Z.cjs +219 -0
- package/dist/src/accounts-DjOU8Rm3.js +178 -0
- package/dist/src/agentic-utils-D03IiXQc.js +153 -0
- package/dist/src/agentic-utils-Dh7xaMQM.cjs +180 -0
- package/dist/src/agents-C6BIMlZa.js +231 -0
- package/dist/src/agents-DvIpNX1L.cjs +666 -0
- package/dist/src/agents-ZP0RP9vV.cjs +231 -0
- package/dist/src/agents-maJXdjbR.js +665 -0
- package/dist/src/aimlapi-BTbQjG2E.cjs +30 -0
- package/dist/src/aimlapi-CwMxqfXP.js +30 -0
- package/dist/src/audio-BBUdvsde.cjs +97 -0
- package/dist/src/audio-D5DPZ7I-.js +97 -0
- package/dist/src/base-BEysXrkq.cjs +222 -0
- package/dist/src/base-C451JQfq.js +193 -0
- package/dist/src/blobs-BY8MDmpo.js +230 -0
- package/dist/src/blobs-BgcNn97m.cjs +256 -0
- package/dist/src/cache-BBE_lsTA.cjs +4 -0
- package/dist/src/cache-BkrqU5Ba.js +237 -0
- package/dist/src/cache-DsCxFlsZ.cjs +297 -0
- package/dist/src/chat-CPJWDP6a.cjs +289 -0
- package/dist/src/chat-CXX3xzkk.cjs +811 -0
- package/dist/src/chat-CcDgZFJ4.js +787 -0
- package/dist/src/chat-Dz5ZeGO2.js +289 -0
- package/dist/src/chatkit-Dw0mKkML.cjs +1158 -0
- package/dist/src/chatkit-swAIVuea.js +1157 -0
- package/dist/src/chunk-DEq-mXcV.js +15 -0
- package/dist/src/claude-agent-sdk-BXZJtOg6.js +379 -0
- package/dist/src/claude-agent-sdk-CkfyjDoG.cjs +383 -0
- package/dist/src/cloudflare-ai-BzpJcqUH.js +161 -0
- package/dist/src/cloudflare-ai-Cmy_R1y2.cjs +161 -0
- package/dist/src/cloudflare-gateway-B9tVQKok.cjs +272 -0
- package/dist/src/cloudflare-gateway-DrD3ew3H.js +272 -0
- package/dist/src/codex-sdk-Dezj9Nwm.js +1056 -0
- package/dist/src/codex-sdk-Dl9D4k5B.cjs +1060 -0
- package/dist/src/cometapi-C-9YvCHC.js +54 -0
- package/dist/src/cometapi-DHgDKoO2.cjs +54 -0
- package/dist/src/completion-B8Ctyxpr.js +120 -0
- package/dist/src/completion-Cxrt08sj.cjs +131 -0
- package/dist/src/createHash-BwgE13yv.cjs +27 -0
- package/dist/src/createHash-DmPQkvBh.js +15 -0
- package/dist/src/docker-BiqcTwLv.js +80 -0
- package/dist/src/docker-C7tEJnP-.cjs +80 -0
- package/dist/src/esm-C62Zofr1.cjs +409 -0
- package/dist/src/esm-DMVc93eh.js +379 -0
- package/dist/src/evalResult-C3NJPQOo.cjs +301 -0
- package/dist/src/evalResult-C7JJAPBb.js +295 -0
- package/dist/src/evalResult-DoVTZZWI.cjs +2 -0
- package/dist/src/extractor-DnMD3fwt.cjs +391 -0
- package/dist/src/extractor-DtlL28vL.js +374 -0
- package/dist/src/fetch-BTxakTSg.cjs +1133 -0
- package/dist/src/fetch-DQckpUFz.js +928 -0
- package/dist/src/fileExtensions-DnqA1y9x.js +85 -0
- package/dist/src/fileExtensions-bYh77CN8.cjs +114 -0
- package/dist/src/genaiTracer-CyZrmaK0.cjs +268 -0
- package/dist/src/genaiTracer-D3fD9dNV.js +256 -0
- package/dist/src/graders-BNscxFrU.js +13644 -0
- package/dist/src/graders-D2oE9Msq.js +2 -0
- package/dist/src/graders-c0Ez_w-9.cjs +2 -0
- package/dist/src/graders-d0F2M3e9.cjs +14056 -0
- package/dist/src/image-0ZhE0VlR.cjs +280 -0
- package/dist/src/image-CWE1pdNv.js +257 -0
- package/dist/src/image-D9ZK6hwL.js +163 -0
- package/dist/src/image-DKZgZITg.cjs +163 -0
- package/dist/src/index.cjs +11366 -0
- package/dist/src/index.d.cts +19640 -0
- package/dist/src/index.d.ts +19641 -0
- package/dist/src/index.js +11306 -0
- package/dist/src/invariant-Ddh24eXh.js +25 -0
- package/dist/src/invariant-kfQ8Bu82.cjs +30 -0
- package/dist/src/knowledgeBase-BgPyGFUd.cjs +122 -0
- package/dist/src/knowledgeBase-DyHilYaP.js +122 -0
- package/dist/src/litellm-CyMeneHS.js +135 -0
- package/dist/src/litellm-DWDF73yF.cjs +135 -0
- package/dist/src/logger-C40ZGil9.js +717 -0
- package/dist/src/logger-DyfK9PBt.cjs +917 -0
- package/dist/src/luma-ray-BAU9X_ep.cjs +315 -0
- package/dist/src/luma-ray-nwVseBbv.js +313 -0
- package/dist/src/messages-B5ADWTTv.js +245 -0
- package/dist/src/messages-BCnZfqrS.cjs +257 -0
- package/dist/src/meteor-DLZZ3osF.cjs +134 -0
- package/dist/src/meteor-DUiCJRC-.js +134 -0
- package/dist/src/modelslab-00cveB8L.cjs +163 -0
- package/dist/src/modelslab-D9sCU_L7.js +163 -0
- package/dist/src/nova-reel-CTapvqYH.js +276 -0
- package/dist/src/nova-reel-DlWuuroF.cjs +278 -0
- package/dist/src/nova-sonic-5UPWfeMv.cjs +363 -0
- package/dist/src/nova-sonic-BhSwQNym.js +363 -0
- package/dist/src/openai-BWrJK9d8.cjs +52 -0
- package/dist/src/openai-DumO8WQn.js +47 -0
- package/dist/src/openclaw-B8brrjC_.cjs +577 -0
- package/dist/src/openclaw-Bkayww9q.js +571 -0
- package/dist/src/opencode-sdk-7xjoDNiM.cjs +562 -0
- package/dist/src/opencode-sdk-SGwAPxht.js +558 -0
- package/dist/src/otlpReceiver-CoAHfAN9.cjs +15 -0
- package/dist/src/otlpReceiver-oO3EQwI9.js +14 -0
- package/dist/src/providerRegistry-4yjhaEM8.js +45 -0
- package/dist/src/providerRegistry-DhV4rJIc.cjs +50 -0
- package/dist/src/providers-B5RJVG-7.cjs +33609 -0
- package/dist/src/providers-BdmZCLzV.js +33262 -0
- package/dist/src/providers-CxtRxn8e.js +2 -0
- package/dist/src/providers-DnQLNbx1.cjs +3 -0
- package/dist/src/pythonUtils-BD0druiM.cjs +275 -0
- package/dist/src/pythonUtils-IBhn5YGR.js +249 -0
- package/dist/src/quiverai-BDOwZBsM.cjs +213 -0
- package/dist/src/quiverai-D3JTF5lD.js +213 -0
- package/dist/src/responses-B2LCDCXZ.js +667 -0
- package/dist/src/responses-BvNm4Xv9.cjs +685 -0
- package/dist/src/rubyUtils-B0NwnfpY.cjs +245 -0
- package/dist/src/rubyUtils-BroxzZ7c.cjs +2 -0
- package/dist/src/rubyUtils-hqVw5UvJ.js +222 -0
- package/dist/src/sagemaker-Cno2V-Sx.js +689 -0
- package/dist/src/sagemaker-fV_KUgs5.cjs +691 -0
- package/dist/src/server-BOuAXb06.cjs +238 -0
- package/dist/src/server-CtI-EWzm.cjs +2 -0
- package/dist/src/server-Cy3DZymt.js +189 -0
- package/dist/src/slack-CP8xBePa.js +135 -0
- package/dist/src/slack-DSQ1yXVb.cjs +135 -0
- package/dist/src/store-BwDDaBjb.cjs +246 -0
- package/dist/src/store-DcbLC593.cjs +2 -0
- package/dist/src/store-IGpqMIkv.js +240 -0
- package/dist/src/tables-3Q2cL7So.cjs +373 -0
- package/dist/src/tables-Bi2fjr4W.js +288 -0
- package/dist/src/telemetry-Bg2WqF79.js +161 -0
- package/dist/src/telemetry-D0x6u5kX.cjs +166 -0
- package/dist/src/telemetry-DXNimrI0.cjs +2 -0
- package/dist/src/text-B_UCRPp2.js +22 -0
- package/dist/src/text-CW1cyrwj.cjs +33 -0
- package/dist/src/tokenUsageUtils-NYT-WKS6.js +138 -0
- package/dist/src/tokenUsageUtils-bVa1ga6f.cjs +173 -0
- package/dist/src/transcription-Cl_W16Pr.js +122 -0
- package/dist/src/transcription-yt1EecY8.cjs +124 -0
- package/dist/src/transform-BCtGrl_W.cjs +228 -0
- package/dist/src/transform-Bv6gG2MJ.cjs +1688 -0
- package/dist/src/transform-CY1wbpRy.js +1507 -0
- package/dist/src/transform-DU8rUL9P.cjs +2 -0
- package/dist/src/transform-yWaShiKr.js +216 -0
- package/dist/src/transformersAvailability-BGkzavwb.js +35 -0
- package/dist/src/transformersAvailability-DKoRtQLy.cjs +35 -0
- package/dist/src/types-5aqHpBwE.cjs +3769 -0
- package/dist/src/types-Bn6D9c4U.js +3300 -0
- package/dist/src/util-BkKlTkI2.js +293 -0
- package/dist/src/util-CTh0bfOm.cjs +1119 -0
- package/dist/src/util-D17oBwo7.cjs +328 -0
- package/dist/src/util-DsS_-v4p.js +613 -0
- package/dist/src/util-DuntT1Ga.js +951 -0
- package/dist/src/util-aWjdCYMI.cjs +667 -0
- package/dist/src/utils-CisQwpjA.js +94 -0
- package/dist/src/utils-yWamDvmz.cjs +123 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/drizzle/0000_lush_hellion.sql +36 -0
- package/drizzle/0001_wide_calypso.sql +3 -0
- package/drizzle/0002_tidy_juggernaut.sql +1 -0
- package/drizzle/0003_lively_naoko.sql +8 -0
- package/drizzle/0004_minor_peter_quill.sql +19 -0
- package/drizzle/0005_silky_millenium_guard.sql +2 -0
- package/drizzle/0006_harsh_caretaker.sql +42 -0
- package/drizzle/0007_cloudy_wong.sql +1 -0
- package/drizzle/0008_broad_boomer.sql +2 -0
- package/drizzle/0009_strong_marten_broadcloak.sql +19 -0
- package/drizzle/0010_needy_bishop.sql +11 -0
- package/drizzle/0011_moaning_millenium_guard.sql +1 -0
- package/drizzle/0012_late_marten_broadcloak.sql +2 -0
- package/drizzle/0013_previous_dormammu.sql +9 -0
- package/drizzle/0014_lazy_captain_universe.sql +2 -0
- package/drizzle/0015_zippy_wallop.sql +29 -0
- package/drizzle/0016_jazzy_zemo.sql +2 -0
- package/drizzle/0017_reflective_praxagora.sql +4 -0
- package/drizzle/0018_fat_vanisher.sql +22 -0
- package/drizzle/0019_new_clint_barton.sql +8 -0
- package/drizzle/0020_skinny_maverick.sql +1 -0
- package/drizzle/0021_mysterious_madelyne_pryor.sql +13 -0
- package/drizzle/0022_sleepy_ultimo.sql +25 -0
- package/drizzle/0023_wooden_mandrill.sql +2 -0
- package/drizzle/AGENTS.md +68 -0
- package/drizzle/CLAUDE.md +1 -0
- package/drizzle/meta/0000_snapshot.json +221 -0
- package/drizzle/meta/0001_snapshot.json +214 -0
- package/drizzle/meta/0002_snapshot.json +221 -0
- package/drizzle/meta/0005_snapshot.json +369 -0
- package/drizzle/meta/0006_snapshot.json +638 -0
- package/drizzle/meta/0007_snapshot.json +640 -0
- package/drizzle/meta/0008_snapshot.json +649 -0
- package/drizzle/meta/0009_snapshot.json +554 -0
- package/drizzle/meta/0010_snapshot.json +619 -0
- package/drizzle/meta/0011_snapshot.json +627 -0
- package/drizzle/meta/0012_snapshot.json +639 -0
- package/drizzle/meta/0013_snapshot.json +717 -0
- package/drizzle/meta/0014_snapshot.json +717 -0
- package/drizzle/meta/0015_snapshot.json +897 -0
- package/drizzle/meta/0016_snapshot.json +1031 -0
- package/drizzle/meta/0018_snapshot.json +1210 -0
- package/drizzle/meta/0019_snapshot.json +1165 -0
- package/drizzle/meta/0020_snapshot.json +1232 -0
- package/drizzle/meta/0021_snapshot.json +1311 -0
- package/drizzle/meta/0022_snapshot.json +1481 -0
- package/drizzle/meta/0023_snapshot.json +1496 -0
- package/drizzle/meta/_journal.json +174 -0
- package/package.json +240 -0
|
@@ -0,0 +1,1210 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "6",
|
|
3
|
+
"dialect": "sqlite",
|
|
4
|
+
"id": "95c0fc66-fedd-475d-91d9-e85c392d1017",
|
|
5
|
+
"prevId": "ec15f7df-e494-4bb2-bc03-fcd8eac07841",
|
|
6
|
+
"tables": {
|
|
7
|
+
"configs": {
|
|
8
|
+
"name": "configs",
|
|
9
|
+
"columns": {
|
|
10
|
+
"id": {
|
|
11
|
+
"name": "id",
|
|
12
|
+
"type": "text",
|
|
13
|
+
"primaryKey": true,
|
|
14
|
+
"notNull": true,
|
|
15
|
+
"autoincrement": false
|
|
16
|
+
},
|
|
17
|
+
"created_at": {
|
|
18
|
+
"name": "created_at",
|
|
19
|
+
"type": "integer",
|
|
20
|
+
"primaryKey": false,
|
|
21
|
+
"notNull": true,
|
|
22
|
+
"autoincrement": false,
|
|
23
|
+
"default": "CURRENT_TIMESTAMP"
|
|
24
|
+
},
|
|
25
|
+
"updated_at": {
|
|
26
|
+
"name": "updated_at",
|
|
27
|
+
"type": "integer",
|
|
28
|
+
"primaryKey": false,
|
|
29
|
+
"notNull": true,
|
|
30
|
+
"autoincrement": false,
|
|
31
|
+
"default": "CURRENT_TIMESTAMP"
|
|
32
|
+
},
|
|
33
|
+
"name": {
|
|
34
|
+
"name": "name",
|
|
35
|
+
"type": "text",
|
|
36
|
+
"primaryKey": false,
|
|
37
|
+
"notNull": true,
|
|
38
|
+
"autoincrement": false
|
|
39
|
+
},
|
|
40
|
+
"type": {
|
|
41
|
+
"name": "type",
|
|
42
|
+
"type": "text",
|
|
43
|
+
"primaryKey": false,
|
|
44
|
+
"notNull": true,
|
|
45
|
+
"autoincrement": false
|
|
46
|
+
},
|
|
47
|
+
"config": {
|
|
48
|
+
"name": "config",
|
|
49
|
+
"type": "text",
|
|
50
|
+
"primaryKey": false,
|
|
51
|
+
"notNull": true,
|
|
52
|
+
"autoincrement": false
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"indexes": {
|
|
56
|
+
"configs_created_at_idx": {
|
|
57
|
+
"name": "configs_created_at_idx",
|
|
58
|
+
"columns": [
|
|
59
|
+
"created_at"
|
|
60
|
+
],
|
|
61
|
+
"isUnique": false
|
|
62
|
+
},
|
|
63
|
+
"configs_type_idx": {
|
|
64
|
+
"name": "configs_type_idx",
|
|
65
|
+
"columns": [
|
|
66
|
+
"type"
|
|
67
|
+
],
|
|
68
|
+
"isUnique": false
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"foreignKeys": {},
|
|
72
|
+
"compositePrimaryKeys": {},
|
|
73
|
+
"uniqueConstraints": {},
|
|
74
|
+
"checkConstraints": {}
|
|
75
|
+
},
|
|
76
|
+
"datasets": {
|
|
77
|
+
"name": "datasets",
|
|
78
|
+
"columns": {
|
|
79
|
+
"id": {
|
|
80
|
+
"name": "id",
|
|
81
|
+
"type": "text",
|
|
82
|
+
"primaryKey": true,
|
|
83
|
+
"notNull": true,
|
|
84
|
+
"autoincrement": false
|
|
85
|
+
},
|
|
86
|
+
"tests": {
|
|
87
|
+
"name": "tests",
|
|
88
|
+
"type": "text",
|
|
89
|
+
"primaryKey": false,
|
|
90
|
+
"notNull": false,
|
|
91
|
+
"autoincrement": false
|
|
92
|
+
},
|
|
93
|
+
"created_at": {
|
|
94
|
+
"name": "created_at",
|
|
95
|
+
"type": "integer",
|
|
96
|
+
"primaryKey": false,
|
|
97
|
+
"notNull": true,
|
|
98
|
+
"autoincrement": false,
|
|
99
|
+
"default": "CURRENT_TIMESTAMP"
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"indexes": {
|
|
103
|
+
"datasets_created_at_idx": {
|
|
104
|
+
"name": "datasets_created_at_idx",
|
|
105
|
+
"columns": [
|
|
106
|
+
"created_at"
|
|
107
|
+
],
|
|
108
|
+
"isUnique": false
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"foreignKeys": {},
|
|
112
|
+
"compositePrimaryKeys": {},
|
|
113
|
+
"uniqueConstraints": {},
|
|
114
|
+
"checkConstraints": {}
|
|
115
|
+
},
|
|
116
|
+
"eval_results": {
|
|
117
|
+
"name": "eval_results",
|
|
118
|
+
"columns": {
|
|
119
|
+
"id": {
|
|
120
|
+
"name": "id",
|
|
121
|
+
"type": "text",
|
|
122
|
+
"primaryKey": true,
|
|
123
|
+
"notNull": true,
|
|
124
|
+
"autoincrement": false
|
|
125
|
+
},
|
|
126
|
+
"created_at": {
|
|
127
|
+
"name": "created_at",
|
|
128
|
+
"type": "integer",
|
|
129
|
+
"primaryKey": false,
|
|
130
|
+
"notNull": true,
|
|
131
|
+
"autoincrement": false,
|
|
132
|
+
"default": "CURRENT_TIMESTAMP"
|
|
133
|
+
},
|
|
134
|
+
"updated_at": {
|
|
135
|
+
"name": "updated_at",
|
|
136
|
+
"type": "integer",
|
|
137
|
+
"primaryKey": false,
|
|
138
|
+
"notNull": true,
|
|
139
|
+
"autoincrement": false,
|
|
140
|
+
"default": "CURRENT_TIMESTAMP"
|
|
141
|
+
},
|
|
142
|
+
"eval_id": {
|
|
143
|
+
"name": "eval_id",
|
|
144
|
+
"type": "text",
|
|
145
|
+
"primaryKey": false,
|
|
146
|
+
"notNull": true,
|
|
147
|
+
"autoincrement": false
|
|
148
|
+
},
|
|
149
|
+
"prompt_idx": {
|
|
150
|
+
"name": "prompt_idx",
|
|
151
|
+
"type": "integer",
|
|
152
|
+
"primaryKey": false,
|
|
153
|
+
"notNull": true,
|
|
154
|
+
"autoincrement": false
|
|
155
|
+
},
|
|
156
|
+
"test_idx": {
|
|
157
|
+
"name": "test_idx",
|
|
158
|
+
"type": "integer",
|
|
159
|
+
"primaryKey": false,
|
|
160
|
+
"notNull": true,
|
|
161
|
+
"autoincrement": false
|
|
162
|
+
},
|
|
163
|
+
"test_case": {
|
|
164
|
+
"name": "test_case",
|
|
165
|
+
"type": "text",
|
|
166
|
+
"primaryKey": false,
|
|
167
|
+
"notNull": true,
|
|
168
|
+
"autoincrement": false
|
|
169
|
+
},
|
|
170
|
+
"prompt": {
|
|
171
|
+
"name": "prompt",
|
|
172
|
+
"type": "text",
|
|
173
|
+
"primaryKey": false,
|
|
174
|
+
"notNull": true,
|
|
175
|
+
"autoincrement": false
|
|
176
|
+
},
|
|
177
|
+
"prompt_id": {
|
|
178
|
+
"name": "prompt_id",
|
|
179
|
+
"type": "text",
|
|
180
|
+
"primaryKey": false,
|
|
181
|
+
"notNull": false,
|
|
182
|
+
"autoincrement": false
|
|
183
|
+
},
|
|
184
|
+
"provider": {
|
|
185
|
+
"name": "provider",
|
|
186
|
+
"type": "text",
|
|
187
|
+
"primaryKey": false,
|
|
188
|
+
"notNull": true,
|
|
189
|
+
"autoincrement": false
|
|
190
|
+
},
|
|
191
|
+
"latency_ms": {
|
|
192
|
+
"name": "latency_ms",
|
|
193
|
+
"type": "integer",
|
|
194
|
+
"primaryKey": false,
|
|
195
|
+
"notNull": false,
|
|
196
|
+
"autoincrement": false
|
|
197
|
+
},
|
|
198
|
+
"cost": {
|
|
199
|
+
"name": "cost",
|
|
200
|
+
"type": "real",
|
|
201
|
+
"primaryKey": false,
|
|
202
|
+
"notNull": false,
|
|
203
|
+
"autoincrement": false
|
|
204
|
+
},
|
|
205
|
+
"response": {
|
|
206
|
+
"name": "response",
|
|
207
|
+
"type": "text",
|
|
208
|
+
"primaryKey": false,
|
|
209
|
+
"notNull": false,
|
|
210
|
+
"autoincrement": false
|
|
211
|
+
},
|
|
212
|
+
"error": {
|
|
213
|
+
"name": "error",
|
|
214
|
+
"type": "text",
|
|
215
|
+
"primaryKey": false,
|
|
216
|
+
"notNull": false,
|
|
217
|
+
"autoincrement": false
|
|
218
|
+
},
|
|
219
|
+
"failure_reason": {
|
|
220
|
+
"name": "failure_reason",
|
|
221
|
+
"type": "integer",
|
|
222
|
+
"primaryKey": false,
|
|
223
|
+
"notNull": true,
|
|
224
|
+
"autoincrement": false,
|
|
225
|
+
"default": 0
|
|
226
|
+
},
|
|
227
|
+
"success": {
|
|
228
|
+
"name": "success",
|
|
229
|
+
"type": "integer",
|
|
230
|
+
"primaryKey": false,
|
|
231
|
+
"notNull": true,
|
|
232
|
+
"autoincrement": false
|
|
233
|
+
},
|
|
234
|
+
"score": {
|
|
235
|
+
"name": "score",
|
|
236
|
+
"type": "real",
|
|
237
|
+
"primaryKey": false,
|
|
238
|
+
"notNull": true,
|
|
239
|
+
"autoincrement": false
|
|
240
|
+
},
|
|
241
|
+
"grading_result": {
|
|
242
|
+
"name": "grading_result",
|
|
243
|
+
"type": "text",
|
|
244
|
+
"primaryKey": false,
|
|
245
|
+
"notNull": false,
|
|
246
|
+
"autoincrement": false
|
|
247
|
+
},
|
|
248
|
+
"named_scores": {
|
|
249
|
+
"name": "named_scores",
|
|
250
|
+
"type": "text",
|
|
251
|
+
"primaryKey": false,
|
|
252
|
+
"notNull": false,
|
|
253
|
+
"autoincrement": false
|
|
254
|
+
},
|
|
255
|
+
"metadata": {
|
|
256
|
+
"name": "metadata",
|
|
257
|
+
"type": "text",
|
|
258
|
+
"primaryKey": false,
|
|
259
|
+
"notNull": false,
|
|
260
|
+
"autoincrement": false
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
"indexes": {
|
|
264
|
+
"eval_result_eval_id_idx": {
|
|
265
|
+
"name": "eval_result_eval_id_idx",
|
|
266
|
+
"columns": [
|
|
267
|
+
"eval_id"
|
|
268
|
+
],
|
|
269
|
+
"isUnique": false
|
|
270
|
+
},
|
|
271
|
+
"eval_result_test_idx": {
|
|
272
|
+
"name": "eval_result_test_idx",
|
|
273
|
+
"columns": [
|
|
274
|
+
"test_idx"
|
|
275
|
+
],
|
|
276
|
+
"isUnique": false
|
|
277
|
+
},
|
|
278
|
+
"eval_result_eval_test_idx": {
|
|
279
|
+
"name": "eval_result_eval_test_idx",
|
|
280
|
+
"columns": [
|
|
281
|
+
"eval_id",
|
|
282
|
+
"test_idx"
|
|
283
|
+
],
|
|
284
|
+
"isUnique": false
|
|
285
|
+
},
|
|
286
|
+
"eval_result_eval_success_idx": {
|
|
287
|
+
"name": "eval_result_eval_success_idx",
|
|
288
|
+
"columns": [
|
|
289
|
+
"eval_id",
|
|
290
|
+
"success"
|
|
291
|
+
],
|
|
292
|
+
"isUnique": false
|
|
293
|
+
},
|
|
294
|
+
"eval_result_eval_failure_idx": {
|
|
295
|
+
"name": "eval_result_eval_failure_idx",
|
|
296
|
+
"columns": [
|
|
297
|
+
"eval_id",
|
|
298
|
+
"failure_reason"
|
|
299
|
+
],
|
|
300
|
+
"isUnique": false
|
|
301
|
+
},
|
|
302
|
+
"eval_result_eval_test_success_idx": {
|
|
303
|
+
"name": "eval_result_eval_test_success_idx",
|
|
304
|
+
"columns": [
|
|
305
|
+
"eval_id",
|
|
306
|
+
"test_idx",
|
|
307
|
+
"success"
|
|
308
|
+
],
|
|
309
|
+
"isUnique": false
|
|
310
|
+
},
|
|
311
|
+
"eval_result_response_idx": {
|
|
312
|
+
"name": "eval_result_response_idx",
|
|
313
|
+
"columns": [
|
|
314
|
+
"response"
|
|
315
|
+
],
|
|
316
|
+
"isUnique": false
|
|
317
|
+
},
|
|
318
|
+
"eval_result_grading_result_reason_idx": {
|
|
319
|
+
"name": "eval_result_grading_result_reason_idx",
|
|
320
|
+
"columns": [
|
|
321
|
+
"json_extract(\"grading_result\", '$.reason')"
|
|
322
|
+
],
|
|
323
|
+
"isUnique": false
|
|
324
|
+
},
|
|
325
|
+
"eval_result_grading_result_comment_idx": {
|
|
326
|
+
"name": "eval_result_grading_result_comment_idx",
|
|
327
|
+
"columns": [
|
|
328
|
+
"json_extract(\"grading_result\", '$.comment')"
|
|
329
|
+
],
|
|
330
|
+
"isUnique": false
|
|
331
|
+
},
|
|
332
|
+
"eval_result_test_case_vars_idx": {
|
|
333
|
+
"name": "eval_result_test_case_vars_idx",
|
|
334
|
+
"columns": [
|
|
335
|
+
"json_extract(\"test_case\", '$.vars')"
|
|
336
|
+
],
|
|
337
|
+
"isUnique": false
|
|
338
|
+
},
|
|
339
|
+
"eval_result_test_case_metadata_idx": {
|
|
340
|
+
"name": "eval_result_test_case_metadata_idx",
|
|
341
|
+
"columns": [
|
|
342
|
+
"json_extract(\"metadata\", '$')"
|
|
343
|
+
],
|
|
344
|
+
"isUnique": false
|
|
345
|
+
},
|
|
346
|
+
"eval_result_named_scores_idx": {
|
|
347
|
+
"name": "eval_result_named_scores_idx",
|
|
348
|
+
"columns": [
|
|
349
|
+
"json_extract(\"named_scores\", '$')"
|
|
350
|
+
],
|
|
351
|
+
"isUnique": false
|
|
352
|
+
},
|
|
353
|
+
"eval_result_metadata_idx": {
|
|
354
|
+
"name": "eval_result_metadata_idx",
|
|
355
|
+
"columns": [
|
|
356
|
+
"json_extract(\"metadata\", '$')"
|
|
357
|
+
],
|
|
358
|
+
"isUnique": false
|
|
359
|
+
},
|
|
360
|
+
"eval_result_metadata_plugin_id_idx": {
|
|
361
|
+
"name": "eval_result_metadata_plugin_id_idx",
|
|
362
|
+
"columns": [
|
|
363
|
+
"json_extract(\"metadata\", '$.pluginId')"
|
|
364
|
+
],
|
|
365
|
+
"isUnique": false
|
|
366
|
+
},
|
|
367
|
+
"eval_result_metadata_strategy_id_idx": {
|
|
368
|
+
"name": "eval_result_metadata_strategy_id_idx",
|
|
369
|
+
"columns": [
|
|
370
|
+
"json_extract(\"metadata\", '$.strategyId')"
|
|
371
|
+
],
|
|
372
|
+
"isUnique": false
|
|
373
|
+
}
|
|
374
|
+
},
|
|
375
|
+
"foreignKeys": {
|
|
376
|
+
"eval_results_eval_id_evals_id_fk": {
|
|
377
|
+
"name": "eval_results_eval_id_evals_id_fk",
|
|
378
|
+
"tableFrom": "eval_results",
|
|
379
|
+
"tableTo": "evals",
|
|
380
|
+
"columnsFrom": [
|
|
381
|
+
"eval_id"
|
|
382
|
+
],
|
|
383
|
+
"columnsTo": [
|
|
384
|
+
"id"
|
|
385
|
+
],
|
|
386
|
+
"onDelete": "no action",
|
|
387
|
+
"onUpdate": "no action"
|
|
388
|
+
},
|
|
389
|
+
"eval_results_prompt_id_prompts_id_fk": {
|
|
390
|
+
"name": "eval_results_prompt_id_prompts_id_fk",
|
|
391
|
+
"tableFrom": "eval_results",
|
|
392
|
+
"tableTo": "prompts",
|
|
393
|
+
"columnsFrom": [
|
|
394
|
+
"prompt_id"
|
|
395
|
+
],
|
|
396
|
+
"columnsTo": [
|
|
397
|
+
"id"
|
|
398
|
+
],
|
|
399
|
+
"onDelete": "no action",
|
|
400
|
+
"onUpdate": "no action"
|
|
401
|
+
}
|
|
402
|
+
},
|
|
403
|
+
"compositePrimaryKeys": {},
|
|
404
|
+
"uniqueConstraints": {},
|
|
405
|
+
"checkConstraints": {}
|
|
406
|
+
},
|
|
407
|
+
"evals": {
|
|
408
|
+
"name": "evals",
|
|
409
|
+
"columns": {
|
|
410
|
+
"id": {
|
|
411
|
+
"name": "id",
|
|
412
|
+
"type": "text",
|
|
413
|
+
"primaryKey": true,
|
|
414
|
+
"notNull": true,
|
|
415
|
+
"autoincrement": false
|
|
416
|
+
},
|
|
417
|
+
"created_at": {
|
|
418
|
+
"name": "created_at",
|
|
419
|
+
"type": "integer",
|
|
420
|
+
"primaryKey": false,
|
|
421
|
+
"notNull": true,
|
|
422
|
+
"autoincrement": false,
|
|
423
|
+
"default": "CURRENT_TIMESTAMP"
|
|
424
|
+
},
|
|
425
|
+
"author": {
|
|
426
|
+
"name": "author",
|
|
427
|
+
"type": "text",
|
|
428
|
+
"primaryKey": false,
|
|
429
|
+
"notNull": false,
|
|
430
|
+
"autoincrement": false
|
|
431
|
+
},
|
|
432
|
+
"description": {
|
|
433
|
+
"name": "description",
|
|
434
|
+
"type": "text",
|
|
435
|
+
"primaryKey": false,
|
|
436
|
+
"notNull": false,
|
|
437
|
+
"autoincrement": false
|
|
438
|
+
},
|
|
439
|
+
"results": {
|
|
440
|
+
"name": "results",
|
|
441
|
+
"type": "text",
|
|
442
|
+
"primaryKey": false,
|
|
443
|
+
"notNull": true,
|
|
444
|
+
"autoincrement": false
|
|
445
|
+
},
|
|
446
|
+
"config": {
|
|
447
|
+
"name": "config",
|
|
448
|
+
"type": "text",
|
|
449
|
+
"primaryKey": false,
|
|
450
|
+
"notNull": true,
|
|
451
|
+
"autoincrement": false
|
|
452
|
+
},
|
|
453
|
+
"prompts": {
|
|
454
|
+
"name": "prompts",
|
|
455
|
+
"type": "text",
|
|
456
|
+
"primaryKey": false,
|
|
457
|
+
"notNull": false,
|
|
458
|
+
"autoincrement": false
|
|
459
|
+
},
|
|
460
|
+
"vars": {
|
|
461
|
+
"name": "vars",
|
|
462
|
+
"type": "text",
|
|
463
|
+
"primaryKey": false,
|
|
464
|
+
"notNull": false,
|
|
465
|
+
"autoincrement": false
|
|
466
|
+
}
|
|
467
|
+
},
|
|
468
|
+
"indexes": {
|
|
469
|
+
"evals_created_at_idx": {
|
|
470
|
+
"name": "evals_created_at_idx",
|
|
471
|
+
"columns": [
|
|
472
|
+
"created_at"
|
|
473
|
+
],
|
|
474
|
+
"isUnique": false
|
|
475
|
+
},
|
|
476
|
+
"evals_author_idx": {
|
|
477
|
+
"name": "evals_author_idx",
|
|
478
|
+
"columns": [
|
|
479
|
+
"author"
|
|
480
|
+
],
|
|
481
|
+
"isUnique": false
|
|
482
|
+
}
|
|
483
|
+
},
|
|
484
|
+
"foreignKeys": {},
|
|
485
|
+
"compositePrimaryKeys": {},
|
|
486
|
+
"uniqueConstraints": {},
|
|
487
|
+
"checkConstraints": {}
|
|
488
|
+
},
|
|
489
|
+
"evals_to_datasets": {
|
|
490
|
+
"name": "evals_to_datasets",
|
|
491
|
+
"columns": {
|
|
492
|
+
"eval_id": {
|
|
493
|
+
"name": "eval_id",
|
|
494
|
+
"type": "text",
|
|
495
|
+
"primaryKey": false,
|
|
496
|
+
"notNull": true,
|
|
497
|
+
"autoincrement": false
|
|
498
|
+
},
|
|
499
|
+
"dataset_id": {
|
|
500
|
+
"name": "dataset_id",
|
|
501
|
+
"type": "text",
|
|
502
|
+
"primaryKey": false,
|
|
503
|
+
"notNull": true,
|
|
504
|
+
"autoincrement": false
|
|
505
|
+
}
|
|
506
|
+
},
|
|
507
|
+
"indexes": {
|
|
508
|
+
"evals_to_datasets_eval_id_idx": {
|
|
509
|
+
"name": "evals_to_datasets_eval_id_idx",
|
|
510
|
+
"columns": [
|
|
511
|
+
"eval_id"
|
|
512
|
+
],
|
|
513
|
+
"isUnique": false
|
|
514
|
+
},
|
|
515
|
+
"evals_to_datasets_dataset_id_idx": {
|
|
516
|
+
"name": "evals_to_datasets_dataset_id_idx",
|
|
517
|
+
"columns": [
|
|
518
|
+
"dataset_id"
|
|
519
|
+
],
|
|
520
|
+
"isUnique": false
|
|
521
|
+
}
|
|
522
|
+
},
|
|
523
|
+
"foreignKeys": {
|
|
524
|
+
"evals_to_datasets_eval_id_evals_id_fk": {
|
|
525
|
+
"name": "evals_to_datasets_eval_id_evals_id_fk",
|
|
526
|
+
"tableFrom": "evals_to_datasets",
|
|
527
|
+
"tableTo": "evals",
|
|
528
|
+
"columnsFrom": [
|
|
529
|
+
"eval_id"
|
|
530
|
+
],
|
|
531
|
+
"columnsTo": [
|
|
532
|
+
"id"
|
|
533
|
+
],
|
|
534
|
+
"onDelete": "no action",
|
|
535
|
+
"onUpdate": "no action"
|
|
536
|
+
},
|
|
537
|
+
"evals_to_datasets_dataset_id_datasets_id_fk": {
|
|
538
|
+
"name": "evals_to_datasets_dataset_id_datasets_id_fk",
|
|
539
|
+
"tableFrom": "evals_to_datasets",
|
|
540
|
+
"tableTo": "datasets",
|
|
541
|
+
"columnsFrom": [
|
|
542
|
+
"dataset_id"
|
|
543
|
+
],
|
|
544
|
+
"columnsTo": [
|
|
545
|
+
"id"
|
|
546
|
+
],
|
|
547
|
+
"onDelete": "no action",
|
|
548
|
+
"onUpdate": "no action"
|
|
549
|
+
}
|
|
550
|
+
},
|
|
551
|
+
"compositePrimaryKeys": {
|
|
552
|
+
"evals_to_datasets_eval_id_dataset_id_pk": {
|
|
553
|
+
"columns": [
|
|
554
|
+
"eval_id",
|
|
555
|
+
"dataset_id"
|
|
556
|
+
],
|
|
557
|
+
"name": "evals_to_datasets_eval_id_dataset_id_pk"
|
|
558
|
+
}
|
|
559
|
+
},
|
|
560
|
+
"uniqueConstraints": {},
|
|
561
|
+
"checkConstraints": {}
|
|
562
|
+
},
|
|
563
|
+
"evals_to_prompts": {
|
|
564
|
+
"name": "evals_to_prompts",
|
|
565
|
+
"columns": {
|
|
566
|
+
"eval_id": {
|
|
567
|
+
"name": "eval_id",
|
|
568
|
+
"type": "text",
|
|
569
|
+
"primaryKey": false,
|
|
570
|
+
"notNull": true,
|
|
571
|
+
"autoincrement": false
|
|
572
|
+
},
|
|
573
|
+
"prompt_id": {
|
|
574
|
+
"name": "prompt_id",
|
|
575
|
+
"type": "text",
|
|
576
|
+
"primaryKey": false,
|
|
577
|
+
"notNull": true,
|
|
578
|
+
"autoincrement": false
|
|
579
|
+
}
|
|
580
|
+
},
|
|
581
|
+
"indexes": {
|
|
582
|
+
"evals_to_prompts_eval_id_idx": {
|
|
583
|
+
"name": "evals_to_prompts_eval_id_idx",
|
|
584
|
+
"columns": [
|
|
585
|
+
"eval_id"
|
|
586
|
+
],
|
|
587
|
+
"isUnique": false
|
|
588
|
+
},
|
|
589
|
+
"evals_to_prompts_prompt_id_idx": {
|
|
590
|
+
"name": "evals_to_prompts_prompt_id_idx",
|
|
591
|
+
"columns": [
|
|
592
|
+
"prompt_id"
|
|
593
|
+
],
|
|
594
|
+
"isUnique": false
|
|
595
|
+
}
|
|
596
|
+
},
|
|
597
|
+
"foreignKeys": {
|
|
598
|
+
"evals_to_prompts_eval_id_evals_id_fk": {
|
|
599
|
+
"name": "evals_to_prompts_eval_id_evals_id_fk",
|
|
600
|
+
"tableFrom": "evals_to_prompts",
|
|
601
|
+
"tableTo": "evals",
|
|
602
|
+
"columnsFrom": [
|
|
603
|
+
"eval_id"
|
|
604
|
+
],
|
|
605
|
+
"columnsTo": [
|
|
606
|
+
"id"
|
|
607
|
+
],
|
|
608
|
+
"onDelete": "cascade",
|
|
609
|
+
"onUpdate": "no action"
|
|
610
|
+
},
|
|
611
|
+
"evals_to_prompts_prompt_id_prompts_id_fk": {
|
|
612
|
+
"name": "evals_to_prompts_prompt_id_prompts_id_fk",
|
|
613
|
+
"tableFrom": "evals_to_prompts",
|
|
614
|
+
"tableTo": "prompts",
|
|
615
|
+
"columnsFrom": [
|
|
616
|
+
"prompt_id"
|
|
617
|
+
],
|
|
618
|
+
"columnsTo": [
|
|
619
|
+
"id"
|
|
620
|
+
],
|
|
621
|
+
"onDelete": "no action",
|
|
622
|
+
"onUpdate": "no action"
|
|
623
|
+
}
|
|
624
|
+
},
|
|
625
|
+
"compositePrimaryKeys": {
|
|
626
|
+
"evals_to_prompts_eval_id_prompt_id_pk": {
|
|
627
|
+
"columns": [
|
|
628
|
+
"eval_id",
|
|
629
|
+
"prompt_id"
|
|
630
|
+
],
|
|
631
|
+
"name": "evals_to_prompts_eval_id_prompt_id_pk"
|
|
632
|
+
}
|
|
633
|
+
},
|
|
634
|
+
"uniqueConstraints": {},
|
|
635
|
+
"checkConstraints": {}
|
|
636
|
+
},
|
|
637
|
+
"evals_to_tags": {
|
|
638
|
+
"name": "evals_to_tags",
|
|
639
|
+
"columns": {
|
|
640
|
+
"eval_id": {
|
|
641
|
+
"name": "eval_id",
|
|
642
|
+
"type": "text",
|
|
643
|
+
"primaryKey": false,
|
|
644
|
+
"notNull": true,
|
|
645
|
+
"autoincrement": false
|
|
646
|
+
},
|
|
647
|
+
"tag_id": {
|
|
648
|
+
"name": "tag_id",
|
|
649
|
+
"type": "text",
|
|
650
|
+
"primaryKey": false,
|
|
651
|
+
"notNull": true,
|
|
652
|
+
"autoincrement": false
|
|
653
|
+
}
|
|
654
|
+
},
|
|
655
|
+
"indexes": {
|
|
656
|
+
"evals_to_tags_eval_id_idx": {
|
|
657
|
+
"name": "evals_to_tags_eval_id_idx",
|
|
658
|
+
"columns": [
|
|
659
|
+
"eval_id"
|
|
660
|
+
],
|
|
661
|
+
"isUnique": false
|
|
662
|
+
},
|
|
663
|
+
"evals_to_tags_tag_id_idx": {
|
|
664
|
+
"name": "evals_to_tags_tag_id_idx",
|
|
665
|
+
"columns": [
|
|
666
|
+
"tag_id"
|
|
667
|
+
],
|
|
668
|
+
"isUnique": false
|
|
669
|
+
}
|
|
670
|
+
},
|
|
671
|
+
"foreignKeys": {
|
|
672
|
+
"evals_to_tags_eval_id_evals_id_fk": {
|
|
673
|
+
"name": "evals_to_tags_eval_id_evals_id_fk",
|
|
674
|
+
"tableFrom": "evals_to_tags",
|
|
675
|
+
"tableTo": "evals",
|
|
676
|
+
"columnsFrom": [
|
|
677
|
+
"eval_id"
|
|
678
|
+
],
|
|
679
|
+
"columnsTo": [
|
|
680
|
+
"id"
|
|
681
|
+
],
|
|
682
|
+
"onDelete": "no action",
|
|
683
|
+
"onUpdate": "no action"
|
|
684
|
+
},
|
|
685
|
+
"evals_to_tags_tag_id_tags_id_fk": {
|
|
686
|
+
"name": "evals_to_tags_tag_id_tags_id_fk",
|
|
687
|
+
"tableFrom": "evals_to_tags",
|
|
688
|
+
"tableTo": "tags",
|
|
689
|
+
"columnsFrom": [
|
|
690
|
+
"tag_id"
|
|
691
|
+
],
|
|
692
|
+
"columnsTo": [
|
|
693
|
+
"id"
|
|
694
|
+
],
|
|
695
|
+
"onDelete": "no action",
|
|
696
|
+
"onUpdate": "no action"
|
|
697
|
+
}
|
|
698
|
+
},
|
|
699
|
+
"compositePrimaryKeys": {
|
|
700
|
+
"evals_to_tags_eval_id_tag_id_pk": {
|
|
701
|
+
"columns": [
|
|
702
|
+
"eval_id",
|
|
703
|
+
"tag_id"
|
|
704
|
+
],
|
|
705
|
+
"name": "evals_to_tags_eval_id_tag_id_pk"
|
|
706
|
+
}
|
|
707
|
+
},
|
|
708
|
+
"uniqueConstraints": {},
|
|
709
|
+
"checkConstraints": {}
|
|
710
|
+
},
|
|
711
|
+
"model_audits": {
|
|
712
|
+
"name": "model_audits",
|
|
713
|
+
"columns": {
|
|
714
|
+
"id": {
|
|
715
|
+
"name": "id",
|
|
716
|
+
"type": "text",
|
|
717
|
+
"primaryKey": true,
|
|
718
|
+
"notNull": true,
|
|
719
|
+
"autoincrement": false
|
|
720
|
+
},
|
|
721
|
+
"created_at": {
|
|
722
|
+
"name": "created_at",
|
|
723
|
+
"type": "integer",
|
|
724
|
+
"primaryKey": false,
|
|
725
|
+
"notNull": true,
|
|
726
|
+
"autoincrement": false,
|
|
727
|
+
"default": "CURRENT_TIMESTAMP"
|
|
728
|
+
},
|
|
729
|
+
"updated_at": {
|
|
730
|
+
"name": "updated_at",
|
|
731
|
+
"type": "integer",
|
|
732
|
+
"primaryKey": false,
|
|
733
|
+
"notNull": true,
|
|
734
|
+
"autoincrement": false,
|
|
735
|
+
"default": "CURRENT_TIMESTAMP"
|
|
736
|
+
},
|
|
737
|
+
"name": {
|
|
738
|
+
"name": "name",
|
|
739
|
+
"type": "text",
|
|
740
|
+
"primaryKey": false,
|
|
741
|
+
"notNull": false,
|
|
742
|
+
"autoincrement": false
|
|
743
|
+
},
|
|
744
|
+
"author": {
|
|
745
|
+
"name": "author",
|
|
746
|
+
"type": "text",
|
|
747
|
+
"primaryKey": false,
|
|
748
|
+
"notNull": false,
|
|
749
|
+
"autoincrement": false
|
|
750
|
+
},
|
|
751
|
+
"model_path": {
|
|
752
|
+
"name": "model_path",
|
|
753
|
+
"type": "text",
|
|
754
|
+
"primaryKey": false,
|
|
755
|
+
"notNull": true,
|
|
756
|
+
"autoincrement": false
|
|
757
|
+
},
|
|
758
|
+
"model_type": {
|
|
759
|
+
"name": "model_type",
|
|
760
|
+
"type": "text",
|
|
761
|
+
"primaryKey": false,
|
|
762
|
+
"notNull": false,
|
|
763
|
+
"autoincrement": false
|
|
764
|
+
},
|
|
765
|
+
"results": {
|
|
766
|
+
"name": "results",
|
|
767
|
+
"type": "text",
|
|
768
|
+
"primaryKey": false,
|
|
769
|
+
"notNull": true,
|
|
770
|
+
"autoincrement": false
|
|
771
|
+
},
|
|
772
|
+
"checks": {
|
|
773
|
+
"name": "checks",
|
|
774
|
+
"type": "text",
|
|
775
|
+
"primaryKey": false,
|
|
776
|
+
"notNull": false,
|
|
777
|
+
"autoincrement": false
|
|
778
|
+
},
|
|
779
|
+
"issues": {
|
|
780
|
+
"name": "issues",
|
|
781
|
+
"type": "text",
|
|
782
|
+
"primaryKey": false,
|
|
783
|
+
"notNull": false,
|
|
784
|
+
"autoincrement": false
|
|
785
|
+
},
|
|
786
|
+
"has_errors": {
|
|
787
|
+
"name": "has_errors",
|
|
788
|
+
"type": "integer",
|
|
789
|
+
"primaryKey": false,
|
|
790
|
+
"notNull": true,
|
|
791
|
+
"autoincrement": false
|
|
792
|
+
},
|
|
793
|
+
"total_checks": {
|
|
794
|
+
"name": "total_checks",
|
|
795
|
+
"type": "integer",
|
|
796
|
+
"primaryKey": false,
|
|
797
|
+
"notNull": false,
|
|
798
|
+
"autoincrement": false
|
|
799
|
+
},
|
|
800
|
+
"passed_checks": {
|
|
801
|
+
"name": "passed_checks",
|
|
802
|
+
"type": "integer",
|
|
803
|
+
"primaryKey": false,
|
|
804
|
+
"notNull": false,
|
|
805
|
+
"autoincrement": false
|
|
806
|
+
},
|
|
807
|
+
"failed_checks": {
|
|
808
|
+
"name": "failed_checks",
|
|
809
|
+
"type": "integer",
|
|
810
|
+
"primaryKey": false,
|
|
811
|
+
"notNull": false,
|
|
812
|
+
"autoincrement": false
|
|
813
|
+
},
|
|
814
|
+
"metadata": {
|
|
815
|
+
"name": "metadata",
|
|
816
|
+
"type": "text",
|
|
817
|
+
"primaryKey": false,
|
|
818
|
+
"notNull": false,
|
|
819
|
+
"autoincrement": false
|
|
820
|
+
}
|
|
821
|
+
},
|
|
822
|
+
"indexes": {
|
|
823
|
+
"model_audits_created_at_idx": {
|
|
824
|
+
"name": "model_audits_created_at_idx",
|
|
825
|
+
"columns": [
|
|
826
|
+
"created_at"
|
|
827
|
+
],
|
|
828
|
+
"isUnique": false
|
|
829
|
+
},
|
|
830
|
+
"model_audits_model_path_idx": {
|
|
831
|
+
"name": "model_audits_model_path_idx",
|
|
832
|
+
"columns": [
|
|
833
|
+
"model_path"
|
|
834
|
+
],
|
|
835
|
+
"isUnique": false
|
|
836
|
+
},
|
|
837
|
+
"model_audits_has_errors_idx": {
|
|
838
|
+
"name": "model_audits_has_errors_idx",
|
|
839
|
+
"columns": [
|
|
840
|
+
"has_errors"
|
|
841
|
+
],
|
|
842
|
+
"isUnique": false
|
|
843
|
+
},
|
|
844
|
+
"model_audits_model_type_idx": {
|
|
845
|
+
"name": "model_audits_model_type_idx",
|
|
846
|
+
"columns": [
|
|
847
|
+
"model_type"
|
|
848
|
+
],
|
|
849
|
+
"isUnique": false
|
|
850
|
+
}
|
|
851
|
+
},
|
|
852
|
+
"foreignKeys": {},
|
|
853
|
+
"compositePrimaryKeys": {},
|
|
854
|
+
"uniqueConstraints": {},
|
|
855
|
+
"checkConstraints": {}
|
|
856
|
+
},
|
|
857
|
+
"prompts": {
|
|
858
|
+
"name": "prompts",
|
|
859
|
+
"columns": {
|
|
860
|
+
"id": {
|
|
861
|
+
"name": "id",
|
|
862
|
+
"type": "text",
|
|
863
|
+
"primaryKey": true,
|
|
864
|
+
"notNull": true,
|
|
865
|
+
"autoincrement": false
|
|
866
|
+
},
|
|
867
|
+
"created_at": {
|
|
868
|
+
"name": "created_at",
|
|
869
|
+
"type": "integer",
|
|
870
|
+
"primaryKey": false,
|
|
871
|
+
"notNull": true,
|
|
872
|
+
"autoincrement": false,
|
|
873
|
+
"default": "CURRENT_TIMESTAMP"
|
|
874
|
+
},
|
|
875
|
+
"prompt": {
|
|
876
|
+
"name": "prompt",
|
|
877
|
+
"type": "text",
|
|
878
|
+
"primaryKey": false,
|
|
879
|
+
"notNull": true,
|
|
880
|
+
"autoincrement": false
|
|
881
|
+
}
|
|
882
|
+
},
|
|
883
|
+
"indexes": {
|
|
884
|
+
"prompts_created_at_idx": {
|
|
885
|
+
"name": "prompts_created_at_idx",
|
|
886
|
+
"columns": [
|
|
887
|
+
"created_at"
|
|
888
|
+
],
|
|
889
|
+
"isUnique": false
|
|
890
|
+
}
|
|
891
|
+
},
|
|
892
|
+
"foreignKeys": {},
|
|
893
|
+
"compositePrimaryKeys": {},
|
|
894
|
+
"uniqueConstraints": {},
|
|
895
|
+
"checkConstraints": {}
|
|
896
|
+
},
|
|
897
|
+
"spans": {
|
|
898
|
+
"name": "spans",
|
|
899
|
+
"columns": {
|
|
900
|
+
"id": {
|
|
901
|
+
"name": "id",
|
|
902
|
+
"type": "text",
|
|
903
|
+
"primaryKey": true,
|
|
904
|
+
"notNull": true,
|
|
905
|
+
"autoincrement": false
|
|
906
|
+
},
|
|
907
|
+
"trace_id": {
|
|
908
|
+
"name": "trace_id",
|
|
909
|
+
"type": "text",
|
|
910
|
+
"primaryKey": false,
|
|
911
|
+
"notNull": true,
|
|
912
|
+
"autoincrement": false
|
|
913
|
+
},
|
|
914
|
+
"span_id": {
|
|
915
|
+
"name": "span_id",
|
|
916
|
+
"type": "text",
|
|
917
|
+
"primaryKey": false,
|
|
918
|
+
"notNull": true,
|
|
919
|
+
"autoincrement": false
|
|
920
|
+
},
|
|
921
|
+
"parent_span_id": {
|
|
922
|
+
"name": "parent_span_id",
|
|
923
|
+
"type": "text",
|
|
924
|
+
"primaryKey": false,
|
|
925
|
+
"notNull": false,
|
|
926
|
+
"autoincrement": false
|
|
927
|
+
},
|
|
928
|
+
"name": {
|
|
929
|
+
"name": "name",
|
|
930
|
+
"type": "text",
|
|
931
|
+
"primaryKey": false,
|
|
932
|
+
"notNull": true,
|
|
933
|
+
"autoincrement": false
|
|
934
|
+
},
|
|
935
|
+
"start_time": {
|
|
936
|
+
"name": "start_time",
|
|
937
|
+
"type": "integer",
|
|
938
|
+
"primaryKey": false,
|
|
939
|
+
"notNull": true,
|
|
940
|
+
"autoincrement": false
|
|
941
|
+
},
|
|
942
|
+
"end_time": {
|
|
943
|
+
"name": "end_time",
|
|
944
|
+
"type": "integer",
|
|
945
|
+
"primaryKey": false,
|
|
946
|
+
"notNull": false,
|
|
947
|
+
"autoincrement": false
|
|
948
|
+
},
|
|
949
|
+
"attributes": {
|
|
950
|
+
"name": "attributes",
|
|
951
|
+
"type": "text",
|
|
952
|
+
"primaryKey": false,
|
|
953
|
+
"notNull": false,
|
|
954
|
+
"autoincrement": false
|
|
955
|
+
},
|
|
956
|
+
"status_code": {
|
|
957
|
+
"name": "status_code",
|
|
958
|
+
"type": "integer",
|
|
959
|
+
"primaryKey": false,
|
|
960
|
+
"notNull": false,
|
|
961
|
+
"autoincrement": false
|
|
962
|
+
},
|
|
963
|
+
"status_message": {
|
|
964
|
+
"name": "status_message",
|
|
965
|
+
"type": "text",
|
|
966
|
+
"primaryKey": false,
|
|
967
|
+
"notNull": false,
|
|
968
|
+
"autoincrement": false
|
|
969
|
+
}
|
|
970
|
+
},
|
|
971
|
+
"indexes": {
|
|
972
|
+
"spans_trace_id_idx": {
|
|
973
|
+
"name": "spans_trace_id_idx",
|
|
974
|
+
"columns": [
|
|
975
|
+
"trace_id"
|
|
976
|
+
],
|
|
977
|
+
"isUnique": false
|
|
978
|
+
},
|
|
979
|
+
"spans_span_id_idx": {
|
|
980
|
+
"name": "spans_span_id_idx",
|
|
981
|
+
"columns": [
|
|
982
|
+
"span_id"
|
|
983
|
+
],
|
|
984
|
+
"isUnique": false
|
|
985
|
+
}
|
|
986
|
+
},
|
|
987
|
+
"foreignKeys": {
|
|
988
|
+
"spans_trace_id_traces_trace_id_fk": {
|
|
989
|
+
"name": "spans_trace_id_traces_trace_id_fk",
|
|
990
|
+
"tableFrom": "spans",
|
|
991
|
+
"tableTo": "traces",
|
|
992
|
+
"columnsFrom": [
|
|
993
|
+
"trace_id"
|
|
994
|
+
],
|
|
995
|
+
"columnsTo": [
|
|
996
|
+
"trace_id"
|
|
997
|
+
],
|
|
998
|
+
"onDelete": "no action",
|
|
999
|
+
"onUpdate": "no action"
|
|
1000
|
+
}
|
|
1001
|
+
},
|
|
1002
|
+
"compositePrimaryKeys": {},
|
|
1003
|
+
"uniqueConstraints": {},
|
|
1004
|
+
"checkConstraints": {}
|
|
1005
|
+
},
|
|
1006
|
+
"tags": {
|
|
1007
|
+
"name": "tags",
|
|
1008
|
+
"columns": {
|
|
1009
|
+
"id": {
|
|
1010
|
+
"name": "id",
|
|
1011
|
+
"type": "text",
|
|
1012
|
+
"primaryKey": true,
|
|
1013
|
+
"notNull": true,
|
|
1014
|
+
"autoincrement": false
|
|
1015
|
+
},
|
|
1016
|
+
"name": {
|
|
1017
|
+
"name": "name",
|
|
1018
|
+
"type": "text",
|
|
1019
|
+
"primaryKey": false,
|
|
1020
|
+
"notNull": true,
|
|
1021
|
+
"autoincrement": false
|
|
1022
|
+
},
|
|
1023
|
+
"value": {
|
|
1024
|
+
"name": "value",
|
|
1025
|
+
"type": "text",
|
|
1026
|
+
"primaryKey": false,
|
|
1027
|
+
"notNull": true,
|
|
1028
|
+
"autoincrement": false
|
|
1029
|
+
}
|
|
1030
|
+
},
|
|
1031
|
+
"indexes": {
|
|
1032
|
+
"tags_name_idx": {
|
|
1033
|
+
"name": "tags_name_idx",
|
|
1034
|
+
"columns": [
|
|
1035
|
+
"name"
|
|
1036
|
+
],
|
|
1037
|
+
"isUnique": false
|
|
1038
|
+
},
|
|
1039
|
+
"tags_name_value_unique": {
|
|
1040
|
+
"name": "tags_name_value_unique",
|
|
1041
|
+
"columns": [
|
|
1042
|
+
"name",
|
|
1043
|
+
"value"
|
|
1044
|
+
],
|
|
1045
|
+
"isUnique": true
|
|
1046
|
+
}
|
|
1047
|
+
},
|
|
1048
|
+
"foreignKeys": {},
|
|
1049
|
+
"compositePrimaryKeys": {},
|
|
1050
|
+
"uniqueConstraints": {},
|
|
1051
|
+
"checkConstraints": {}
|
|
1052
|
+
},
|
|
1053
|
+
"traces": {
|
|
1054
|
+
"name": "traces",
|
|
1055
|
+
"columns": {
|
|
1056
|
+
"id": {
|
|
1057
|
+
"name": "id",
|
|
1058
|
+
"type": "text",
|
|
1059
|
+
"primaryKey": true,
|
|
1060
|
+
"notNull": true,
|
|
1061
|
+
"autoincrement": false
|
|
1062
|
+
},
|
|
1063
|
+
"trace_id": {
|
|
1064
|
+
"name": "trace_id",
|
|
1065
|
+
"type": "text",
|
|
1066
|
+
"primaryKey": false,
|
|
1067
|
+
"notNull": true,
|
|
1068
|
+
"autoincrement": false
|
|
1069
|
+
},
|
|
1070
|
+
"evaluation_id": {
|
|
1071
|
+
"name": "evaluation_id",
|
|
1072
|
+
"type": "text",
|
|
1073
|
+
"primaryKey": false,
|
|
1074
|
+
"notNull": true,
|
|
1075
|
+
"autoincrement": false
|
|
1076
|
+
},
|
|
1077
|
+
"test_case_id": {
|
|
1078
|
+
"name": "test_case_id",
|
|
1079
|
+
"type": "text",
|
|
1080
|
+
"primaryKey": false,
|
|
1081
|
+
"notNull": true,
|
|
1082
|
+
"autoincrement": false
|
|
1083
|
+
},
|
|
1084
|
+
"created_at": {
|
|
1085
|
+
"name": "created_at",
|
|
1086
|
+
"type": "integer",
|
|
1087
|
+
"primaryKey": false,
|
|
1088
|
+
"notNull": true,
|
|
1089
|
+
"autoincrement": false,
|
|
1090
|
+
"default": "CURRENT_TIMESTAMP"
|
|
1091
|
+
},
|
|
1092
|
+
"metadata": {
|
|
1093
|
+
"name": "metadata",
|
|
1094
|
+
"type": "text",
|
|
1095
|
+
"primaryKey": false,
|
|
1096
|
+
"notNull": false,
|
|
1097
|
+
"autoincrement": false
|
|
1098
|
+
}
|
|
1099
|
+
},
|
|
1100
|
+
"indexes": {
|
|
1101
|
+
"traces_trace_id_unique": {
|
|
1102
|
+
"name": "traces_trace_id_unique",
|
|
1103
|
+
"columns": [
|
|
1104
|
+
"trace_id"
|
|
1105
|
+
],
|
|
1106
|
+
"isUnique": true
|
|
1107
|
+
},
|
|
1108
|
+
"traces_evaluation_idx": {
|
|
1109
|
+
"name": "traces_evaluation_idx",
|
|
1110
|
+
"columns": [
|
|
1111
|
+
"evaluation_id"
|
|
1112
|
+
],
|
|
1113
|
+
"isUnique": false
|
|
1114
|
+
},
|
|
1115
|
+
"traces_trace_id_idx": {
|
|
1116
|
+
"name": "traces_trace_id_idx",
|
|
1117
|
+
"columns": [
|
|
1118
|
+
"trace_id"
|
|
1119
|
+
],
|
|
1120
|
+
"isUnique": false
|
|
1121
|
+
}
|
|
1122
|
+
},
|
|
1123
|
+
"foreignKeys": {
|
|
1124
|
+
"traces_evaluation_id_evals_id_fk": {
|
|
1125
|
+
"name": "traces_evaluation_id_evals_id_fk",
|
|
1126
|
+
"tableFrom": "traces",
|
|
1127
|
+
"tableTo": "evals",
|
|
1128
|
+
"columnsFrom": [
|
|
1129
|
+
"evaluation_id"
|
|
1130
|
+
],
|
|
1131
|
+
"columnsTo": [
|
|
1132
|
+
"id"
|
|
1133
|
+
],
|
|
1134
|
+
"onDelete": "no action",
|
|
1135
|
+
"onUpdate": "no action"
|
|
1136
|
+
}
|
|
1137
|
+
},
|
|
1138
|
+
"compositePrimaryKeys": {},
|
|
1139
|
+
"uniqueConstraints": {},
|
|
1140
|
+
"checkConstraints": {}
|
|
1141
|
+
}
|
|
1142
|
+
},
|
|
1143
|
+
"views": {},
|
|
1144
|
+
"enums": {},
|
|
1145
|
+
"_meta": {
|
|
1146
|
+
"schemas": {},
|
|
1147
|
+
"tables": {},
|
|
1148
|
+
"columns": {}
|
|
1149
|
+
},
|
|
1150
|
+
"internal": {
|
|
1151
|
+
"indexes": {
|
|
1152
|
+
"eval_result_grading_result_reason_idx": {
|
|
1153
|
+
"columns": {
|
|
1154
|
+
"json_extract(\"grading_result\", '$.reason')": {
|
|
1155
|
+
"isExpression": true
|
|
1156
|
+
}
|
|
1157
|
+
}
|
|
1158
|
+
},
|
|
1159
|
+
"eval_result_grading_result_comment_idx": {
|
|
1160
|
+
"columns": {
|
|
1161
|
+
"json_extract(\"grading_result\", '$.comment')": {
|
|
1162
|
+
"isExpression": true
|
|
1163
|
+
}
|
|
1164
|
+
}
|
|
1165
|
+
},
|
|
1166
|
+
"eval_result_test_case_vars_idx": {
|
|
1167
|
+
"columns": {
|
|
1168
|
+
"json_extract(\"test_case\", '$.vars')": {
|
|
1169
|
+
"isExpression": true
|
|
1170
|
+
}
|
|
1171
|
+
}
|
|
1172
|
+
},
|
|
1173
|
+
"eval_result_test_case_metadata_idx": {
|
|
1174
|
+
"columns": {
|
|
1175
|
+
"json_extract(\"metadata\", '$')": {
|
|
1176
|
+
"isExpression": true
|
|
1177
|
+
}
|
|
1178
|
+
}
|
|
1179
|
+
},
|
|
1180
|
+
"eval_result_named_scores_idx": {
|
|
1181
|
+
"columns": {
|
|
1182
|
+
"json_extract(\"named_scores\", '$')": {
|
|
1183
|
+
"isExpression": true
|
|
1184
|
+
}
|
|
1185
|
+
}
|
|
1186
|
+
},
|
|
1187
|
+
"eval_result_metadata_idx": {
|
|
1188
|
+
"columns": {
|
|
1189
|
+
"json_extract(\"metadata\", '$')": {
|
|
1190
|
+
"isExpression": true
|
|
1191
|
+
}
|
|
1192
|
+
}
|
|
1193
|
+
},
|
|
1194
|
+
"eval_result_metadata_plugin_id_idx": {
|
|
1195
|
+
"columns": {
|
|
1196
|
+
"json_extract(\"metadata\", '$.pluginId')": {
|
|
1197
|
+
"isExpression": true
|
|
1198
|
+
}
|
|
1199
|
+
}
|
|
1200
|
+
},
|
|
1201
|
+
"eval_result_metadata_strategy_id_idx": {
|
|
1202
|
+
"columns": {
|
|
1203
|
+
"json_extract(\"metadata\", '$.strategyId')": {
|
|
1204
|
+
"isExpression": true
|
|
1205
|
+
}
|
|
1206
|
+
}
|
|
1207
|
+
}
|
|
1208
|
+
}
|
|
1209
|
+
}
|
|
1210
|
+
}
|