@@ -20,15 +20,21 @@ const ALL_SUGGESTIONS: AskAiSuggestion[] = [
2020 { question : 'How do I set up Elasticsearch security and authentication?' } ,
2121 { question : 'What are the different types of Elasticsearch queries?' } ,
2222 { question : 'How do I monitor cluster health and performance?' } ,
23- { question : 'What is the Elastic Stack and how do the components work together?' } ,
23+ {
24+ question :
25+ 'What is the Elastic Stack and how do the components work together?' ,
26+ } ,
2427 { question : 'How do I create and manage Elasticsearch indices?' } ,
2528 { question : 'What are the best practices for Elasticsearch mapping?' } ,
2629 { question : 'How do I set up log shipping with Beats?' } ,
2730 { question : 'What is APM and how do I use it for application monitoring?' } ,
2831 { question : 'How do I create custom visualizations in Kibana?' } ,
2932 { question : 'What are Elasticsearch snapshots and how do I use them?' } ,
3033 { question : 'How do I configure cross-cluster search?' } ,
31- { question : 'What are the different Elasticsearch node types and their roles?' } ,
34+ {
35+ question :
36+ 'What are the different Elasticsearch node types and their roles?' ,
37+ } ,
3238]
3339
3440export const AskAiSuggestions = ( ) => {
@@ -42,11 +48,16 @@ export const AskAiSuggestions = () => {
4248 const shuffled = [ ...ALL_SUGGESTIONS ] . sort ( ( ) => Math . random ( ) - 0.5 )
4349 return shuffled . slice ( 0 , 3 )
4450 } , [ ] )
45-
51+
4652 return (
4753 < ul >
4854 { selectedSuggestions . map ( ( suggestion ) => (
49- < li key = { suggestion . question } css = { css `margin-bottom : ${ euiTheme . size . s } ;` } >
55+ < li
56+ key = { suggestion . question }
57+ css = { css `
58+ margin-bottom : ${ euiTheme . size . s } ;
59+ ` }
60+ >
5061 < EuiButton
5162 iconType = "newChat"
5263 color = "primary"
0 commit comments