@lightdash/common 0.1992.2 → 0.1992.4
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/cjs/ee/AiAgent/followUpTools.d.ts +7 -0
- package/dist/cjs/ee/AiAgent/followUpTools.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/followUpTools.js +21 -1
- package/dist/cjs/ee/AiAgent/followUpTools.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +6 -5
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTableVizArgs.js +8 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTableVizArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +6 -5
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.js +8 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +6 -5
- package/dist/cjs/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolVerticalBarArgs.js +8 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolVerticalBarArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/utils.d.ts +3 -3
- package/dist/esm/ee/AiAgent/followUpTools.d.ts +7 -0
- package/dist/esm/ee/AiAgent/followUpTools.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/followUpTools.js +19 -0
- package/dist/esm/ee/AiAgent/followUpTools.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +6 -5
- package/dist/esm/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolTableVizArgs.js +8 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolTableVizArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +6 -5
- package/dist/esm/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.js +8 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +6 -5
- package/dist/esm/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolVerticalBarArgs.js +8 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolVerticalBarArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/utils.d.ts +3 -3
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/ee/AiAgent/followUpTools.d.ts +7 -0
- package/dist/types/ee/AiAgent/followUpTools.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +6 -5
- package/dist/types/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +6 -5
- package/dist/types/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +6 -5
- package/dist/types/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/utils.d.ts +3 -3
- package/package.json +1 -1
@@ -4,5 +4,12 @@ export type FollowUpToolsText = {
|
|
4
4
|
[key in AiResultType]: string;
|
5
5
|
};
|
6
6
|
export declare const followUpToolsText: FollowUpToolsText;
|
7
|
+
export declare enum LegacyFollowUpTools {
|
8
|
+
GENERATE_TABLE = "generate_table",
|
9
|
+
GENERATE_BAR_VIZ = "generate_bar_viz",
|
10
|
+
GENERATE_TIME_SERIES_VIZ = "generate_time_series_viz"
|
11
|
+
}
|
12
|
+
export declare const legacyToNewMapping: Record<string, AiResultType>;
|
13
|
+
export declare const legacyFollowUpToolsTransform: (tools: (AiResultType.VERTICAL_BAR_RESULT | AiResultType.TABLE_RESULT | AiResultType.TIME_SERIES_RESULT | LegacyFollowUpTools.GENERATE_TABLE | LegacyFollowUpTools.GENERATE_BAR_VIZ | LegacyFollowUpTools.GENERATE_TIME_SERIES_VIZ)[]) => AiResultType[];
|
7
14
|
export declare const followUpToolsSchema: z.ZodArray<z.ZodNativeEnum<typeof AiResultType>, "many">;
|
8
15
|
//# sourceMappingURL=followUpTools.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"followUpTools.d.ts","sourceRoot":"","sources":["../../../../src/ee/AiAgent/followUpTools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,MAAM,MAAM,iBAAiB,GAAG;KAC3B,GAAG,IAAI,YAAY,GAAG,MAAM;CAChC,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,iBAI/B,CAAC;AAEF,eAAO,MAAM,mBAAmB,0DAAqC,CAAC"}
|
1
|
+
{"version":3,"file":"followUpTools.d.ts","sourceRoot":"","sources":["../../../../src/ee/AiAgent/followUpTools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,MAAM,MAAM,iBAAiB,GAAG;KAC3B,GAAG,IAAI,YAAY,GAAG,MAAM;CAChC,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,iBAI/B,CAAC;AAEF,oBAAY,mBAAmB;IAC3B,cAAc,mBAAmB;IACjC,gBAAgB,qBAAqB;IACrC,wBAAwB,6BAA6B;CACxD;AAED,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAK3D,CAAC;AAEF,eAAO,MAAM,4BAA4B,UAC9B,CACD,YAAY,CAAC,mBAAmB,GAChC,YAAY,CAAC,YAAY,GACzB,YAAY,CAAC,kBAAkB,GAC/B,mBAAmB,CAAC,cAAc,GAClC,mBAAmB,CAAC,gBAAgB,GACpC,mBAAmB,CAAC,wBAAwB,CACjD,EAAE,KACJ,YAAY,EAMT,CAAC;AAIP,eAAO,MAAM,mBAAmB,0DAAqC,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.followUpToolsSchema = exports.followUpToolsText = void 0;
|
3
|
+
exports.followUpToolsSchema = exports.legacyFollowUpToolsTransform = exports.legacyToNewMapping = exports.LegacyFollowUpTools = exports.followUpToolsText = void 0;
|
4
4
|
const zod_1 = require("zod");
|
5
5
|
const types_1 = require("./types");
|
6
6
|
exports.followUpToolsText = {
|
@@ -8,5 +8,25 @@ exports.followUpToolsText = {
|
|
8
8
|
[types_1.AiResultType.VERTICAL_BAR_RESULT]: 'Generate a Bar Chart',
|
9
9
|
[types_1.AiResultType.TIME_SERIES_RESULT]: 'Generate a Time Series Chart',
|
10
10
|
};
|
11
|
+
var LegacyFollowUpTools;
|
12
|
+
(function (LegacyFollowUpTools) {
|
13
|
+
LegacyFollowUpTools["GENERATE_TABLE"] = "generate_table";
|
14
|
+
LegacyFollowUpTools["GENERATE_BAR_VIZ"] = "generate_bar_viz";
|
15
|
+
LegacyFollowUpTools["GENERATE_TIME_SERIES_VIZ"] = "generate_time_series_viz";
|
16
|
+
})(LegacyFollowUpTools || (exports.LegacyFollowUpTools = LegacyFollowUpTools = {}));
|
17
|
+
exports.legacyToNewMapping = {
|
18
|
+
[LegacyFollowUpTools.GENERATE_TABLE]: types_1.AiResultType.TABLE_RESULT,
|
19
|
+
[LegacyFollowUpTools.GENERATE_BAR_VIZ]: types_1.AiResultType.VERTICAL_BAR_RESULT,
|
20
|
+
[LegacyFollowUpTools.GENERATE_TIME_SERIES_VIZ]: types_1.AiResultType.TIME_SERIES_RESULT,
|
21
|
+
};
|
22
|
+
const legacyFollowUpToolsTransform = (tools) => tools.map((tool) => {
|
23
|
+
if (tool in exports.legacyToNewMapping) {
|
24
|
+
return exports.legacyToNewMapping[tool];
|
25
|
+
}
|
26
|
+
return tool;
|
27
|
+
});
|
28
|
+
exports.legacyFollowUpToolsTransform = legacyFollowUpToolsTransform;
|
29
|
+
// this is used only for slack at the moment, so no backwards compatibility is needed
|
30
|
+
// TODO :: reuse this schema across the tools
|
11
31
|
exports.followUpToolsSchema = zod_1.z.nativeEnum(types_1.AiResultType).array();
|
12
32
|
//# sourceMappingURL=followUpTools.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"followUpTools.js","sourceRoot":"","sources":["../../../../src/ee/AiAgent/followUpTools.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,mCAAuC;AAM1B,QAAA,iBAAiB,GAAsB;IAChD,CAAC,oBAAY,CAAC,YAAY,CAAC,EAAE,kBAAkB;IAC/C,CAAC,oBAAY,CAAC,mBAAmB,CAAC,EAAE,sBAAsB;IAC1D,CAAC,oBAAY,CAAC,kBAAkB,CAAC,EAAE,8BAA8B;CACpE,CAAC;
|
1
|
+
{"version":3,"file":"followUpTools.js","sourceRoot":"","sources":["../../../../src/ee/AiAgent/followUpTools.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,mCAAuC;AAM1B,QAAA,iBAAiB,GAAsB;IAChD,CAAC,oBAAY,CAAC,YAAY,CAAC,EAAE,kBAAkB;IAC/C,CAAC,oBAAY,CAAC,mBAAmB,CAAC,EAAE,sBAAsB;IAC1D,CAAC,oBAAY,CAAC,kBAAkB,CAAC,EAAE,8BAA8B;CACpE,CAAC;AAEF,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC3B,wDAAiC,CAAA;IACjC,4DAAqC,CAAA;IACrC,4EAAqD,CAAA;AACzD,CAAC,EAJW,mBAAmB,mCAAnB,mBAAmB,QAI9B;AAEY,QAAA,kBAAkB,GAAiC;IAC5D,CAAC,mBAAmB,CAAC,cAAc,CAAC,EAAE,oBAAY,CAAC,YAAY;IAC/D,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,oBAAY,CAAC,mBAAmB;IACxE,CAAC,mBAAmB,CAAC,wBAAwB,CAAC,EAC1C,oBAAY,CAAC,kBAAkB;CACtC,CAAC;AAEK,MAAM,4BAA4B,GAAG,CACxC,KAOG,EACW,EAAE,CAChB,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;IACf,IAAI,IAAI,IAAI,0BAAkB,EAAE,CAAC;QAC7B,OAAO,0BAAkB,CAAC,IAAI,CAAC,CAAC;IACpC,CAAC;IACD,OAAO,IAA+B,CAAC;AAC3C,CAAC,CAAC,CAAC;AAfM,QAAA,4BAA4B,gCAelC;AAEP,qFAAqF;AACrF,6CAA6C;AAChC,QAAA,mBAAmB,GAAG,OAAC,CAAC,UAAU,CAAC,oBAAY,CAAC,CAAC,KAAK,EAAE,CAAC"}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { z } from 'zod';
|
2
|
+
import { LegacyFollowUpTools } from '../../followUpTools';
|
2
3
|
import { AiResultType } from '../../types';
|
3
4
|
export declare const TOOL_TABLE_VIZ_DESCRIPTION = "Use this tool to query data to display in a table or summarized if limit is set to 1.";
|
4
5
|
export declare const toolTableVizArgsSchema: z.ZodObject<{
|
@@ -2406,7 +2407,6 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
|
|
2406
2407
|
})[] | null;
|
2407
2408
|
type: "and" | "or";
|
2408
2409
|
}>>;
|
2409
|
-
followUpTools: z.ZodArray<z.ZodUnion<[z.ZodLiteral<AiResultType.VERTICAL_BAR_RESULT>, z.ZodLiteral<AiResultType.TIME_SERIES_RESULT>]>, "many">;
|
2410
2410
|
title: z.ZodString;
|
2411
2411
|
description: z.ZodString;
|
2412
2412
|
} & {
|
@@ -2429,6 +2429,7 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
|
|
2429
2429
|
type: import("../../../..").MetricType.PERCENTILE | import("../../../..").MetricType.AVERAGE | import("../../../..").MetricType.COUNT | import("../../../..").MetricType.COUNT_DISTINCT | import("../../../..").MetricType.SUM | import("../../../..").MetricType.MIN | import("../../../..").MetricType.MAX | import("../../../..").MetricType.MEDIAN;
|
2430
2430
|
baseDimensionName: string;
|
2431
2431
|
}>, "many">>>;
|
2432
|
+
followUpTools: z.ZodArray<z.ZodUnion<[z.ZodLiteral<AiResultType.VERTICAL_BAR_RESULT>, z.ZodLiteral<AiResultType.TIME_SERIES_RESULT>, z.ZodLiteral<LegacyFollowUpTools.GENERATE_BAR_VIZ>, z.ZodLiteral<LegacyFollowUpTools.GENERATE_TIME_SERIES_VIZ>]>, "many">;
|
2432
2433
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
2433
2434
|
type: AiResultType.TABLE_RESULT;
|
2434
2435
|
description: string;
|
@@ -2632,7 +2633,7 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
|
|
2632
2633
|
nullsFirst: boolean | null;
|
2633
2634
|
}[];
|
2634
2635
|
};
|
2635
|
-
followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.VERTICAL_BAR_RESULT)[];
|
2636
|
+
followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.VERTICAL_BAR_RESULT | LegacyFollowUpTools.GENERATE_BAR_VIZ | LegacyFollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
|
2636
2637
|
}, {
|
2637
2638
|
type: AiResultType.TABLE_RESULT;
|
2638
2639
|
description: string;
|
@@ -2829,7 +2830,7 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
|
|
2829
2830
|
nullsFirst: boolean | null;
|
2830
2831
|
}[];
|
2831
2832
|
};
|
2832
|
-
followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.VERTICAL_BAR_RESULT)[];
|
2833
|
+
followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.VERTICAL_BAR_RESULT | LegacyFollowUpTools.GENERATE_BAR_VIZ | LegacyFollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
|
2833
2834
|
customMetrics?: {
|
2834
2835
|
name: string;
|
2835
2836
|
label: string;
|
@@ -2839,6 +2840,7 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
|
|
2839
2840
|
}[] | null | undefined;
|
2840
2841
|
}>, {
|
2841
2842
|
filters: import("../../../..").Filters;
|
2843
|
+
followUpTools: AiResultType[];
|
2842
2844
|
type: AiResultType.TABLE_RESULT;
|
2843
2845
|
description: string;
|
2844
2846
|
customMetrics: {
|
@@ -2860,7 +2862,6 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
|
|
2860
2862
|
nullsFirst: boolean | null;
|
2861
2863
|
}[];
|
2862
2864
|
};
|
2863
|
-
followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.VERTICAL_BAR_RESULT)[];
|
2864
2865
|
}, {
|
2865
2866
|
type: AiResultType.TABLE_RESULT;
|
2866
2867
|
description: string;
|
@@ -3057,7 +3058,7 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
|
|
3057
3058
|
nullsFirst: boolean | null;
|
3058
3059
|
}[];
|
3059
3060
|
};
|
3060
|
-
followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.VERTICAL_BAR_RESULT)[];
|
3061
|
+
followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.VERTICAL_BAR_RESULT | LegacyFollowUpTools.GENERATE_BAR_VIZ | LegacyFollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
|
3061
3062
|
customMetrics?: {
|
3062
3063
|
name: string;
|
3063
3064
|
label: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"toolTableVizArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolTableVizArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAO3C,eAAO,MAAM,0BAA0B,0FAA0F,CAAC;AAElI,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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
|
const tslib_1 = require("tslib");
|
5
5
|
const zod_1 = require("zod");
|
6
|
+
const followUpTools_1 = require("../../followUpTools");
|
6
7
|
const types_1 = require("../../types");
|
7
8
|
const customMetrics_1 = require("../customMetrics");
|
8
9
|
const filters_1 = require("../filters");
|
@@ -30,9 +31,16 @@ exports.toolTableVizArgsSchemaTransformed = exports.toolTableVizArgsSchema
|
|
30
31
|
.extend({
|
31
32
|
// backwards compatibility for old viz configs without customMetrics
|
32
33
|
customMetrics: customMetrics_1.customMetricsSchema.default(null),
|
34
|
+
followUpTools: zod_1.z.array(zod_1.z.union([
|
35
|
+
zod_1.z.literal(types_1.AiResultType.VERTICAL_BAR_RESULT),
|
36
|
+
zod_1.z.literal(types_1.AiResultType.TIME_SERIES_RESULT),
|
37
|
+
zod_1.z.literal(followUpTools_1.LegacyFollowUpTools.GENERATE_BAR_VIZ),
|
38
|
+
zod_1.z.literal(followUpTools_1.LegacyFollowUpTools.GENERATE_TIME_SERIES_VIZ),
|
39
|
+
])),
|
33
40
|
})
|
34
41
|
.transform((data) => ({
|
35
42
|
...data,
|
36
43
|
filters: filters_1.filtersSchemaTransformed.parse(data.filters),
|
44
|
+
followUpTools: (0, followUpTools_1.legacyFollowUpToolsTransform)(data.followUpTools),
|
37
45
|
}));
|
38
46
|
//# sourceMappingURL=toolTableVizArgs.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"toolTableVizArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolTableVizArgs.ts"],"names":[],"mappings":";;;;AAAA,6BAAwB;AACxB,uCAA2C;AAC3C,oDAAuD;AACvD,wCAAqE;AACrE,4DAAwD;AACxD,6FAAmE;AACnE,sDAAyD;AAE5C,QAAA,0BAA0B,GAAG,uFAAuF,CAAC;AAErH,QAAA,sBAAsB,GAAG,IAAA,oCAAgB,EAClD,oBAAY,CAAC,YAAY,EACzB,kCAA0B,CAC7B;KACI,MAAM,CAAC;IACJ,GAAG,+BAA2B,CAAC,KAAK;IACpC,aAAa,EAAE,mCAAmB;IAClC,SAAS,EAAE,qCAAoB;IAC/B,OAAO,EAAE,uBAAa;SACjB,QAAQ,EAAE;SACV,QAAQ,CACL,oIAAoI,CACvI;IACL,aAAa,EAAE,OAAC;SACX,KAAK,CACF,OAAC,CAAC,KAAK,CAAC;QACJ,OAAC,CAAC,OAAO,CAAC,oBAAY,CAAC,mBAAmB,CAAC;QAC3C,OAAC,CAAC,OAAO,CAAC,oBAAY,CAAC,kBAAkB,CAAC;KAC7C,CAAC,CACL;SACA,QAAQ,CACL,wEAAwE,CAC3E;CACR,CAAC;KACD,KAAK,EAAE,CAAC;AAIA,QAAA,iCAAiC,GAAG,8BAAsB;KAClE,MAAM,CAAC;IACJ,oEAAoE;IACpE,aAAa,EAAE,mCAAmB,CAAC,OAAO,CAAC,IAAI,CAAC;
|
1
|
+
{"version":3,"file":"toolTableVizArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolTableVizArgs.ts"],"names":[],"mappings":";;;;AAAA,6BAAwB;AACxB,uDAG6B;AAC7B,uCAA2C;AAC3C,oDAAuD;AACvD,wCAAqE;AACrE,4DAAwD;AACxD,6FAAmE;AACnE,sDAAyD;AAE5C,QAAA,0BAA0B,GAAG,uFAAuF,CAAC;AAErH,QAAA,sBAAsB,GAAG,IAAA,oCAAgB,EAClD,oBAAY,CAAC,YAAY,EACzB,kCAA0B,CAC7B;KACI,MAAM,CAAC;IACJ,GAAG,+BAA2B,CAAC,KAAK;IACpC,aAAa,EAAE,mCAAmB;IAClC,SAAS,EAAE,qCAAoB;IAC/B,OAAO,EAAE,uBAAa;SACjB,QAAQ,EAAE;SACV,QAAQ,CACL,oIAAoI,CACvI;IACL,aAAa,EAAE,OAAC;SACX,KAAK,CACF,OAAC,CAAC,KAAK,CAAC;QACJ,OAAC,CAAC,OAAO,CAAC,oBAAY,CAAC,mBAAmB,CAAC;QAC3C,OAAC,CAAC,OAAO,CAAC,oBAAY,CAAC,kBAAkB,CAAC;KAC7C,CAAC,CACL;SACA,QAAQ,CACL,wEAAwE,CAC3E;CACR,CAAC;KACD,KAAK,EAAE,CAAC;AAIA,QAAA,iCAAiC,GAAG,8BAAsB;KAClE,MAAM,CAAC;IACJ,oEAAoE;IACpE,aAAa,EAAE,mCAAmB,CAAC,OAAO,CAAC,IAAI,CAAC;IAChD,aAAa,EAAE,OAAC,CAAC,KAAK,CAClB,OAAC,CAAC,KAAK,CAAC;QACJ,OAAC,CAAC,OAAO,CAAC,oBAAY,CAAC,mBAAmB,CAAC;QAC3C,OAAC,CAAC,OAAO,CAAC,oBAAY,CAAC,kBAAkB,CAAC;QAC1C,OAAC,CAAC,OAAO,CAAC,mCAAmB,CAAC,gBAAgB,CAAC;QAC/C,OAAC,CAAC,OAAO,CAAC,mCAAmB,CAAC,wBAAwB,CAAC;KAC1D,CAAC,CACL;CACJ,CAAC;KACD,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;IAClB,GAAG,IAAI;IACP,OAAO,EAAE,kCAAwB,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC;IACrD,aAAa,EAAE,IAAA,4CAA4B,EAAC,IAAI,CAAC,aAAa,CAAC;CAClE,CAAC,CAAC,CAAC"}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { z } from 'zod';
|
2
|
+
import { LegacyFollowUpTools } from '../../followUpTools';
|
2
3
|
import { AiResultType } from '../../types';
|
3
4
|
export declare const TOOL_TIME_SERIES_VIZ_DESCRIPTION = "Use this tool to generate a Time Series Chart.";
|
4
5
|
export declare const toolTimeSeriesArgsSchema: z.ZodObject<{
|
@@ -2387,7 +2388,6 @@ export declare const toolTimeSeriesArgsSchemaTransformed: z.ZodEffects<z.ZodObje
|
|
2387
2388
|
})[] | null;
|
2388
2389
|
type: "and" | "or";
|
2389
2390
|
}>>;
|
2390
|
-
followUpTools: z.ZodArray<z.ZodUnion<[z.ZodLiteral<AiResultType.TABLE_RESULT>, z.ZodLiteral<AiResultType.VERTICAL_BAR_RESULT>]>, "many">;
|
2391
2391
|
title: z.ZodString;
|
2392
2392
|
description: z.ZodString;
|
2393
2393
|
} & {
|
@@ -2462,6 +2462,7 @@ export declare const toolTimeSeriesArgsSchemaTransformed: z.ZodEffects<z.ZodObje
|
|
2462
2462
|
type: import("../../../..").MetricType.PERCENTILE | import("../../../..").MetricType.AVERAGE | import("../../../..").MetricType.COUNT | import("../../../..").MetricType.COUNT_DISTINCT | import("../../../..").MetricType.SUM | import("../../../..").MetricType.MIN | import("../../../..").MetricType.MAX | import("../../../..").MetricType.MEDIAN;
|
2463
2463
|
baseDimensionName: string;
|
2464
2464
|
}>, "many">>>;
|
2465
|
+
followUpTools: z.ZodArray<z.ZodUnion<[z.ZodLiteral<AiResultType.TABLE_RESULT>, z.ZodLiteral<AiResultType.VERTICAL_BAR_RESULT>, z.ZodLiteral<LegacyFollowUpTools.GENERATE_TABLE>, z.ZodLiteral<LegacyFollowUpTools.GENERATE_BAR_VIZ>]>, "many">;
|
2465
2466
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
2466
2467
|
type: AiResultType.TIME_SERIES_RESULT;
|
2467
2468
|
description: string;
|
@@ -2669,7 +2670,7 @@ export declare const toolTimeSeriesArgsSchemaTransformed: z.ZodEffects<z.ZodObje
|
|
2669
2670
|
xAxisLabel: string;
|
2670
2671
|
yAxisLabel: string;
|
2671
2672
|
};
|
2672
|
-
followUpTools: (AiResultType.VERTICAL_BAR_RESULT | AiResultType.TABLE_RESULT)[];
|
2673
|
+
followUpTools: (AiResultType.VERTICAL_BAR_RESULT | AiResultType.TABLE_RESULT | LegacyFollowUpTools.GENERATE_TABLE | LegacyFollowUpTools.GENERATE_BAR_VIZ)[];
|
2673
2674
|
}, {
|
2674
2675
|
type: AiResultType.TIME_SERIES_RESULT;
|
2675
2676
|
description: string;
|
@@ -2870,7 +2871,7 @@ export declare const toolTimeSeriesArgsSchemaTransformed: z.ZodEffects<z.ZodObje
|
|
2870
2871
|
xAxisLabel?: string | undefined;
|
2871
2872
|
yAxisLabel?: string | undefined;
|
2872
2873
|
};
|
2873
|
-
followUpTools: (AiResultType.VERTICAL_BAR_RESULT | AiResultType.TABLE_RESULT)[];
|
2874
|
+
followUpTools: (AiResultType.VERTICAL_BAR_RESULT | AiResultType.TABLE_RESULT | LegacyFollowUpTools.GENERATE_TABLE | LegacyFollowUpTools.GENERATE_BAR_VIZ)[];
|
2874
2875
|
customMetrics?: {
|
2875
2876
|
name: string;
|
2876
2877
|
label: string;
|
@@ -2880,6 +2881,7 @@ export declare const toolTimeSeriesArgsSchemaTransformed: z.ZodEffects<z.ZodObje
|
|
2880
2881
|
}[] | null | undefined;
|
2881
2882
|
}>, {
|
2882
2883
|
filters: import("../../../..").Filters;
|
2884
|
+
followUpTools: AiResultType[];
|
2883
2885
|
type: AiResultType.TIME_SERIES_RESULT;
|
2884
2886
|
description: string;
|
2885
2887
|
customMetrics: {
|
@@ -2905,7 +2907,6 @@ export declare const toolTimeSeriesArgsSchemaTransformed: z.ZodEffects<z.ZodObje
|
|
2905
2907
|
xAxisLabel: string;
|
2906
2908
|
yAxisLabel: string;
|
2907
2909
|
};
|
2908
|
-
followUpTools: (AiResultType.VERTICAL_BAR_RESULT | AiResultType.TABLE_RESULT)[];
|
2909
2910
|
}, {
|
2910
2911
|
type: AiResultType.TIME_SERIES_RESULT;
|
2911
2912
|
description: string;
|
@@ -3106,7 +3107,7 @@ export declare const toolTimeSeriesArgsSchemaTransformed: z.ZodEffects<z.ZodObje
|
|
3106
3107
|
xAxisLabel?: string | undefined;
|
3107
3108
|
yAxisLabel?: string | undefined;
|
3108
3109
|
};
|
3109
|
-
followUpTools: (AiResultType.VERTICAL_BAR_RESULT | AiResultType.TABLE_RESULT)[];
|
3110
|
+
followUpTools: (AiResultType.VERTICAL_BAR_RESULT | AiResultType.TABLE_RESULT | LegacyFollowUpTools.GENERATE_TABLE | LegacyFollowUpTools.GENERATE_BAR_VIZ)[];
|
3110
3111
|
customMetrics?: {
|
3111
3112
|
name: string;
|
3112
3113
|
label: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"toolTimeSeriesArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAO3C,eAAO,MAAM,gCAAgC,mDAAmD,CAAC;AAEjG,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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ransformed = exports.toolTimeSeriesArgsSchema = exports.TOOL_TIME_SERIES_VIZ_DESCRIPTION = void 0;
|
4
4
|
const tslib_1 = require("tslib");
|
5
5
|
const zod_1 = require("zod");
|
6
|
+
const followUpTools_1 = require("../../followUpTools");
|
6
7
|
const types_1 = require("../../types");
|
7
8
|
const customMetrics_1 = require("../customMetrics");
|
8
9
|
const filters_1 = require("../filters");
|
@@ -35,9 +36,16 @@ exports.toolTimeSeriesArgsSchemaTransformed = exports.toolTimeSeriesArgsSchema
|
|
35
36
|
}),
|
36
37
|
// backwards compatibility for old viz configs without customMetrics
|
37
38
|
customMetrics: customMetrics_1.customMetricsSchema.default(null),
|
39
|
+
followUpTools: zod_1.z.array(zod_1.z.union([
|
40
|
+
zod_1.z.literal(types_1.AiResultType.TABLE_RESULT),
|
41
|
+
zod_1.z.literal(types_1.AiResultType.VERTICAL_BAR_RESULT),
|
42
|
+
zod_1.z.literal(followUpTools_1.LegacyFollowUpTools.GENERATE_TABLE),
|
43
|
+
zod_1.z.literal(followUpTools_1.LegacyFollowUpTools.GENERATE_BAR_VIZ),
|
44
|
+
])),
|
38
45
|
})
|
39
46
|
.transform((data) => ({
|
40
47
|
...data,
|
41
48
|
filters: filters_1.filtersSchemaTransformed.parse(data.filters),
|
49
|
+
followUpTools: (0, followUpTools_1.legacyFollowUpToolsTransform)(data.followUpTools),
|
42
50
|
}));
|
43
51
|
//# sourceMappingURL=toolTimeSeriesArgs.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"toolTimeSeriesArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.ts"],"names":[],"mappings":";;;;AAAA,6BAAwB;AACxB,uCAA2C;AAC3C,oDAAuD;AACvD,wCAAqE;AACrE,4DAAwD;AACxD,6FAAmE;AACnE,mEAAkF;AAErE,QAAA,gCAAgC,GAAG,gDAAgD,CAAC;AAEpF,QAAA,wBAAwB,GAAG,IAAA,oCAAgB,EACpD,oBAAY,CAAC,kBAAkB,EAC/B,wCAAgC,CACnC;KACI,MAAM,CAAC;IACJ,GAAG,+BAA2B,CAAC,KAAK;IACpC,aAAa,EAAE,mCAAmB;IAClC,SAAS,EAAE,+CAA+B;IAC1C,OAAO,EAAE,uBAAa;SACjB,QAAQ,EAAE;SACV,QAAQ,CACL,oIAAoI,CACvI;IACL,aAAa,EAAE,OAAC;SACX,KAAK,CACF,OAAC,CAAC,KAAK,CAAC;QACJ,OAAC,CAAC,OAAO,CAAC,oBAAY,CAAC,YAAY,CAAC;QACpC,OAAC,CAAC,OAAO,CAAC,oBAAY,CAAC,mBAAmB,CAAC;KAC9C,CAAC,CACL;SACA,QAAQ,CACL,wEAAwE,CAC3E;CACR,CAAC;KACD,KAAK,EAAE,CAAC;AAIA,QAAA,mCAAmC,GAAG,gCAAwB;KACtE,MAAM,CAAC;IACJ,8CAA8C;IAC9C,SAAS,EAAE,+CAA+B,CAAC,MAAM,CAAC;QAC9C,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;QAClC,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;KACrC,CAAC;IACF,oEAAoE;IACpE,aAAa,EAAE,mCAAmB,CAAC,OAAO,CAAC,IAAI,CAAC;
|
1
|
+
{"version":3,"file":"toolTimeSeriesArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.ts"],"names":[],"mappings":";;;;AAAA,6BAAwB;AACxB,uDAG6B;AAC7B,uCAA2C;AAC3C,oDAAuD;AACvD,wCAAqE;AACrE,4DAAwD;AACxD,6FAAmE;AACnE,mEAAkF;AAErE,QAAA,gCAAgC,GAAG,gDAAgD,CAAC;AAEpF,QAAA,wBAAwB,GAAG,IAAA,oCAAgB,EACpD,oBAAY,CAAC,kBAAkB,EAC/B,wCAAgC,CACnC;KACI,MAAM,CAAC;IACJ,GAAG,+BAA2B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4CAA4B,EAAC,IAAI,CAAC,aAAa,CAAC;CAClE,CAAC,CAAC,CAAC"}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { z } from 'zod';
|
2
|
+
import { LegacyFollowUpTools } from '../../followUpTools';
|
2
3
|
import { AiResultType } from '../../types';
|
3
4
|
export declare const TOOL_VERTICAL_BAR_VIZ_DESCRIPTION = "Use this tool to generate a Bar Chart Visualization.";
|
4
5
|
export declare const toolVerticalBarArgsSchema: z.ZodObject<{
|
@@ -2446,7 +2447,6 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
|
|
2446
2447
|
})[] | null;
|
2447
2448
|
type: "and" | "or";
|
2448
2449
|
}>>;
|
2449
|
-
followUpTools: z.ZodArray<z.ZodUnion<[z.ZodLiteral<AiResultType.TABLE_RESULT>, z.ZodLiteral<AiResultType.TIME_SERIES_RESULT>]>, "many">;
|
2450
2450
|
title: z.ZodString;
|
2451
2451
|
description: z.ZodString;
|
2452
2452
|
} & {
|
@@ -2469,6 +2469,7 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
|
|
2469
2469
|
type: import("../../../..").MetricType.PERCENTILE | import("../../../..").MetricType.AVERAGE | import("../../../..").MetricType.COUNT | import("../../../..").MetricType.COUNT_DISTINCT | import("../../../..").MetricType.SUM | import("../../../..").MetricType.MIN | import("../../../..").MetricType.MAX | import("../../../..").MetricType.MEDIAN;
|
2470
2470
|
baseDimensionName: string;
|
2471
2471
|
}>, "many">>>;
|
2472
|
+
followUpTools: z.ZodArray<z.ZodUnion<[z.ZodLiteral<AiResultType.TABLE_RESULT>, z.ZodLiteral<AiResultType.TIME_SERIES_RESULT>, z.ZodLiteral<LegacyFollowUpTools.GENERATE_TABLE>, z.ZodLiteral<LegacyFollowUpTools.GENERATE_TIME_SERIES_VIZ>]>, "many">;
|
2472
2473
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
2473
2474
|
type: AiResultType.VERTICAL_BAR_RESULT;
|
2474
2475
|
description: string;
|
@@ -2677,7 +2678,7 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
|
|
2677
2678
|
stackBars: boolean | null;
|
2678
2679
|
xAxisType: "time" | "category";
|
2679
2680
|
};
|
2680
|
-
followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.TABLE_RESULT)[];
|
2681
|
+
followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.TABLE_RESULT | LegacyFollowUpTools.GENERATE_TABLE | LegacyFollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
|
2681
2682
|
}, {
|
2682
2683
|
type: AiResultType.VERTICAL_BAR_RESULT;
|
2683
2684
|
description: string;
|
@@ -2879,7 +2880,7 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
|
|
2879
2880
|
stackBars: boolean | null;
|
2880
2881
|
xAxisType: "time" | "category";
|
2881
2882
|
};
|
2882
|
-
followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.TABLE_RESULT)[];
|
2883
|
+
followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.TABLE_RESULT | LegacyFollowUpTools.GENERATE_TABLE | LegacyFollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
|
2883
2884
|
customMetrics?: {
|
2884
2885
|
name: string;
|
2885
2886
|
label: string;
|
@@ -2889,6 +2890,7 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
|
|
2889
2890
|
}[] | null | undefined;
|
2890
2891
|
}>, {
|
2891
2892
|
filters: import("../../../..").Filters;
|
2893
|
+
followUpTools: AiResultType[];
|
2892
2894
|
type: AiResultType.VERTICAL_BAR_RESULT;
|
2893
2895
|
description: string;
|
2894
2896
|
customMetrics: {
|
@@ -2915,7 +2917,6 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
|
|
2915
2917
|
stackBars: boolean | null;
|
2916
2918
|
xAxisType: "time" | "category";
|
2917
2919
|
};
|
2918
|
-
followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.TABLE_RESULT)[];
|
2919
2920
|
}, {
|
2920
2921
|
type: AiResultType.VERTICAL_BAR_RESULT;
|
2921
2922
|
description: string;
|
@@ -3117,7 +3118,7 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
|
|
3117
3118
|
stackBars: boolean | null;
|
3118
3119
|
xAxisType: "time" | "category";
|
3119
3120
|
};
|
3120
|
-
followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.TABLE_RESULT)[];
|
3121
|
+
followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.TABLE_RESULT | LegacyFollowUpTools.GENERATE_TABLE | LegacyFollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
|
3121
3122
|
customMetrics?: {
|
3122
3123
|
name: string;
|
3123
3124
|
label: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"toolVerticalBarArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolVerticalBarArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAO3C,eAAO,MAAM,iCAAiC,yDAAyD,CAAC;AAExG,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiB1C,CAAC;AAER,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,oCAAoC,CAC9C,CAAC"}
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.toolVerticalBarArgsSchemaTransformed = exports.toolVerticalBarArgsSchema = exports.TOOL_VERTICAL_BAR_VIZ_DESCRIPTION = void 0;
|
4
4
|
const tslib_1 = require("tslib");
|
5
5
|
const zod_1 = require("zod");
|
6
|
+
const followUpTools_1 = require("../../followUpTools");
|
6
7
|
const types_1 = require("../../types");
|
7
8
|
const customMetrics_1 = require("../customMetrics");
|
8
9
|
const filters_1 = require("../filters");
|
@@ -30,9 +31,16 @@ exports.toolVerticalBarArgsSchemaTransformed = exports.toolVerticalBarArgsSchema
|
|
30
31
|
.extend({
|
31
32
|
// backwards compatibility for old viz configs without customMetrics
|
32
33
|
customMetrics: customMetrics_1.customMetricsSchema.default(null),
|
34
|
+
followUpTools: zod_1.z.array(zod_1.z.union([
|
35
|
+
zod_1.z.literal(types_1.AiResultType.TABLE_RESULT),
|
36
|
+
zod_1.z.literal(types_1.AiResultType.TIME_SERIES_RESULT),
|
37
|
+
zod_1.z.literal(followUpTools_1.LegacyFollowUpTools.GENERATE_TABLE),
|
38
|
+
zod_1.z.literal(followUpTools_1.LegacyFollowUpTools.GENERATE_TIME_SERIES_VIZ),
|
39
|
+
])),
|
33
40
|
})
|
34
41
|
.transform((data) => ({
|
35
42
|
...data,
|
36
43
|
filters: filters_1.filtersSchemaTransformed.parse(data.filters),
|
44
|
+
followUpTools: (0, followUpTools_1.legacyFollowUpToolsTransform)(data.followUpTools),
|
37
45
|
}));
|
38
46
|
//# sourceMappingURL=toolVerticalBarArgs.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"toolVerticalBarArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolVerticalBarArgs.ts"],"names":[],"mappings":";;;;AAAA,6BAAwB;AACxB,uCAA2C;AAC3C,oDAAuD;AACvD,wCAAqE;AACrE,4DAAwD;AACxD,6FAAmE;AACnE,sDAAqE;AAExD,QAAA,iCAAiC,GAAG,sDAAsD,CAAC;AAE3F,QAAA,yBAAyB,GAAG,IAAA,oCAAgB,EACrD,oBAAY,CAAC,mBAAmB,EAChC,yCAAiC,CACpC;KACI,MAAM,CAAC;IACJ,GAAG,+BAA2B,CAAC,KAAK;IACpC,aAAa,EAAE,mCAAmB;IAClC,SAAS,EAAE,iDAAgC;IAC3C,OAAO,EAAE,uBAAa;SACjB,QAAQ,EAAE;SACV,QAAQ,CACL,oIAAoI,CACvI;IACL,aAAa,EAAE,OAAC;SACX,KAAK,CACF,OAAC,CAAC,KAAK,CAAC;QACJ,OAAC,CAAC,OAAO,CAAC,oBAAY,CAAC,YAAY,CAAC;QACpC,OAAC,CAAC,OAAO,CAAC,oBAAY,CAAC,kBAAkB,CAAC;KAC7C,CAAC,CACL;SACA,QAAQ,CACL,wEAAwE,CAC3E;CACR,CAAC;KACD,KAAK,EAAE,CAAC;AAIA,QAAA,oCAAoC,GAAG,iCAAyB;KACxE,MAAM,CAAC;IACJ,oEAAoE;IACpE,aAAa,EAAE,mCAAmB,CAAC,OAAO,CAAC,IAAI,CAAC;
|
1
|
+
{"version":3,"file":"toolVerticalBarArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolVerticalBarArgs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;IACP,OAAO,EAAE,kCAAwB,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC;IACrD,aAAa,EAAE,IAAA,4CAA4B,EAAC,IAAI,CAAC,aAAa,CAAC;CAClE,CAAC,CAAC,CAAC"}
|
@@ -3,6 +3,7 @@ export declare const parseVizConfig: (vizConfigUnknown: object | null, maxLimit?
|
|
3
3
|
readonly type: AiResultType.VERTICAL_BAR_RESULT;
|
4
4
|
readonly vizTool: {
|
5
5
|
filters: import("../..").Filters;
|
6
|
+
followUpTools: AiResultType[];
|
6
7
|
type: AiResultType.VERTICAL_BAR_RESULT;
|
7
8
|
description: string;
|
8
9
|
customMetrics: {
|
@@ -29,13 +30,13 @@ export declare const parseVizConfig: (vizConfigUnknown: object | null, maxLimit?
|
|
29
30
|
stackBars: boolean | null;
|
30
31
|
xAxisType: "time" | "category";
|
31
32
|
};
|
32
|
-
followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.TABLE_RESULT)[];
|
33
33
|
};
|
34
34
|
readonly metricQuery: import("./types").AiMetricQueryWithFilters;
|
35
35
|
} | {
|
36
36
|
readonly type: AiResultType.TIME_SERIES_RESULT;
|
37
37
|
readonly vizTool: {
|
38
38
|
filters: import("../..").Filters;
|
39
|
+
followUpTools: AiResultType[];
|
39
40
|
type: AiResultType.TIME_SERIES_RESULT;
|
40
41
|
description: string;
|
41
42
|
customMetrics: {
|
@@ -61,13 +62,13 @@ export declare const parseVizConfig: (vizConfigUnknown: object | null, maxLimit?
|
|
61
62
|
xAxisLabel: string;
|
62
63
|
yAxisLabel: string;
|
63
64
|
};
|
64
|
-
followUpTools: (AiResultType.VERTICAL_BAR_RESULT | AiResultType.TABLE_RESULT)[];
|
65
65
|
};
|
66
66
|
readonly metricQuery: import("./types").AiMetricQueryWithFilters;
|
67
67
|
} | {
|
68
68
|
readonly type: AiResultType.TABLE_RESULT;
|
69
69
|
readonly vizTool: {
|
70
70
|
filters: import("../..").Filters;
|
71
|
+
followUpTools: AiResultType[];
|
71
72
|
type: AiResultType.TABLE_RESULT;
|
72
73
|
description: string;
|
73
74
|
customMetrics: {
|
@@ -89,7 +90,6 @@ export declare const parseVizConfig: (vizConfigUnknown: object | null, maxLimit?
|
|
89
90
|
nullsFirst: boolean | null;
|
90
91
|
}[];
|
91
92
|
};
|
92
|
-
followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.VERTICAL_BAR_RESULT)[];
|
93
93
|
};
|
94
94
|
readonly metricQuery: import("./types").AiMetricQueryWithFilters;
|
95
95
|
} | null;
|
@@ -4,5 +4,12 @@ export type FollowUpToolsText = {
|
|
4
4
|
[key in AiResultType]: string;
|
5
5
|
};
|
6
6
|
export declare const followUpToolsText: FollowUpToolsText;
|
7
|
+
export declare enum LegacyFollowUpTools {
|
8
|
+
GENERATE_TABLE = "generate_table",
|
9
|
+
GENERATE_BAR_VIZ = "generate_bar_viz",
|
10
|
+
GENERATE_TIME_SERIES_VIZ = "generate_time_series_viz"
|
11
|
+
}
|
12
|
+
export declare const legacyToNewMapping: Record<string, AiResultType>;
|
13
|
+
export declare const legacyFollowUpToolsTransform: (tools: (AiResultType.VERTICAL_BAR_RESULT | AiResultType.TABLE_RESULT | AiResultType.TIME_SERIES_RESULT | LegacyFollowUpTools.GENERATE_TABLE | LegacyFollowUpTools.GENERATE_BAR_VIZ | LegacyFollowUpTools.GENERATE_TIME_SERIES_VIZ)[]) => AiResultType[];
|
7
14
|
export declare const followUpToolsSchema: z.ZodArray<z.ZodNativeEnum<typeof AiResultType>, "many">;
|
8
15
|
//# sourceMappingURL=followUpTools.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"followUpTools.d.ts","sourceRoot":"","sources":["../../../../src/ee/AiAgent/followUpTools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,MAAM,MAAM,iBAAiB,GAAG;KAC3B,GAAG,IAAI,YAAY,GAAG,MAAM;CAChC,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,iBAI/B,CAAC;AAEF,eAAO,MAAM,mBAAmB,0DAAqC,CAAC"}
|
1
|
+
{"version":3,"file":"followUpTools.d.ts","sourceRoot":"","sources":["../../../../src/ee/AiAgent/followUpTools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,MAAM,MAAM,iBAAiB,GAAG;KAC3B,GAAG,IAAI,YAAY,GAAG,MAAM;CAChC,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,iBAI/B,CAAC;AAEF,oBAAY,mBAAmB;IAC3B,cAAc,mBAAmB;IACjC,gBAAgB,qBAAqB;IACrC,wBAAwB,6BAA6B;CACxD;AAED,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAK3D,CAAC;AAEF,eAAO,MAAM,4BAA4B,UAC9B,CACD,YAAY,CAAC,mBAAmB,GAChC,YAAY,CAAC,YAAY,GACzB,YAAY,CAAC,kBAAkB,GAC/B,mBAAmB,CAAC,cAAc,GAClC,mBAAmB,CAAC,gBAAgB,GACpC,mBAAmB,CAAC,wBAAwB,CACjD,EAAE,KACJ,YAAY,EAMT,CAAC;AAIP,eAAO,MAAM,mBAAmB,0DAAqC,CAAC"}
|
@@ -5,5 +5,24 @@ export const followUpToolsText = {
|
|
5
5
|
[AiResultType.VERTICAL_BAR_RESULT]: 'Generate a Bar Chart',
|
6
6
|
[AiResultType.TIME_SERIES_RESULT]: 'Generate a Time Series Chart',
|
7
7
|
};
|
8
|
+
export var LegacyFollowUpTools;
|
9
|
+
(function (LegacyFollowUpTools) {
|
10
|
+
LegacyFollowUpTools["GENERATE_TABLE"] = "generate_table";
|
11
|
+
LegacyFollowUpTools["GENERATE_BAR_VIZ"] = "generate_bar_viz";
|
12
|
+
LegacyFollowUpTools["GENERATE_TIME_SERIES_VIZ"] = "generate_time_series_viz";
|
13
|
+
})(LegacyFollowUpTools || (LegacyFollowUpTools = {}));
|
14
|
+
export const legacyToNewMapping = {
|
15
|
+
[LegacyFollowUpTools.GENERATE_TABLE]: AiResultType.TABLE_RESULT,
|
16
|
+
[LegacyFollowUpTools.GENERATE_BAR_VIZ]: AiResultType.VERTICAL_BAR_RESULT,
|
17
|
+
[LegacyFollowUpTools.GENERATE_TIME_SERIES_VIZ]: AiResultType.TIME_SERIES_RESULT,
|
18
|
+
};
|
19
|
+
export const legacyFollowUpToolsTransform = (tools) => tools.map((tool) => {
|
20
|
+
if (tool in legacyToNewMapping) {
|
21
|
+
return legacyToNewMapping[tool];
|
22
|
+
}
|
23
|
+
return tool;
|
24
|
+
});
|
25
|
+
// this is used only for slack at the moment, so no backwards compatibility is needed
|
26
|
+
// TODO :: reuse this schema across the tools
|
8
27
|
export const followUpToolsSchema = z.nativeEnum(AiResultType).array();
|
9
28
|
//# sourceMappingURL=followUpTools.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"followUpTools.js","sourceRoot":"","sources":["../../../../src/ee/AiAgent/followUpTools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAMvC,MAAM,CAAC,MAAM,iBAAiB,GAAsB;IAChD,CAAC,YAAY,CAAC,YAAY,CAAC,EAAE,kBAAkB;IAC/C,CAAC,YAAY,CAAC,mBAAmB,CAAC,EAAE,sBAAsB;IAC1D,CAAC,YAAY,CAAC,kBAAkB,CAAC,EAAE,8BAA8B;CACpE,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC,KAAK,EAAE,CAAC"}
|
1
|
+
{"version":3,"file":"followUpTools.js","sourceRoot":"","sources":["../../../../src/ee/AiAgent/followUp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
3
|
import { AiResultType } from '../../types';
|
3
4
|
export declare const TOOL_TABLE_VIZ_DESCRIPTION = "Use this tool to query data to display in a table or summarized if limit is set to 1.";
|
4
5
|
export declare const toolTableVizArgsSchema: z.ZodObject<{
|
@@ -2406,7 +2407,6 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
|
|
2406
2407
|
})[] | null;
|
2407
2408
|
type: "and" | "or";
|
2408
2409
|
}>>;
|
2409
|
-
followUpTools: z.ZodArray<z.ZodUnion<[z.ZodLiteral<AiResultType.VERTICAL_BAR_RESULT>, z.ZodLiteral<AiResultType.TIME_SERIES_RESULT>]>, "many">;
|
2410
2410
|
title: z.ZodString;
|
2411
2411
|
description: z.ZodString;
|
2412
2412
|
} & {
|
@@ -2429,6 +2429,7 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
|
|
2429
2429
|
type: import("../../../..").MetricType.PERCENTILE | import("../../../..").MetricType.AVERAGE | import("../../../..").MetricType.COUNT | import("../../../..").MetricType.COUNT_DISTINCT | import("../../../..").MetricType.SUM | import("../../../..").MetricType.MIN | import("../../../..").MetricType.MAX | import("../../../..").MetricType.MEDIAN;
|
2430
2430
|
baseDimensionName: string;
|
2431
2431
|
}>, "many">>>;
|
2432
|
+
followUpTools: z.ZodArray<z.ZodUnion<[z.ZodLiteral<AiResultType.VERTICAL_BAR_RESULT>, z.ZodLiteral<AiResultType.TIME_SERIES_RESULT>, z.ZodLiteral<LegacyFollowUpTools.GENERATE_BAR_VIZ>, z.ZodLiteral<LegacyFollowUpTools.GENERATE_TIME_SERIES_VIZ>]>, "many">;
|
2432
2433
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
2433
2434
|
type: AiResultType.TABLE_RESULT;
|
2434
2435
|
description: string;
|
@@ -2632,7 +2633,7 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
|
|
2632
2633
|
nullsFirst: boolean | null;
|
2633
2634
|
}[];
|
2634
2635
|
};
|
2635
|
-
followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.VERTICAL_BAR_RESULT)[];
|
2636
|
+
followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.VERTICAL_BAR_RESULT | LegacyFollowUpTools.GENERATE_BAR_VIZ | LegacyFollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
|
2636
2637
|
}, {
|
2637
2638
|
type: AiResultType.TABLE_RESULT;
|
2638
2639
|
description: string;
|
@@ -2829,7 +2830,7 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
|
|
2829
2830
|
nullsFirst: boolean | null;
|
2830
2831
|
}[];
|
2831
2832
|
};
|
2832
|
-
followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.VERTICAL_BAR_RESULT)[];
|
2833
|
+
followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.VERTICAL_BAR_RESULT | LegacyFollowUpTools.GENERATE_BAR_VIZ | LegacyFollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
|
2833
2834
|
customMetrics?: {
|
2834
2835
|
name: string;
|
2835
2836
|
label: string;
|
@@ -2839,6 +2840,7 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
|
|
2839
2840
|
}[] | null | undefined;
|
2840
2841
|
}>, {
|
2841
2842
|
filters: import("../../../..").Filters;
|
2843
|
+
followUpTools: AiResultType[];
|
2842
2844
|
type: AiResultType.TABLE_RESULT;
|
2843
2845
|
description: string;
|
2844
2846
|
customMetrics: {
|
@@ -2860,7 +2862,6 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
|
|
2860
2862
|
nullsFirst: boolean | null;
|
2861
2863
|
}[];
|
2862
2864
|
};
|
2863
|
-
followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.VERTICAL_BAR_RESULT)[];
|
2864
2865
|
}, {
|
2865
2866
|
type: AiResultType.TABLE_RESULT;
|
2866
2867
|
description: string;
|
@@ -3057,7 +3058,7 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
|
|
3057
3058
|
nullsFirst: boolean | null;
|
3058
3059
|
}[];
|
3059
3060
|
};
|
3060
|
-
followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.VERTICAL_BAR_RESULT)[];
|
3061
|
+
followUpTools: (AiResultType.TIME_SERIES_RESULT | AiResultType.VERTICAL_BAR_RESULT | LegacyFollowUpTools.GENERATE_BAR_VIZ | LegacyFollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
|
3061
3062
|
customMetrics?: {
|
3062
3063
|
name: string;
|
3063
3064
|
label: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"toolTableVizArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolTableVizArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAO3C,eAAO,MAAM,0BAA0B,0FAA0F,CAAC;AAElI,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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