@absolutejs/absolute 0.19.0-beta.637 → 0.19.0-beta.638
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/ai/client/index.js +4 -2
- package/dist/ai/client/index.js.map +3 -3
- package/dist/ai/client/ui.js +4 -2
- package/dist/ai/client/ui.js.map +3 -3
- package/dist/ai/index.js +54 -7
- package/dist/ai/index.js.map +7 -7
- package/dist/ai/rag/quality.js +4 -2
- package/dist/ai/rag/quality.js.map +3 -3
- package/dist/ai/rag/ui.js +4 -2
- package/dist/ai/rag/ui.js.map +3 -3
- package/dist/angular/ai/index.js +4 -2
- package/dist/angular/ai/index.js.map +3 -3
- package/dist/react/ai/index.js +4 -2
- package/dist/react/ai/index.js.map +3 -3
- package/dist/src/react/ai/useRAG.d.ts +2 -0
- package/dist/src/svelte/ai/createRAG.d.ts +2 -0
- package/dist/src/vue/ai/useRAG.d.ts +16 -0
- package/dist/src/vue/ai/useRAGEvaluate.d.ts +8 -0
- package/dist/src/vue/ai/useRAGIndexAdmin.d.ts +4 -0
- package/dist/src/vue/ai/useRAGSearch.d.ts +2 -0
- package/dist/svelte/ai/index.js +4 -2
- package/dist/svelte/ai/index.js.map +3 -3
- package/dist/types/ai.d.ts +9 -0
- package/dist/vue/ai/index.js +4 -2
- package/dist/vue/ai/index.js.map +3 -3
- package/package.json +7 -7
|
@@ -169,6 +169,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
169
169
|
query: string;
|
|
170
170
|
topK?: number | undefined;
|
|
171
171
|
candidateTopK?: number | undefined;
|
|
172
|
+
nativeQueryProfile?: import("../..").RAGNativeQueryProfile | undefined;
|
|
172
173
|
nativeQueryMultiplier?: number | undefined;
|
|
173
174
|
nativeCandidateLimit?: number | undefined;
|
|
174
175
|
nativeMaxBackfills?: number | undefined;
|
|
@@ -188,6 +189,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
188
189
|
query: string;
|
|
189
190
|
topK?: number | undefined;
|
|
190
191
|
candidateTopK?: number | undefined;
|
|
192
|
+
nativeQueryProfile?: import("../..").RAGNativeQueryProfile | undefined;
|
|
191
193
|
nativeQueryMultiplier?: number | undefined;
|
|
192
194
|
nativeCandidateLimit?: number | undefined;
|
|
193
195
|
nativeMaxBackfills?: number | undefined;
|
|
@@ -171,6 +171,7 @@ export declare const createRAG: (path: string, options?: CreateRAGOptions) => {
|
|
|
171
171
|
query: string;
|
|
172
172
|
topK?: number | undefined;
|
|
173
173
|
candidateTopK?: number | undefined;
|
|
174
|
+
nativeQueryProfile?: import("../..").RAGNativeQueryProfile | undefined;
|
|
174
175
|
nativeQueryMultiplier?: number | undefined;
|
|
175
176
|
nativeCandidateLimit?: number | undefined;
|
|
176
177
|
nativeMaxBackfills?: number | undefined;
|
|
@@ -190,6 +191,7 @@ export declare const createRAG: (path: string, options?: CreateRAGOptions) => {
|
|
|
190
191
|
query: string;
|
|
191
192
|
topK?: number | undefined;
|
|
192
193
|
candidateTopK?: number | undefined;
|
|
194
|
+
nativeQueryProfile?: import("../..").RAGNativeQueryProfile | undefined;
|
|
193
195
|
nativeQueryMultiplier?: number | undefined;
|
|
194
196
|
nativeCandidateLimit?: number | undefined;
|
|
195
197
|
nativeMaxBackfills?: number | undefined;
|
|
@@ -589,6 +589,8 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
589
589
|
previousSqliteQueryJsRemainderClauseCount?: number | undefined;
|
|
590
590
|
sqliteQueryMultiplierUsed?: number | undefined;
|
|
591
591
|
previousSqliteQueryMultiplierUsed?: number | undefined;
|
|
592
|
+
sqliteQueryPlannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
593
|
+
previousSqliteQueryPlannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
592
594
|
sqliteQueryCandidateLimitUsed?: number | undefined;
|
|
593
595
|
previousSqliteQueryCandidateLimitUsed?: number | undefined;
|
|
594
596
|
sqliteQueryMaxBackfillsUsed?: number | undefined;
|
|
@@ -641,6 +643,8 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
641
643
|
previousPostgresQueryJsRemainderClauseCount?: number | undefined;
|
|
642
644
|
postgresQueryMultiplierUsed?: number | undefined;
|
|
643
645
|
previousPostgresQueryMultiplierUsed?: number | undefined;
|
|
646
|
+
postgresQueryPlannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
647
|
+
previousPostgresQueryPlannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
644
648
|
postgresQueryCandidateLimitUsed?: number | undefined;
|
|
645
649
|
previousPostgresQueryCandidateLimitUsed?: number | undefined;
|
|
646
650
|
postgresQueryMaxBackfillsUsed?: number | undefined;
|
|
@@ -868,6 +872,8 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
868
872
|
previousSqliteQueryJsRemainderClauseCount?: number | undefined;
|
|
869
873
|
sqliteQueryMultiplierUsed?: number | undefined;
|
|
870
874
|
previousSqliteQueryMultiplierUsed?: number | undefined;
|
|
875
|
+
sqliteQueryPlannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
876
|
+
previousSqliteQueryPlannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
871
877
|
sqliteQueryCandidateLimitUsed?: number | undefined;
|
|
872
878
|
previousSqliteQueryCandidateLimitUsed?: number | undefined;
|
|
873
879
|
sqliteQueryMaxBackfillsUsed?: number | undefined;
|
|
@@ -920,6 +926,8 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
920
926
|
previousPostgresQueryJsRemainderClauseCount?: number | undefined;
|
|
921
927
|
postgresQueryMultiplierUsed?: number | undefined;
|
|
922
928
|
previousPostgresQueryMultiplierUsed?: number | undefined;
|
|
929
|
+
postgresQueryPlannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
930
|
+
previousPostgresQueryPlannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
923
931
|
postgresQueryCandidateLimitUsed?: number | undefined;
|
|
924
932
|
previousPostgresQueryCandidateLimitUsed?: number | undefined;
|
|
925
933
|
postgresQueryMaxBackfillsUsed?: number | undefined;
|
|
@@ -1156,6 +1164,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1156
1164
|
pushdownClauseCount: number;
|
|
1157
1165
|
totalFilterClauseCount: number;
|
|
1158
1166
|
jsRemainderClauseCount: number;
|
|
1167
|
+
plannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
1159
1168
|
queryMultiplierUsed?: number | undefined;
|
|
1160
1169
|
candidateLimitUsed?: number | undefined;
|
|
1161
1170
|
maxBackfillsUsed?: number | undefined;
|
|
@@ -1209,6 +1218,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1209
1218
|
pushdownClauseCount: number;
|
|
1210
1219
|
totalFilterClauseCount: number;
|
|
1211
1220
|
jsRemainderClauseCount: number;
|
|
1221
|
+
plannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
1212
1222
|
queryMultiplierUsed?: number | undefined;
|
|
1213
1223
|
candidateLimitUsed?: number | undefined;
|
|
1214
1224
|
maxBackfillsUsed?: number | undefined;
|
|
@@ -1284,6 +1294,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1284
1294
|
pushdownClauseCount: number;
|
|
1285
1295
|
totalFilterClauseCount: number;
|
|
1286
1296
|
jsRemainderClauseCount: number;
|
|
1297
|
+
plannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
1287
1298
|
queryMultiplierUsed?: number | undefined;
|
|
1288
1299
|
candidateLimitUsed?: number | undefined;
|
|
1289
1300
|
maxBackfillsUsed?: number | undefined;
|
|
@@ -1337,6 +1348,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1337
1348
|
pushdownClauseCount: number;
|
|
1338
1349
|
totalFilterClauseCount: number;
|
|
1339
1350
|
jsRemainderClauseCount: number;
|
|
1351
|
+
plannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
1340
1352
|
queryMultiplierUsed?: number | undefined;
|
|
1341
1353
|
candidateLimitUsed?: number | undefined;
|
|
1342
1354
|
maxBackfillsUsed?: number | undefined;
|
|
@@ -2042,6 +2054,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
2042
2054
|
query: string;
|
|
2043
2055
|
topK?: number | undefined;
|
|
2044
2056
|
candidateTopK?: number | undefined;
|
|
2057
|
+
nativeQueryProfile?: import("../..").RAGNativeQueryProfile | undefined;
|
|
2045
2058
|
nativeQueryMultiplier?: number | undefined;
|
|
2046
2059
|
nativeCandidateLimit?: number | undefined;
|
|
2047
2060
|
nativeMaxBackfills?: number | undefined;
|
|
@@ -2080,6 +2093,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
2080
2093
|
query: string;
|
|
2081
2094
|
topK?: number | undefined;
|
|
2082
2095
|
candidateTopK?: number | undefined;
|
|
2096
|
+
nativeQueryProfile?: import("../..").RAGNativeQueryProfile | undefined;
|
|
2083
2097
|
nativeQueryMultiplier?: number | undefined;
|
|
2084
2098
|
nativeCandidateLimit?: number | undefined;
|
|
2085
2099
|
nativeMaxBackfills?: number | undefined;
|
|
@@ -2177,6 +2191,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
2177
2191
|
query: string;
|
|
2178
2192
|
topK?: number | undefined;
|
|
2179
2193
|
candidateTopK?: number | undefined;
|
|
2194
|
+
nativeQueryProfile?: import("../..").RAGNativeQueryProfile | undefined;
|
|
2180
2195
|
nativeQueryMultiplier?: number | undefined;
|
|
2181
2196
|
nativeCandidateLimit?: number | undefined;
|
|
2182
2197
|
nativeMaxBackfills?: number | undefined;
|
|
@@ -2196,6 +2211,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
2196
2211
|
query: string;
|
|
2197
2212
|
topK?: number | undefined;
|
|
2198
2213
|
candidateTopK?: number | undefined;
|
|
2214
|
+
nativeQueryProfile?: import("../..").RAGNativeQueryProfile | undefined;
|
|
2199
2215
|
nativeQueryMultiplier?: number | undefined;
|
|
2200
2216
|
nativeCandidateLimit?: number | undefined;
|
|
2201
2217
|
nativeMaxBackfills?: number | undefined;
|
|
@@ -348,6 +348,8 @@ export declare const useRAGEvaluate: (path: string) => {
|
|
|
348
348
|
previousSqliteQueryJsRemainderClauseCount?: number | undefined;
|
|
349
349
|
sqliteQueryMultiplierUsed?: number | undefined;
|
|
350
350
|
previousSqliteQueryMultiplierUsed?: number | undefined;
|
|
351
|
+
sqliteQueryPlannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
352
|
+
previousSqliteQueryPlannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
351
353
|
sqliteQueryCandidateLimitUsed?: number | undefined;
|
|
352
354
|
previousSqliteQueryCandidateLimitUsed?: number | undefined;
|
|
353
355
|
sqliteQueryMaxBackfillsUsed?: number | undefined;
|
|
@@ -400,6 +402,8 @@ export declare const useRAGEvaluate: (path: string) => {
|
|
|
400
402
|
previousPostgresQueryJsRemainderClauseCount?: number | undefined;
|
|
401
403
|
postgresQueryMultiplierUsed?: number | undefined;
|
|
402
404
|
previousPostgresQueryMultiplierUsed?: number | undefined;
|
|
405
|
+
postgresQueryPlannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
406
|
+
previousPostgresQueryPlannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
403
407
|
postgresQueryCandidateLimitUsed?: number | undefined;
|
|
404
408
|
previousPostgresQueryCandidateLimitUsed?: number | undefined;
|
|
405
409
|
postgresQueryMaxBackfillsUsed?: number | undefined;
|
|
@@ -627,6 +631,8 @@ export declare const useRAGEvaluate: (path: string) => {
|
|
|
627
631
|
previousSqliteQueryJsRemainderClauseCount?: number | undefined;
|
|
628
632
|
sqliteQueryMultiplierUsed?: number | undefined;
|
|
629
633
|
previousSqliteQueryMultiplierUsed?: number | undefined;
|
|
634
|
+
sqliteQueryPlannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
635
|
+
previousSqliteQueryPlannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
630
636
|
sqliteQueryCandidateLimitUsed?: number | undefined;
|
|
631
637
|
previousSqliteQueryCandidateLimitUsed?: number | undefined;
|
|
632
638
|
sqliteQueryMaxBackfillsUsed?: number | undefined;
|
|
@@ -679,6 +685,8 @@ export declare const useRAGEvaluate: (path: string) => {
|
|
|
679
685
|
previousPostgresQueryJsRemainderClauseCount?: number | undefined;
|
|
680
686
|
postgresQueryMultiplierUsed?: number | undefined;
|
|
681
687
|
previousPostgresQueryMultiplierUsed?: number | undefined;
|
|
688
|
+
postgresQueryPlannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
689
|
+
previousPostgresQueryPlannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
682
690
|
postgresQueryCandidateLimitUsed?: number | undefined;
|
|
683
691
|
previousPostgresQueryCandidateLimitUsed?: number | undefined;
|
|
684
692
|
postgresQueryMaxBackfillsUsed?: number | undefined;
|
|
@@ -43,6 +43,7 @@ export declare const useRAGIndexAdmin: (path: string) => {
|
|
|
43
43
|
pushdownClauseCount: number;
|
|
44
44
|
totalFilterClauseCount: number;
|
|
45
45
|
jsRemainderClauseCount: number;
|
|
46
|
+
plannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
46
47
|
queryMultiplierUsed?: number | undefined;
|
|
47
48
|
candidateLimitUsed?: number | undefined;
|
|
48
49
|
maxBackfillsUsed?: number | undefined;
|
|
@@ -96,6 +97,7 @@ export declare const useRAGIndexAdmin: (path: string) => {
|
|
|
96
97
|
pushdownClauseCount: number;
|
|
97
98
|
totalFilterClauseCount: number;
|
|
98
99
|
jsRemainderClauseCount: number;
|
|
100
|
+
plannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
99
101
|
queryMultiplierUsed?: number | undefined;
|
|
100
102
|
candidateLimitUsed?: number | undefined;
|
|
101
103
|
maxBackfillsUsed?: number | undefined;
|
|
@@ -171,6 +173,7 @@ export declare const useRAGIndexAdmin: (path: string) => {
|
|
|
171
173
|
pushdownClauseCount: number;
|
|
172
174
|
totalFilterClauseCount: number;
|
|
173
175
|
jsRemainderClauseCount: number;
|
|
176
|
+
plannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
174
177
|
queryMultiplierUsed?: number | undefined;
|
|
175
178
|
candidateLimitUsed?: number | undefined;
|
|
176
179
|
maxBackfillsUsed?: number | undefined;
|
|
@@ -224,6 +227,7 @@ export declare const useRAGIndexAdmin: (path: string) => {
|
|
|
224
227
|
pushdownClauseCount: number;
|
|
225
228
|
totalFilterClauseCount: number;
|
|
226
229
|
jsRemainderClauseCount: number;
|
|
230
|
+
plannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
227
231
|
queryMultiplierUsed?: number | undefined;
|
|
228
232
|
candidateLimitUsed?: number | undefined;
|
|
229
233
|
maxBackfillsUsed?: number | undefined;
|
|
@@ -10,6 +10,7 @@ export declare const useRAGSearch: (path: string) => {
|
|
|
10
10
|
query: string;
|
|
11
11
|
topK?: number | undefined;
|
|
12
12
|
candidateTopK?: number | undefined;
|
|
13
|
+
nativeQueryProfile?: import("../..").RAGNativeQueryProfile | undefined;
|
|
13
14
|
nativeQueryMultiplier?: number | undefined;
|
|
14
15
|
nativeCandidateLimit?: number | undefined;
|
|
15
16
|
nativeMaxBackfills?: number | undefined;
|
|
@@ -48,6 +49,7 @@ export declare const useRAGSearch: (path: string) => {
|
|
|
48
49
|
query: string;
|
|
49
50
|
topK?: number | undefined;
|
|
50
51
|
candidateTopK?: number | undefined;
|
|
52
|
+
nativeQueryProfile?: import("../..").RAGNativeQueryProfile | undefined;
|
|
51
53
|
nativeQueryMultiplier?: number | undefined;
|
|
52
54
|
nativeCandidateLimit?: number | undefined;
|
|
53
55
|
nativeMaxBackfills?: number | undefined;
|
package/dist/svelte/ai/index.js
CHANGED
|
@@ -749,7 +749,7 @@ var formatLeadMediaCueSummary = (input) => {
|
|
|
749
749
|
return parts.length > 0 ? parts.join(" \xB7 ") : "none";
|
|
750
750
|
};
|
|
751
751
|
var formatRAGTraceMetadataRow = (key, value) => ({
|
|
752
|
-
label: key === "sqliteQueryMode" ? "SQLite query mode" : key === "postgresQueryMode" ? "Postgres query mode" : key === "sqliteQueryPushdownMode" ? "SQLite pushdown mode" : key === "postgresQueryPushdownMode" ? "Postgres pushdown mode" : key === "sqliteQueryPushdownApplied" ? "SQLite pushdown applied" : key === "postgresQueryPushdownApplied" ? "Postgres pushdown applied" : key === "sqliteQueryPushdownClauseCount" ? "SQLite pushdown clauses" : key === "postgresQueryPushdownClauseCount" ? "Postgres pushdown clauses" : key === "sqliteQueryPushdownCoverageRatio" ? "SQLite pushdown coverage" : key === "postgresQueryPushdownCoverageRatio" ? "Postgres pushdown coverage" : key === "sqliteQueryTotalFilterClauseCount" ? "SQLite total filter clauses" : key === "postgresQueryTotalFilterClauseCount" ? "Postgres total filter clauses" : key === "sqliteQueryJsRemainderClauseCount" ? "SQLite JS remainder clauses" : key === "sqliteQueryMultiplierUsed" ? "SQLite query multiplier" : key === "sqliteQueryCandidateLimitUsed" ? "SQLite candidate limit" : key === "sqliteQueryMaxBackfillsUsed" ? "SQLite max backfills" : key === "sqliteQueryMinResultsUsed" ? "SQLite min results" : key === "sqliteQueryFillPolicyUsed" ? "SQLite fill policy" : key === "postgresQueryJsRemainderClauseCount" ? "Postgres JS remainder clauses" : key === "postgresQueryMultiplierUsed" ? "Postgres query multiplier" : key === "postgresQueryCandidateLimitUsed" ? "Postgres candidate limit" : key === "postgresQueryMaxBackfillsUsed" ? "Postgres max backfills" : key === "postgresQueryMinResultsUsed" ? "Postgres min results" : key === "postgresQueryFillPolicyUsed" ? "Postgres fill policy" : key === "sqliteQueryJsRemainderRatio" ? "SQLite JS remainder share" : key === "postgresQueryJsRemainderRatio" ? "Postgres JS remainder share" : key === "sqliteQueryFilteredCandidates" ? "SQLite filtered candidates" : key === "postgresQueryFilteredCandidates" ? "Postgres filtered candidates" : key === "sqliteQueryInitialSearchK" ? "SQLite initial searchK" : key === "postgresQueryInitialSearchK" ? "Postgres initial searchK" : key === "sqliteQueryFinalSearchK" ? "SQLite final searchK" : key === "postgresQueryFinalSearchK" ? "Postgres final searchK" : key === "sqliteQuerySearchExpansionRatio" ? "SQLite search expansion" : key === "postgresQuerySearchExpansionRatio" ? "Postgres search expansion" : key === "sqliteQueryBackfillCount" ? "SQLite backfill count" : key === "sqliteQueryBackfillLimitReached" ? "SQLite backfill limit reached" : key === "sqliteQueryMinResultsSatisfied" ? "SQLite min results satisfied" : key === "postgresQueryBackfillCount" ? "Postgres backfill count" : key === "postgresQueryBackfillLimitReached" ? "Postgres backfill limit reached" : key === "postgresQueryMinResultsSatisfied" ? "Postgres min results satisfied" : key === "sqliteQueryReturnedCount" ? "SQLite returned hits" : key === "postgresQueryReturnedCount" ? "Postgres returned hits" : key === "sqliteQueryCandidateYieldRatio" ? "SQLite candidate yield" : key === "postgresQueryCandidateYieldRatio" ? "Postgres candidate yield" : key === "sqliteQueryTopKFillRatio" ? "SQLite topK fill rate" : key === "postgresQueryTopKFillRatio" ? "Postgres topK fill rate" : key === "sqliteQueryUnderfilledTopK" ? "SQLite underfilled topK" : key === "postgresQueryUnderfilledTopK" ? "Postgres underfilled topK" : key === "sqliteQueryCandidateBudgetExhausted" ? "SQLite candidate budget exhausted" : key === "postgresQueryCandidateBudgetExhausted" ? "Postgres candidate budget exhausted" : key === "sqliteQueryCandidateCoverage" ? "SQLite candidate coverage" : key === "postgresQueryCandidateCoverage" ? "Postgres candidate coverage" : key === "leadSpeakerCue" ? "Lead speaker cue" : key === "leadSpeakerAttributionCue" ? "Lead speaker attribution" : key === "leadChannelAttributionCue" ? "Lead channel attribution" : key === "leadChannelCue" ? "Lead channel cue" : key === "leadContinuityCue" ? "Lead continuity cue" : key,
|
|
752
|
+
label: key === "sqliteQueryMode" ? "SQLite query mode" : key === "postgresQueryMode" ? "Postgres query mode" : key === "sqliteQueryPushdownMode" ? "SQLite pushdown mode" : key === "postgresQueryPushdownMode" ? "Postgres pushdown mode" : key === "sqliteQueryPushdownApplied" ? "SQLite pushdown applied" : key === "postgresQueryPushdownApplied" ? "Postgres pushdown applied" : key === "sqliteQueryPushdownClauseCount" ? "SQLite pushdown clauses" : key === "postgresQueryPushdownClauseCount" ? "Postgres pushdown clauses" : key === "sqliteQueryPushdownCoverageRatio" ? "SQLite pushdown coverage" : key === "postgresQueryPushdownCoverageRatio" ? "Postgres pushdown coverage" : key === "sqliteQueryTotalFilterClauseCount" ? "SQLite total filter clauses" : key === "postgresQueryTotalFilterClauseCount" ? "Postgres total filter clauses" : key === "sqliteQueryJsRemainderClauseCount" ? "SQLite JS remainder clauses" : key === "sqliteQueryMultiplierUsed" ? "SQLite query multiplier" : key === "sqliteQueryPlannerProfileUsed" ? "SQLite query profile" : key === "sqliteQueryCandidateLimitUsed" ? "SQLite candidate limit" : key === "sqliteQueryMaxBackfillsUsed" ? "SQLite max backfills" : key === "sqliteQueryMinResultsUsed" ? "SQLite min results" : key === "sqliteQueryFillPolicyUsed" ? "SQLite fill policy" : key === "postgresQueryJsRemainderClauseCount" ? "Postgres JS remainder clauses" : key === "postgresQueryMultiplierUsed" ? "Postgres query multiplier" : key === "postgresQueryPlannerProfileUsed" ? "Postgres query profile" : key === "postgresQueryCandidateLimitUsed" ? "Postgres candidate limit" : key === "postgresQueryMaxBackfillsUsed" ? "Postgres max backfills" : key === "postgresQueryMinResultsUsed" ? "Postgres min results" : key === "postgresQueryFillPolicyUsed" ? "Postgres fill policy" : key === "sqliteQueryJsRemainderRatio" ? "SQLite JS remainder share" : key === "postgresQueryJsRemainderRatio" ? "Postgres JS remainder share" : key === "sqliteQueryFilteredCandidates" ? "SQLite filtered candidates" : key === "postgresQueryFilteredCandidates" ? "Postgres filtered candidates" : key === "sqliteQueryInitialSearchK" ? "SQLite initial searchK" : key === "postgresQueryInitialSearchK" ? "Postgres initial searchK" : key === "sqliteQueryFinalSearchK" ? "SQLite final searchK" : key === "postgresQueryFinalSearchK" ? "Postgres final searchK" : key === "sqliteQuerySearchExpansionRatio" ? "SQLite search expansion" : key === "postgresQuerySearchExpansionRatio" ? "Postgres search expansion" : key === "sqliteQueryBackfillCount" ? "SQLite backfill count" : key === "sqliteQueryBackfillLimitReached" ? "SQLite backfill limit reached" : key === "sqliteQueryMinResultsSatisfied" ? "SQLite min results satisfied" : key === "postgresQueryBackfillCount" ? "Postgres backfill count" : key === "postgresQueryBackfillLimitReached" ? "Postgres backfill limit reached" : key === "postgresQueryMinResultsSatisfied" ? "Postgres min results satisfied" : key === "sqliteQueryReturnedCount" ? "SQLite returned hits" : key === "postgresQueryReturnedCount" ? "Postgres returned hits" : key === "sqliteQueryCandidateYieldRatio" ? "SQLite candidate yield" : key === "postgresQueryCandidateYieldRatio" ? "Postgres candidate yield" : key === "sqliteQueryTopKFillRatio" ? "SQLite topK fill rate" : key === "postgresQueryTopKFillRatio" ? "Postgres topK fill rate" : key === "sqliteQueryUnderfilledTopK" ? "SQLite underfilled topK" : key === "postgresQueryUnderfilledTopK" ? "Postgres underfilled topK" : key === "sqliteQueryCandidateBudgetExhausted" ? "SQLite candidate budget exhausted" : key === "postgresQueryCandidateBudgetExhausted" ? "Postgres candidate budget exhausted" : key === "sqliteQueryCandidateCoverage" ? "SQLite candidate coverage" : key === "postgresQueryCandidateCoverage" ? "Postgres candidate coverage" : key === "leadSpeakerCue" ? "Lead speaker cue" : key === "leadSpeakerAttributionCue" ? "Lead speaker attribution" : key === "leadChannelAttributionCue" ? "Lead channel attribution" : key === "leadChannelCue" ? "Lead channel cue" : key === "leadContinuityCue" ? "Lead continuity cue" : key,
|
|
753
753
|
value: key === "sourceAwareChunkReason" ? formatSourceAwareChunkReason(value) ?? formatRAGTraceValue(value) : key === "leadSpeakerAttributionCue" ? formatLeadSpeakerAttributionCue(value) ?? formatRAGTraceValue(value) : key === "leadChannelAttributionCue" ? formatLeadChannelAttributionCue(value) ?? formatRAGTraceValue(value) : key === "leadContinuityCue" ? formatLeadContinuityCue(value) ?? formatRAGTraceValue(value) : formatRAGTraceValue(value)
|
|
754
754
|
});
|
|
755
755
|
var buildRAGRetrievalTracePresentation = (trace) => {
|
|
@@ -2521,6 +2521,7 @@ var formatSQLitePlannerCueSummary = (input) => {
|
|
|
2521
2521
|
typeof input?.sqliteQueryPushdownClauseCount === "number" ? `clauses ${input.sqliteQueryPushdownClauseCount}` : undefined,
|
|
2522
2522
|
typeof input?.sqliteQueryPushdownCoverageRatio === "number" ? `pushdown ${(input.sqliteQueryPushdownCoverageRatio * 100).toFixed(0)}%` : undefined,
|
|
2523
2523
|
typeof input?.sqliteQueryJsRemainderClauseCount === "number" ? `js remainder ${input.sqliteQueryJsRemainderClauseCount}` : undefined,
|
|
2524
|
+
input?.sqliteQueryPlannerProfileUsed ? `profile ${input.sqliteQueryPlannerProfileUsed}` : undefined,
|
|
2524
2525
|
typeof input?.sqliteQueryMultiplierUsed === "number" ? `x${input.sqliteQueryMultiplierUsed}` : undefined,
|
|
2525
2526
|
typeof input?.sqliteQueryCandidateLimitUsed === "number" ? `cap ${input.sqliteQueryCandidateLimitUsed}` : undefined,
|
|
2526
2527
|
typeof input?.sqliteQueryMaxBackfillsUsed === "number" ? `backfills ${input.sqliteQueryMaxBackfillsUsed}` : undefined,
|
|
@@ -2553,6 +2554,7 @@ var formatPostgresPlannerCueSummary = (input) => {
|
|
|
2553
2554
|
typeof input?.postgresQueryPushdownClauseCount === "number" ? `clauses ${input.postgresQueryPushdownClauseCount}` : undefined,
|
|
2554
2555
|
typeof input?.postgresQueryPushdownCoverageRatio === "number" ? `pushdown ${(input.postgresQueryPushdownCoverageRatio * 100).toFixed(0)}%` : undefined,
|
|
2555
2556
|
typeof input?.postgresQueryJsRemainderClauseCount === "number" ? `js remainder ${input.postgresQueryJsRemainderClauseCount}` : undefined,
|
|
2557
|
+
input?.postgresQueryPlannerProfileUsed ? `profile ${input.postgresQueryPlannerProfileUsed}` : undefined,
|
|
2556
2558
|
typeof input?.postgresQueryMultiplierUsed === "number" ? `x${input.postgresQueryMultiplierUsed}` : undefined,
|
|
2557
2559
|
typeof input?.postgresQueryCandidateLimitUsed === "number" ? `cap ${input.postgresQueryCandidateLimitUsed}` : undefined,
|
|
2558
2560
|
typeof input?.postgresQueryMaxBackfillsUsed === "number" ? `backfills ${input.postgresQueryMaxBackfillsUsed}` : undefined,
|
|
@@ -12152,5 +12154,5 @@ export {
|
|
|
12152
12154
|
createAIStream
|
|
12153
12155
|
};
|
|
12154
12156
|
|
|
12155
|
-
//# debugId=
|
|
12157
|
+
//# debugId=6EF75CEEAF4A06F464756E2164756E21
|
|
12156
12158
|
//# sourceMappingURL=index.js.map
|