@sisense/sdk-ui-angular 1.30.0 → 1.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai/lib/component-wrapper-helpers/context-connectors.d.ts +10 -0
- package/dist/ai/lib/component-wrapper-helpers/index.d.ts +2 -0
- package/dist/ai/lib/component-wrapper-helpers/template.d.ts +2 -0
- package/dist/ai/lib/components/chatbot.component.d.ts +133 -0
- package/dist/ai/lib/components/get-nlg-insights.component.d.ts +142 -0
- package/dist/ai/lib/components/index.d.ts +2 -0
- package/dist/ai/lib/sdk-ai.module.d.ts +40 -5
- package/dist/ai/lib/sdk-ui-core-exports.d.ts +1 -0
- package/dist/ai/lib/services/ai.service.d.ts +88 -0
- package/dist/ai/lib/services/index.d.ts +1 -0
- package/dist/ai/public-api.d.ts +6 -0
- package/dist/esm2020/ai/lib/component-wrapper-helpers/context-connectors.mjs +20 -0
- package/dist/esm2020/ai/lib/component-wrapper-helpers/index.mjs +3 -0
- package/dist/esm2020/ai/lib/component-wrapper-helpers/template.mjs +5 -0
- package/dist/esm2020/ai/lib/components/chatbot.component.mjs +139 -0
- package/dist/esm2020/ai/lib/components/get-nlg-insights.component.mjs +146 -0
- package/dist/esm2020/ai/lib/components/index.mjs +3 -0
- package/dist/esm2020/ai/lib/sdk-ai.module.mjs +40 -6
- package/dist/esm2020/ai/lib/sdk-ui-core-exports.mjs +3 -0
- package/dist/esm2020/ai/lib/services/ai.service.mjs +137 -0
- package/dist/esm2020/ai/lib/services/index.mjs +2 -0
- package/dist/esm2020/ai/public-api.mjs +7 -1
- package/dist/esm2020/lib/component-wrapper-helpers/index.mjs +2 -1
- package/dist/esm2020/lib/components/charts/area-chart.component.mjs +1 -1
- package/dist/esm2020/lib/components/charts/area-range-chart.component.mjs +1 -1
- package/dist/esm2020/lib/components/charts/areamap-chart.component.mjs +1 -1
- package/dist/esm2020/lib/components/charts/bar-chart.component.mjs +1 -1
- package/dist/esm2020/lib/components/charts/boxplot-chart.component.mjs +1 -1
- package/dist/esm2020/lib/components/charts/chart.component.mjs +1 -1
- package/dist/esm2020/lib/components/charts/column-chart.component.mjs +1 -1
- package/dist/esm2020/lib/components/charts/funnel-chart.component.mjs +1 -1
- package/dist/esm2020/lib/components/charts/indicator-chart.component.mjs +1 -1
- package/dist/esm2020/lib/components/charts/line-chart.component.mjs +1 -1
- package/dist/esm2020/lib/components/charts/pie-chart.component.mjs +1 -1
- package/dist/esm2020/lib/components/charts/pivot-table.component.mjs +1 -1
- package/dist/esm2020/lib/components/charts/polar-chart.component.mjs +1 -1
- package/dist/esm2020/lib/components/charts/scatter-chart.component.mjs +1 -1
- package/dist/esm2020/lib/components/charts/scattermap-chart.component.mjs +1 -1
- package/dist/esm2020/lib/components/charts/sunburst-chart.component.mjs +1 -1
- package/dist/esm2020/lib/components/charts/table.component.mjs +1 -1
- package/dist/esm2020/lib/components/charts/treemap-chart.component.mjs +1 -1
- package/dist/esm2020/lib/components/dashboard/dashboard-by-id.component.mjs +1 -1
- package/dist/esm2020/lib/components/dashboard/dashboard.component.mjs +1 -1
- package/dist/esm2020/lib/components/drilldown-breadcrumbs.component.mjs +1 -1
- package/dist/esm2020/lib/components/filters/criteria-filter-tile.component.mjs +1 -1
- package/dist/esm2020/lib/components/filters/date-range-filter-tile.component.mjs +1 -1
- package/dist/esm2020/lib/components/filters/member-filter-tile.component.mjs +1 -1
- package/dist/esm2020/lib/components/filters/relative-date-filter-tile.component.mjs +1 -1
- package/dist/esm2020/lib/components/widgets/chart-widget.component.mjs +1 -1
- package/dist/esm2020/lib/components/widgets/table-widget.component.mjs +1 -1
- package/dist/esm2020/lib/components/widgets/widget-by-id.component.mjs +1 -1
- package/dist/esm2020/lib/decorators/index.mjs +3 -0
- package/dist/esm2020/lib/decorators/trackable.decorator.mjs +2 -1
- package/dist/esm2020/lib/sdk-ui.module.mjs +3 -3
- package/dist/esm2020/lib/services/sisense-context.service.mjs +3 -3
- package/dist/esm2020/lib/services/theme.service.mjs +3 -3
- package/dist/esm2020/public-api.mjs +5 -25
- package/dist/esm2020/version.mjs +2 -2
- package/dist/fesm2015/sisense-sdk-ui-angular-ai.mjs +473 -8
- package/dist/fesm2015/sisense-sdk-ui-angular-ai.mjs.map +1 -1
- package/dist/fesm2015/sisense-sdk-ui-angular.mjs +10 -32
- package/dist/fesm2015/sisense-sdk-ui-angular.mjs.map +1 -1
- package/dist/fesm2020/sisense-sdk-ui-angular-ai.mjs +468 -8
- package/dist/fesm2020/sisense-sdk-ui-angular-ai.mjs.map +1 -1
- package/dist/fesm2020/sisense-sdk-ui-angular.mjs +10 -32
- package/dist/fesm2020/sisense-sdk-ui-angular.mjs.map +1 -1
- package/dist/lib/component-wrapper-helpers/index.d.ts +1 -0
- package/dist/lib/components/charts/area-chart.component.d.ts +3 -0
- package/dist/lib/components/charts/area-range-chart.component.d.ts +3 -0
- package/dist/lib/components/charts/areamap-chart.component.d.ts +3 -0
- package/dist/lib/components/charts/bar-chart.component.d.ts +3 -0
- package/dist/lib/components/charts/boxplot-chart.component.d.ts +3 -0
- package/dist/lib/components/charts/chart.component.d.ts +3 -0
- package/dist/lib/components/charts/column-chart.component.d.ts +3 -0
- package/dist/lib/components/charts/funnel-chart.component.d.ts +3 -0
- package/dist/lib/components/charts/indicator-chart.component.d.ts +3 -0
- package/dist/lib/components/charts/line-chart.component.d.ts +3 -0
- package/dist/lib/components/charts/pie-chart.component.d.ts +3 -0
- package/dist/lib/components/charts/pivot-table.component.d.ts +3 -0
- package/dist/lib/components/charts/polar-chart.component.d.ts +3 -0
- package/dist/lib/components/charts/scatter-chart.component.d.ts +3 -0
- package/dist/lib/components/charts/scattermap-chart.component.d.ts +3 -0
- package/dist/lib/components/charts/sunburst-chart.component.d.ts +3 -0
- package/dist/lib/components/charts/table.component.d.ts +3 -2
- package/dist/lib/components/charts/treemap-chart.component.d.ts +3 -0
- package/dist/lib/components/dashboard/dashboard-by-id.component.d.ts +3 -0
- package/dist/lib/components/dashboard/dashboard.component.d.ts +3 -0
- package/dist/lib/components/drilldown-breadcrumbs.component.d.ts +3 -0
- package/dist/lib/components/filters/criteria-filter-tile.component.d.ts +3 -0
- package/dist/lib/components/filters/date-range-filter-tile.component.d.ts +3 -0
- package/dist/lib/components/filters/member-filter-tile.component.d.ts +3 -0
- package/dist/lib/components/filters/relative-date-filter-tile.component.d.ts +3 -0
- package/dist/lib/components/widgets/chart-widget.component.d.ts +3 -0
- package/dist/lib/components/widgets/table-widget.component.d.ts +5 -0
- package/dist/lib/components/widgets/widget-by-id.component.d.ts +3 -2
- package/dist/lib/decorators/index.d.ts +2 -0
- package/dist/lib/decorators/trackable.decorator.d.ts +1 -0
- package/dist/lib/sdk-ui.module.d.ts +2 -2
- package/dist/lib/services/plugins.service.d.ts +1 -1
- package/dist/lib/services/sisense-context.service.d.ts +2 -2
- package/dist/lib/services/theme.service.d.ts +2 -2
- package/dist/package.json +1 -1
- package/dist/public-api.d.ts +3 -21
- package/dist/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -9,8 +9,8 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
*
|
|
10
10
|
* ```ts
|
|
11
11
|
* export const SISENSE_CONTEXT_CONFIG: SisenseContextConfig = {
|
|
12
|
-
* url
|
|
13
|
-
* token
|
|
12
|
+
* url: "<instance url>", // replace with the URL of your Sisense instance
|
|
13
|
+
* token: "<api token>", // replace with the API token of your user account
|
|
14
14
|
* defaultDataSource: DM.DataSource,
|
|
15
15
|
* };
|
|
16
16
|
*
|
|
@@ -62,4 +62,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
62
62
|
type: Inject,
|
|
63
63
|
args: [SISENSE_CONTEXT_CONFIG_TOKEN]
|
|
64
64
|
}] }]; } });
|
|
65
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
65
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lzZW5zZS1j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c2Vuc2VDb250ZXh0Q29uZmlnOiBTaXNlbnNlQ29udGV4dENvbmZpZykge1xuICAgIHRoaXMuYXBwUHJvbWlzZSA9IGNyZWF0ZUNsaWVudEFwcGxpY2F0aW9uKHNpc2Vuc2VDb250ZXh0Q29uZmlnKTtcblxuICAgIGNvbnN0IHsgc2hvd1J1bnRpbWVFcnJvcnMgfSA9IHNpc2Vuc2VDb250ZXh0Q29uZmlnO1xuICAgIHRoaXMuY29uZmlnID0ge1xuICAgICAgLi4uc2lzZW5zZUNvbnRleHRDb25maWcsXG4gICAgICBzaG93UnVudGltZUVycm9yczogc2hvd1J1bnRpbWVFcnJvcnMgPz8gdHJ1ZSxcbiAgICB9O1xuICB9XG5cbiAgLyoqIEBpbnRlcm5hbCAqL1xuICBnZXRBcHAoKTogUHJvbWlzZTxDbGllbnRBcHBsaWNhdGlvbj4ge1xuICAgIHJldHVybiB0aGlzLmFwcFByb21pc2U7XG4gIH1cblxuICBnZXRDb25maWcoKTogU2lzZW5zZUNvbnRleHRDb25maWcge1xuICAgIHJldHVybiB0aGlzLmNvbmZpZztcbiAgfVxufVxuIl19
|
|
@@ -15,8 +15,8 @@ import * as i1 from "./sisense-context.service";
|
|
|
15
15
|
*
|
|
16
16
|
* ```ts
|
|
17
17
|
* export const SISENSE_CONTEXT_CONFIG: SisenseContextConfig = {
|
|
18
|
-
* url
|
|
19
|
-
* token
|
|
18
|
+
* url: "<instance url>", // replace with the URL of your Sisense instance
|
|
19
|
+
* token: "<api token>", // replace with the API token of your user account
|
|
20
20
|
* defaultDataSource: DM.DataSource,
|
|
21
21
|
* };
|
|
22
22
|
*
|
|
@@ -102,4 +102,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
102
102
|
type: Inject,
|
|
103
103
|
args: [THEME_CONFIG_TOKEN]
|
|
104
104
|
}] }]; } });
|
|
105
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
105
|
+
//# sourceMappingURL=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ncyA9IHRoZW1lIGFzIFRoZW1lU2V0dGluZ3M7XG5cbiAgICAgIGlmIChpc1RoZW1lT2lkKSB7XG4gICAgICAgIHVzZXJUaGVtZVNldHRpbmdzID0gYXdhaXQgZ2V0VGhlbWVTZXR0aW5nc0J5T2lkKHRoZW1lLCBhcHAuaHR0cENsaWVudCk7XG4gICAgICB9XG5cbiAgICAgIGNvbnN0IG1lcmdlZFRoZW1lU2V0dGluZ3MgPSBtZXJnZS53aXRoT3B0aW9ucyhcbiAgICAgICAgeyBtZXJnZUFycmF5czogZmFsc2UgfSxcbiAgICAgICAgdGhpcy50aGVtZVNldHRpbmdzJC52YWx1ZSxcbiAgICAgICAgdXNlclRoZW1lU2V0dGluZ3MsXG4gICAgICApIGFzIENvbXBsZXRlVGhlbWVTZXR0aW5ncztcblxuICAgICAgdGhpcy50aGVtZVNldHRpbmdzJC5uZXh0KG1lcmdlZFRoZW1lU2V0dGluZ3MpO1xuICAgIH0gY2F0Y2ggKGVycm9yKSB7XG4gICAgICB0aGlzLnRoZW1lU2V0dGluZ3MkLmVycm9yKGVycm9yKTtcbiAgICB9XG4gIH1cblxuICAvKiogQGludGVybmFsICovXG4gIGdldFRoZW1lU2V0dGluZ3MoKSB7XG4gICAgcmV0dXJuIHRoaXMudGhlbWVTZXR0aW5ncyQuYXNPYnNlcnZhYmxlKCk7XG4gIH1cblxuICBhc3luYyB1cGRhdGVUaGVtZVNldHRpbmdzKHRoZW1lOiBzdHJpbmcgfCBUaGVtZVNldHRpbmdzKSB7XG4gICAgYXdhaXQgdGhpcy5hcHBseVRoZW1lU2V0dGluZ3ModGhlbWUpO1xuICB9XG59XG4iXX0=
|
|
@@ -1,31 +1,11 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Public API Surface of @sisense/sdk-ui-angular
|
|
3
|
-
*/
|
|
4
1
|
/**
|
|
5
|
-
* @
|
|
6
|
-
* @groupDescription Charts
|
|
7
|
-
* Angular components and utilities for working with charts
|
|
8
|
-
* @groupDescription Data Grids
|
|
9
|
-
* Angular components for data grids
|
|
10
|
-
* @groupDescription Drilldown
|
|
11
|
-
* Angular components for creating drilldown experiences
|
|
12
|
-
* @groupDescription Filter Tiles
|
|
13
|
-
* Angular filter tile components
|
|
14
|
-
* @groupDescription Contexts
|
|
15
|
-
* Angular context modules, services, and variables
|
|
16
|
-
* @groupDescription Queries
|
|
17
|
-
* Angular query service
|
|
18
|
-
* @groupDescription Dashboards
|
|
19
|
-
* Angular components and utilities for working with dashboards
|
|
20
|
-
* @groupDescription Fusion Assets
|
|
21
|
-
* Angular modules, services, and components for working with Fusion dashboards, widgets, queries, and formulas
|
|
22
|
-
* @groupDescription Interfaces
|
|
23
|
-
* TypeScript interfaces for components and services listed above
|
|
24
|
-
* @groupDescription Type Aliases
|
|
25
|
-
* TypeScript type aliases for components and services listed above
|
|
2
|
+
* Public API Surface of @sisense/sdk-ui-angular
|
|
26
3
|
*/
|
|
27
4
|
export * from './lib/sdk-ui.module';
|
|
28
5
|
export * from './lib/components';
|
|
29
6
|
export * from './lib/services';
|
|
30
7
|
export * from './lib/sdk-ui-core-exports';
|
|
31
|
-
|
|
8
|
+
/* Re-exports internal core functionalities to use in dependant angular modules */
|
|
9
|
+
export { createThemeContextConnector, createSisenseContextConnector, createPluginsContextConnector, } from './lib/component-wrapper-helpers';
|
|
10
|
+
export { TrackableService } from './lib/decorators';
|
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsY0FBYyxxQkFBcUIsQ0FBQztBQUNwQyxjQUFjLGtCQUFrQixDQUFDO0FBQ2pDLGNBQWMsZ0JBQWdCLENBQUM7QUFDL0IsY0FBYywyQkFBMkIsQ0FBQztBQW9CMU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pbnRzRXZlbnRIYW5kbGVyLFxufSBmcm9tICcuL2xpYi90eXBlcyc7XG5cbi8qIFJlLWV4cG9ydHMgaW50ZXJuYWwgY29yZSBmdW5jdGlvbmFsaXRpZXMgdG8gdXNlIGluIGRlcGVuZGFudCBhbmd1bGFyIG1vZHVsZXMgKi9cbmV4cG9ydCB7XG4gIGNyZWF0ZVRoZW1lQ29udGV4dENvbm5lY3RvcixcbiAgY3JlYXRlU2lzZW5zZUNvbnRleHRDb25uZWN0b3IsXG4gIGNyZWF0ZVBsdWdpbnNDb250ZXh0Q29ubmVjdG9yLFxufSBmcm9tICcuL2xpYi9jb21wb25lbnQtd3JhcHBlci1oZWxwZXJzJztcbmV4cG9ydCB7IFRyYWNrYWJsZVNlcnZpY2UgfSBmcm9tICcuL2xpYi9kZWNvcmF0b3JzJztcbiJdfQ==
|
package/dist/esm2020/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export default '1.
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export default '1.32.0';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy92ZXJzaW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGVBQWUsUUFBUSxDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGRlZmF1bHQgJzEuMzIuMCciXX0=
|
|
@@ -1,35 +1,500 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { NgModule } from '@angular/core';
|
|
2
|
+
import { InjectionToken, Injectable, Optional, Inject, Component, ViewChild, Input, NgModule } from '@angular/core';
|
|
3
3
|
import { CommonModule } from '@angular/common';
|
|
4
|
-
import
|
|
4
|
+
import * as i1 from '@sisense/sdk-ui-angular';
|
|
5
|
+
import { TrackableService, createSisenseContextConnector, createThemeContextConnector, SdkUiModule } from '@sisense/sdk-ui-angular';
|
|
6
|
+
import { createContextProviderRenderer, ComponentAdapter, createElement } from '@sisense/sdk-ui-preact';
|
|
7
|
+
import { CustomAiContextProvider, ChatRestApi, prepareGetNlgInsightsPayload, DEFAULT_RECOMMENDATIONS_COUNT, widgetComposer, prepareGetNlqResultPayload, Chatbot, GetNlgInsights } from '@sisense/sdk-ui-preact/ai';
|
|
8
|
+
import { __awaiter, __decorate } from 'tslib';
|
|
9
|
+
|
|
10
|
+
const rootId = 'preact';
|
|
11
|
+
const template = `
|
|
12
|
+
<div #${rootId} style="width: 100%; height: 100%"></div>
|
|
13
|
+
`;
|
|
5
14
|
|
|
6
|
-
/* eslint-disable import/no-extraneous-dependencies */
|
|
7
15
|
/**
|
|
8
|
-
*
|
|
16
|
+
* Creates AI context connector
|
|
9
17
|
*
|
|
18
|
+
* @param aiService - The AI service
|
|
10
19
|
* @internal
|
|
11
20
|
*/
|
|
21
|
+
const createAiContextConnector = (aiService) => {
|
|
22
|
+
return {
|
|
23
|
+
prepareContext() {
|
|
24
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
25
|
+
const api = yield aiService.getApi();
|
|
26
|
+
return {
|
|
27
|
+
api,
|
|
28
|
+
};
|
|
29
|
+
});
|
|
30
|
+
},
|
|
31
|
+
renderContextProvider: createContextProviderRenderer(CustomAiContextProvider),
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Token used to inject {@link AiContextConfig} into your application.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* Example of importing {@link SdkAiModule} and injecting {@link AiContextConfig} into your application,
|
|
40
|
+
* along with importing dependency {@link SdkUiModule} and injecting {@link SisenseContextConfig} to connect to a Sisense instance:
|
|
41
|
+
*
|
|
42
|
+
* ```ts
|
|
43
|
+
* import { SdkUiModule, SisenseContextConfig } from '@sisense/sdk-ui-angular';
|
|
44
|
+
* import { SdkAiModule, AI_CONTEXT_CONFIG_TOKEN, AiContextConfig } from '@sisense/sdk-ui-angular/ai';
|
|
45
|
+
*
|
|
46
|
+
* const AI_CONTEXT_CONFIG: AiContextConfig = {
|
|
47
|
+
* volatile: true,
|
|
48
|
+
* };
|
|
49
|
+
* const SISENSE_CONTEXT_CONFIG: SisenseContextConfig = {
|
|
50
|
+
* url: "<instance url>", // replace with the URL of your Sisense instance
|
|
51
|
+
* token: "<api token>", // replace with the API token of your user account
|
|
52
|
+
* defaultDataSource: DM.DataSource,
|
|
53
|
+
* };
|
|
54
|
+
*
|
|
55
|
+
* @NgModule({
|
|
56
|
+
* imports: [
|
|
57
|
+
* BrowserModule,
|
|
58
|
+
* SdkUiModule,
|
|
59
|
+
* SdkAiModule,
|
|
60
|
+
* ],
|
|
61
|
+
* declarations: [AppComponent],
|
|
62
|
+
* providers: [
|
|
63
|
+
* { provide: AI_CONTEXT_CONFIG_TOKEN, useValue: AI_CONTEXT_CONFIG },
|
|
64
|
+
* { provide: SISENSE_CONTEXT_CONFIG_TOKEN, useValue: SISENSE_CONTEXT_CONFIG },
|
|
65
|
+
* ],
|
|
66
|
+
* bootstrap: [AppComponent],
|
|
67
|
+
* })
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* @group Generative AI
|
|
71
|
+
* @beta
|
|
72
|
+
*/
|
|
73
|
+
const AI_CONTEXT_CONFIG_TOKEN = new InjectionToken('AI Context Config');
|
|
74
|
+
/**
|
|
75
|
+
* Service for working with Sisense Fusion Generative AI.
|
|
76
|
+
*
|
|
77
|
+
* ::: warning Note
|
|
78
|
+
* This service is currently under beta release for our managed cloud customers on version L2024.2 or above. It is subject to changes as we make fixes and improvements.
|
|
79
|
+
* :::
|
|
80
|
+
*
|
|
81
|
+
* @group Generative AI
|
|
82
|
+
* @beta
|
|
83
|
+
*/
|
|
84
|
+
let AiService = class AiService {
|
|
85
|
+
constructor(sisenseContextService, aiContextConfig) {
|
|
86
|
+
this.sisenseContextService = sisenseContextService;
|
|
87
|
+
this.apiPromise = this.sisenseContextService
|
|
88
|
+
.getApp()
|
|
89
|
+
.then((app) => new ChatRestApi(app.httpClient, aiContextConfig === null || aiContextConfig === void 0 ? void 0 : aiContextConfig.volatile));
|
|
90
|
+
}
|
|
91
|
+
/** @internal */
|
|
92
|
+
getApi() {
|
|
93
|
+
return this.apiPromise;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Fetches an analysis of the provided query using natural language generation (NLG).
|
|
97
|
+
* Specifying NLG parameters is similar to providing parameters to the {@link QueryService.executeQuery} service method, using dimensions, measures, and filters.
|
|
98
|
+
*
|
|
99
|
+
* @param params - Parameters for getting NLG insights
|
|
100
|
+
* @returns NLG insights text summary
|
|
101
|
+
*/
|
|
102
|
+
getNlgInsights(params) {
|
|
103
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
104
|
+
const api = yield this.getApi();
|
|
105
|
+
const payload = prepareGetNlgInsightsPayload(params);
|
|
106
|
+
return api.ai
|
|
107
|
+
.getNlgInsights(payload)
|
|
108
|
+
.then((response) => { var _a; return (_a = response === null || response === void 0 ? void 0 : response.data) === null || _a === void 0 ? void 0 : _a.answer; });
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Fetches recommended questions for a data model or perspective.
|
|
113
|
+
*
|
|
114
|
+
* @param params - Parameters for recommendations
|
|
115
|
+
* @returns An array of objects, each containing recommended question text and its corresponding `widgetProps`
|
|
116
|
+
*/
|
|
117
|
+
getQueryRecommendations(params) {
|
|
118
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
119
|
+
const api = yield this.getApi();
|
|
120
|
+
const { contextTitle, count, enableAxisTitlesInWidgetProps } = params;
|
|
121
|
+
const recCount = count !== null && count !== void 0 ? count : DEFAULT_RECOMMENDATIONS_COUNT;
|
|
122
|
+
const rawRecommendations = (yield api.ai.getQueryRecommendations(contextTitle, { numOfRecommendations: recCount })) ||
|
|
123
|
+
[];
|
|
124
|
+
return rawRecommendations.map((recommendation) => (Object.assign(Object.assign({}, recommendation), { widgetProps: recommendation.jaql
|
|
125
|
+
? widgetComposer.toWidgetProps(recommendation, {
|
|
126
|
+
useCustomizedStyleOptions: enableAxisTitlesInWidgetProps,
|
|
127
|
+
})
|
|
128
|
+
: undefined })));
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Executes a natural language query (NLQ) against a data model or perspective
|
|
133
|
+
*
|
|
134
|
+
* @param params - NLQ query parameters
|
|
135
|
+
* @returns The result as WidgetProps
|
|
136
|
+
*/
|
|
137
|
+
getNlqResult(params) {
|
|
138
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
139
|
+
const { contextTitle, request } = prepareGetNlqResultPayload(params);
|
|
140
|
+
const api = yield this.getApi();
|
|
141
|
+
const data = yield (api === null || api === void 0 ? void 0 : api.ai.getNlqResult(contextTitle, request));
|
|
142
|
+
return data
|
|
143
|
+
? widgetComposer.toWidgetProps(data, {
|
|
144
|
+
useCustomizedStyleOptions: params.enableAxisTitlesInWidgetProps || false,
|
|
145
|
+
})
|
|
146
|
+
: undefined;
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
};
|
|
150
|
+
AiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AiService, deps: [{ token: i1.SisenseContextService }, { token: AI_CONTEXT_CONFIG_TOKEN, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
151
|
+
AiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AiService, providedIn: 'root' });
|
|
152
|
+
AiService = __decorate([
|
|
153
|
+
TrackableService(['getNlgInsights', 'getQueryRecommendations'])
|
|
154
|
+
], AiService);
|
|
155
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AiService, decorators: [{
|
|
156
|
+
type: Injectable,
|
|
157
|
+
args: [{
|
|
158
|
+
providedIn: 'root',
|
|
159
|
+
}]
|
|
160
|
+
}], ctorParameters: function () {
|
|
161
|
+
return [{ type: i1.SisenseContextService }, { type: undefined, decorators: [{
|
|
162
|
+
type: Optional
|
|
163
|
+
}, {
|
|
164
|
+
type: Inject,
|
|
165
|
+
args: [AI_CONTEXT_CONFIG_TOKEN]
|
|
166
|
+
}] }];
|
|
167
|
+
} });
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* An Angular component that renders a chatbot with data topic selection.
|
|
171
|
+
*
|
|
172
|
+
* ::: warning Note
|
|
173
|
+
* This component is currently under beta release for our managed cloud customers on version L2024.2 or above. It is subject to changes as we make fixes and improvements.
|
|
174
|
+
* :::
|
|
175
|
+
*
|
|
176
|
+
* @example
|
|
177
|
+
* An example of using the `ChatbotComponent`:
|
|
178
|
+
*
|
|
179
|
+
* ```html
|
|
180
|
+
<!--Component HTML template in example.component.html-->
|
|
181
|
+
<csdk-chatbot
|
|
182
|
+
[width]="chatbot.width"
|
|
183
|
+
[height]="chatbot.height"
|
|
184
|
+
[config]="chatbot.config"
|
|
185
|
+
/>
|
|
186
|
+
* ```
|
|
187
|
+
*
|
|
188
|
+
* ```ts
|
|
189
|
+
// Component behavior in example.component.ts
|
|
190
|
+
import { Component } from '@angular/core';
|
|
191
|
+
|
|
192
|
+
@Component({
|
|
193
|
+
selector: 'example',
|
|
194
|
+
templateUrl: './example.component.html',
|
|
195
|
+
styleUrls: ['./example.component.scss'],
|
|
196
|
+
})
|
|
197
|
+
export class ExampleComponent {
|
|
198
|
+
chatbot = {
|
|
199
|
+
width: '500px',
|
|
200
|
+
height: '700px',
|
|
201
|
+
config: {
|
|
202
|
+
numOfRecommendations: 5,
|
|
203
|
+
},
|
|
204
|
+
};
|
|
205
|
+
}
|
|
206
|
+
* ```
|
|
207
|
+
*
|
|
208
|
+
* <img src="media://angular-chatbot-example.png" width="800px" />
|
|
209
|
+
* @shortDescription Angular component that renders a chatbot with data topic selection.
|
|
210
|
+
*
|
|
211
|
+
* @group Generative AI
|
|
212
|
+
* @beta
|
|
213
|
+
*/
|
|
214
|
+
class ChatbotComponent {
|
|
215
|
+
/**
|
|
216
|
+
* Constructor for the `ChatbotComponent`.
|
|
217
|
+
*
|
|
218
|
+
* @param sisenseContextService - Sisense context service
|
|
219
|
+
* @param themeService - Theme service
|
|
220
|
+
* @param aiService - AI service
|
|
221
|
+
*/
|
|
222
|
+
constructor(
|
|
223
|
+
/**
|
|
224
|
+
* Sisense context service
|
|
225
|
+
*
|
|
226
|
+
* @category Constructor
|
|
227
|
+
*/
|
|
228
|
+
sisenseContextService,
|
|
229
|
+
/**
|
|
230
|
+
* Theme service
|
|
231
|
+
*
|
|
232
|
+
* @category Constructor
|
|
233
|
+
*/
|
|
234
|
+
themeService,
|
|
235
|
+
/**
|
|
236
|
+
* AI service
|
|
237
|
+
*
|
|
238
|
+
* @category Constructor
|
|
239
|
+
*/
|
|
240
|
+
aiService) {
|
|
241
|
+
this.sisenseContextService = sisenseContextService;
|
|
242
|
+
this.themeService = themeService;
|
|
243
|
+
this.aiService = aiService;
|
|
244
|
+
this.componentAdapter = new ComponentAdapter(() => this.createPreactComponent(), [
|
|
245
|
+
createSisenseContextConnector(this.sisenseContextService),
|
|
246
|
+
createThemeContextConnector(this.themeService),
|
|
247
|
+
createAiContextConnector(this.aiService),
|
|
248
|
+
]);
|
|
249
|
+
}
|
|
250
|
+
/**
|
|
251
|
+
* @internal
|
|
252
|
+
*/
|
|
253
|
+
ngAfterViewInit() {
|
|
254
|
+
this.componentAdapter.render(this.preactRef.nativeElement);
|
|
255
|
+
}
|
|
256
|
+
/**
|
|
257
|
+
* @internal
|
|
258
|
+
*/
|
|
259
|
+
ngOnChanges() {
|
|
260
|
+
if (this.preactRef) {
|
|
261
|
+
this.componentAdapter.render(this.preactRef.nativeElement);
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
createPreactComponent() {
|
|
265
|
+
const props = {
|
|
266
|
+
width: this.width,
|
|
267
|
+
height: this.height,
|
|
268
|
+
config: this.config,
|
|
269
|
+
};
|
|
270
|
+
return createElement(Chatbot, props);
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* @internal
|
|
274
|
+
*/
|
|
275
|
+
ngOnDestroy() {
|
|
276
|
+
this.componentAdapter.destroy();
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
ChatbotComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatbotComponent, deps: [{ token: i1.SisenseContextService }, { token: i1.ThemeService }, { token: AiService }], target: i0.ɵɵFactoryTarget.Component });
|
|
280
|
+
ChatbotComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ChatbotComponent, selector: "csdk-chatbot", inputs: { width: "width", height: "height", config: "config" }, viewQueries: [{ propertyName: "preactRef", first: true, predicate: ["preact"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "\n <div #preact style=\"width: 100%; height: 100%\"></div>\n", isInline: true });
|
|
281
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatbotComponent, decorators: [{
|
|
282
|
+
type: Component,
|
|
283
|
+
args: [{
|
|
284
|
+
selector: 'csdk-chatbot',
|
|
285
|
+
template,
|
|
286
|
+
}]
|
|
287
|
+
}], ctorParameters: function () { return [{ type: i1.SisenseContextService }, { type: i1.ThemeService }, { type: AiService }]; }, propDecorators: { preactRef: [{
|
|
288
|
+
type: ViewChild,
|
|
289
|
+
args: [rootId]
|
|
290
|
+
}], width: [{
|
|
291
|
+
type: Input
|
|
292
|
+
}], height: [{
|
|
293
|
+
type: Input
|
|
294
|
+
}], config: [{
|
|
295
|
+
type: Input
|
|
296
|
+
}] } });
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* An Angular component that fetches and displays a collapsible analysis of the provided query using natural language generation (NLG).
|
|
300
|
+
* Specifying NLG parameters is similar to providing parameters to the {@link QueryService.executeQuery} service method, using dimensions, measures, and filters.
|
|
301
|
+
*
|
|
302
|
+
* ::: warning Note
|
|
303
|
+
* This component is currently under beta release for our managed cloud customers on version L2024.2 or above. It is subject to changes as we make fixes and improvements.
|
|
304
|
+
* :::
|
|
305
|
+
*
|
|
306
|
+
* @example
|
|
307
|
+
* An example of using the `GetNlgInsightsComponent`:
|
|
308
|
+
*
|
|
309
|
+
* ```html
|
|
310
|
+
<!--Component HTML template in example.component.html-->
|
|
311
|
+
<csdk-get-nlg-insights
|
|
312
|
+
[dataSource]="nlgParams.dataSource"
|
|
313
|
+
[dimensions]="nlgParams.dimensions"
|
|
314
|
+
[measures]="nlgParams.measures"
|
|
315
|
+
/>
|
|
316
|
+
* ```
|
|
317
|
+
*
|
|
318
|
+
* ```ts
|
|
319
|
+
// Component behavior in example.component.ts
|
|
320
|
+
import { Component } from '@angular/core';
|
|
321
|
+
import { measureFactory } from '@sisense/sdk-data';
|
|
322
|
+
import * as DM from '../../assets/sample-healthcare-model';
|
|
323
|
+
|
|
324
|
+
@Component({
|
|
325
|
+
selector: 'example',
|
|
326
|
+
templateUrl: './example.component.html',
|
|
327
|
+
styleUrls: ['./example.component.scss'],
|
|
328
|
+
})
|
|
329
|
+
export class ExampleComponent {
|
|
330
|
+
nlgParams = {
|
|
331
|
+
dataSource: DM.DataSource.title,
|
|
332
|
+
dimensions: [DM.Divisions.Divison_name],
|
|
333
|
+
measures: [measureFactory.sum(DM.Admissions.Cost_of_admission)],
|
|
334
|
+
};
|
|
335
|
+
}
|
|
336
|
+
* ```
|
|
337
|
+
*
|
|
338
|
+
* <img src="media://angular-get-nlg-insights-example.png" width="800px" />
|
|
339
|
+
* @shortDescription Angular component that displays NLG insights.
|
|
340
|
+
*
|
|
341
|
+
* @group Generative AI
|
|
342
|
+
* @beta
|
|
343
|
+
*/
|
|
344
|
+
class GetNlgInsightsComponent {
|
|
345
|
+
/**
|
|
346
|
+
* Constructor for the `GetNlgInsightsProps`.
|
|
347
|
+
*
|
|
348
|
+
* @param sisenseContextService - Sisense context service
|
|
349
|
+
* @param themeService - Theme service
|
|
350
|
+
* @param aiService - AI service
|
|
351
|
+
*/
|
|
352
|
+
constructor(
|
|
353
|
+
/**
|
|
354
|
+
* Sisense context service
|
|
355
|
+
*
|
|
356
|
+
* @category Constructor
|
|
357
|
+
*/
|
|
358
|
+
sisenseContextService,
|
|
359
|
+
/**
|
|
360
|
+
* Theme service
|
|
361
|
+
*
|
|
362
|
+
* @category Constructor
|
|
363
|
+
*/
|
|
364
|
+
themeService,
|
|
365
|
+
/**
|
|
366
|
+
* AI service
|
|
367
|
+
*
|
|
368
|
+
* @category Constructor
|
|
369
|
+
*/
|
|
370
|
+
aiService) {
|
|
371
|
+
this.sisenseContextService = sisenseContextService;
|
|
372
|
+
this.themeService = themeService;
|
|
373
|
+
this.aiService = aiService;
|
|
374
|
+
this.componentAdapter = new ComponentAdapter(() => this.createPreactComponent(), [
|
|
375
|
+
createSisenseContextConnector(this.sisenseContextService),
|
|
376
|
+
createThemeContextConnector(this.themeService),
|
|
377
|
+
createAiContextConnector(this.aiService),
|
|
378
|
+
]);
|
|
379
|
+
}
|
|
380
|
+
/**
|
|
381
|
+
* @internal
|
|
382
|
+
*/
|
|
383
|
+
ngAfterViewInit() {
|
|
384
|
+
this.componentAdapter.render(this.preactRef.nativeElement);
|
|
385
|
+
}
|
|
386
|
+
/**
|
|
387
|
+
* @internal
|
|
388
|
+
*/
|
|
389
|
+
ngOnChanges() {
|
|
390
|
+
if (this.preactRef) {
|
|
391
|
+
this.componentAdapter.render(this.preactRef.nativeElement);
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
createPreactComponent() {
|
|
395
|
+
const props = {
|
|
396
|
+
dataSource: this.dataSource,
|
|
397
|
+
dimensions: this.dimensions,
|
|
398
|
+
measures: this.measures,
|
|
399
|
+
filters: this.filters,
|
|
400
|
+
verbosity: this.verbosity,
|
|
401
|
+
};
|
|
402
|
+
return createElement(GetNlgInsights, props);
|
|
403
|
+
}
|
|
404
|
+
/**
|
|
405
|
+
* @internal
|
|
406
|
+
*/
|
|
407
|
+
ngOnDestroy() {
|
|
408
|
+
this.componentAdapter.destroy();
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
GetNlgInsightsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GetNlgInsightsComponent, deps: [{ token: i1.SisenseContextService }, { token: i1.ThemeService }, { token: AiService }], target: i0.ɵɵFactoryTarget.Component });
|
|
412
|
+
GetNlgInsightsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: GetNlgInsightsComponent, selector: "csdk-get-nlg-insights", inputs: { dataSource: "dataSource", dimensions: "dimensions", measures: "measures", filters: "filters", verbosity: "verbosity" }, viewQueries: [{ propertyName: "preactRef", first: true, predicate: ["preact"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "\n <div #preact style=\"width: 100%; height: 100%\"></div>\n", isInline: true });
|
|
413
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GetNlgInsightsComponent, decorators: [{
|
|
414
|
+
type: Component,
|
|
415
|
+
args: [{
|
|
416
|
+
selector: 'csdk-get-nlg-insights',
|
|
417
|
+
template,
|
|
418
|
+
}]
|
|
419
|
+
}], ctorParameters: function () { return [{ type: i1.SisenseContextService }, { type: i1.ThemeService }, { type: AiService }]; }, propDecorators: { preactRef: [{
|
|
420
|
+
type: ViewChild,
|
|
421
|
+
args: [rootId]
|
|
422
|
+
}], dataSource: [{
|
|
423
|
+
type: Input
|
|
424
|
+
}], dimensions: [{
|
|
425
|
+
type: Input
|
|
426
|
+
}], measures: [{
|
|
427
|
+
type: Input
|
|
428
|
+
}], filters: [{
|
|
429
|
+
type: Input
|
|
430
|
+
}], verbosity: [{
|
|
431
|
+
type: Input
|
|
432
|
+
}] } });
|
|
433
|
+
|
|
434
|
+
/* eslint-disable import/no-extraneous-dependencies */
|
|
435
|
+
/**
|
|
436
|
+
* SDK AI Module, which is a container for generative AI components and services.
|
|
437
|
+
*
|
|
438
|
+
* @example
|
|
439
|
+
* Example of importing {@link SdkAiModule} and injecting {@link AiContextConfig} into your application,
|
|
440
|
+
* along with importing dependency {@link SdkUiModule} and injecting {@link SisenseContextConfig} to connect to a Sisense instance:
|
|
441
|
+
*
|
|
442
|
+
* ```ts
|
|
443
|
+
* import { SdkUiModule, SisenseContextConfig } from '@sisense/sdk-ui-angular';
|
|
444
|
+
* import { SdkAiModule, AI_CONTEXT_CONFIG_TOKEN, AiContextConfig } from '@sisense/sdk-ui-angular/ai';
|
|
445
|
+
*
|
|
446
|
+
* const AI_CONTEXT_CONFIG: AiContextConfig = {
|
|
447
|
+
* volatile: true,
|
|
448
|
+
* };
|
|
449
|
+
* const SISENSE_CONTEXT_CONFIG: SisenseContextConfig = {
|
|
450
|
+
* url: "<instance url>", // replace with the URL of your Sisense instance
|
|
451
|
+
* token: "<api token>", // replace with the API token of your user account
|
|
452
|
+
* defaultDataSource: DM.DataSource,
|
|
453
|
+
* };
|
|
454
|
+
*
|
|
455
|
+
* @NgModule({
|
|
456
|
+
* imports: [
|
|
457
|
+
* BrowserModule,
|
|
458
|
+
* SdkUiModule,
|
|
459
|
+
* SdkAiModule,
|
|
460
|
+
* ],
|
|
461
|
+
* declarations: [AppComponent],
|
|
462
|
+
* providers: [
|
|
463
|
+
* { provide: AI_CONTEXT_CONFIG_TOKEN, useValue: AI_CONTEXT_CONFIG },
|
|
464
|
+
* { provide: SISENSE_CONTEXT_CONFIG_TOKEN, useValue: SISENSE_CONTEXT_CONFIG },
|
|
465
|
+
* ],
|
|
466
|
+
* bootstrap: [AppComponent],
|
|
467
|
+
* })
|
|
468
|
+
* ```
|
|
469
|
+
*
|
|
470
|
+
* @group Generative AI
|
|
471
|
+
* @beta
|
|
472
|
+
*/
|
|
12
473
|
class SdkAiModule {
|
|
13
474
|
constructor() {
|
|
14
475
|
console.log('SdkAiModule loaded');
|
|
15
476
|
}
|
|
16
477
|
}
|
|
17
478
|
SdkAiModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SdkAiModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
18
|
-
SdkAiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SdkAiModule, imports: [CommonModule, SdkUiModule] });
|
|
479
|
+
SdkAiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SdkAiModule, declarations: [ChatbotComponent, GetNlgInsightsComponent], imports: [CommonModule, SdkUiModule], exports: [ChatbotComponent, GetNlgInsightsComponent] });
|
|
19
480
|
SdkAiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SdkAiModule, imports: [CommonModule, SdkUiModule] });
|
|
20
481
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SdkAiModule, decorators: [{
|
|
21
482
|
type: NgModule,
|
|
22
483
|
args: [{
|
|
23
|
-
declarations: [],
|
|
484
|
+
declarations: [ChatbotComponent, GetNlgInsightsComponent],
|
|
24
485
|
imports: [CommonModule, SdkUiModule],
|
|
25
|
-
exports: [],
|
|
486
|
+
exports: [ChatbotComponent, GetNlgInsightsComponent],
|
|
26
487
|
providers: [],
|
|
27
488
|
}]
|
|
28
489
|
}], ctorParameters: function () { return []; } });
|
|
29
490
|
|
|
491
|
+
/**
|
|
492
|
+
* Public API Surface of @sisense/sdk-ui-angular/ai
|
|
493
|
+
*/
|
|
494
|
+
|
|
30
495
|
/**
|
|
31
496
|
* Generated bundle index. Do not edit.
|
|
32
497
|
*/
|
|
33
498
|
|
|
34
|
-
export { SdkAiModule };
|
|
499
|
+
export { AI_CONTEXT_CONFIG_TOKEN, AiService, ChatbotComponent, GetNlgInsightsComponent, SdkAiModule };
|
|
35
500
|
//# sourceMappingURL=sisense-sdk-ui-angular-ai.mjs.map
|