File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
src/ai-assistant/src/components Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -7,9 +7,10 @@ import {
7
7
AiAssistant ,
8
8
MessageModel ,
9
9
useAssistant ,
10
- histogramFunctionDefinition
10
+ histogramFunctionDefinition ,
11
+ dataClassifyFunctionDefinition
11
12
} from 'react-ai-assist' ;
12
- import 'react-ai-assist/dist/index.css' ;
13
+ import 'react-ai-assist/../ dist/index.css' ;
13
14
14
15
import { textColorLT } from '@kepler.gl/styles' ;
15
16
import { ActionHandler } from '@kepler.gl/actions' ;
@@ -101,6 +102,10 @@ function AiAssistantComponentFactory() {
101
102
selectedRowIndices ,
102
103
keplerGlActions . layerSetIsValid
103
104
)
105
+ } ) ,
106
+ dataClassifyFunctionDefinition ( {
107
+ getValues : ( datasetName : string , variableName : string ) : number [ ] =>
108
+ getValuesFromDataset ( visState . datasets , datasetName , variableName )
104
109
} )
105
110
] ;
106
111
You can’t perform that action at this time.
0 commit comments