File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed
Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,7 @@ export interface SearchBoxProps extends CommonProps {
9999 enableAI ?: boolean ;
100100 AIConfig ?: types . AIConfig ;
101101 AIUIConfig ?: types . AIUIConfig ;
102+ renderAIAnswer ?: ( data : any ) => types . children | string | any ;
102103}
103104
104105declare function SearchBox ( props : SearchBoxProps ) : JSX . Element ;
Original file line number Diff line number Diff line change @@ -214,11 +214,13 @@ export interface AIConfig {
214214 temperature ?: number ;
215215}
216216export interface AIUIConfig {
217- loaderMessage : string ; // slot #loaderMessage should also be supported
218- showSourceDocuments : boolean ;
219- renderSourceDocument : ( source : Object ) => string | VNode ;
220- onSourceClick : ( source : Object ) => void ;
221- renderAskButton : ( onClick : Function ) => any ;
222- askButton : boolean ;
223- showFeedback : boolean ;
217+ loaderMessage ?: string ; // slot #loaderMessage should also be supported
218+ showSourceDocuments ?: boolean ;
219+ renderSourceDocument ?: ( source : Object ) => string | VNode ;
220+ onSourceClick ?: ( source : Object ) => void ;
221+ renderAskButton ?: ( onClick : Function ) => any ;
222+ askButton ?: boolean ;
223+ showFeedback ?: boolean ;
224+ triggerOn ?: string ;
225+ renderTriggerMessage ?: children ;
224226}
You can’t perform that action at this time.
0 commit comments