@@ -99,26 +99,31 @@ const config: Config = {
9999
100100 // note - using a "markdown" index that is separate from the main documentation index.
101101 // this is recommended by docsearch
102- askAi : {
103- // indexName: "SparkFun_Documenation_Site_MarkDown",
104- indices : [
105- {
106- name : "SparkFun_Documenation_Site_MarkDown" ,
107- searchParameters : {
108- facetFilters : [ 'section:SparkFun_DataLogger' ] ,
109- } ,
110- }
111- ] ,
112- assistantId : assistantId ,
113- apiKey : appKey ,
114- appId : appID ,
115- // March 2026 - the side panel isn't working -- need to revisit.
116- sidePanel : true ,
117- // searchParameters: {
118- // facetFilters: ['section:SparkFun_DataLogger'],
119- // },
120-
121- } ,
102+ //
103+ // March, 2026 - Normal search used facetFilters to key off the section attribute,
104+ // to limit search results to a specific section. This allows the same overall index
105+ // to be used for the datalogger. This is not available for AskAi.
106+ //
107+ // see: https://docsearch.algolia.com/docs/api/#askai
108+ //
109+ // It appears - according to the above docs and observation, that the facet filters
110+ // are limited to a small set of values. It's an optimaization most likely for now.
111+ ///
112+ // Sooo - disabling AskAI for the datalogger - can revisit later.
113+ //
114+ askAi : false ,
115+ // askAi: {
116+ // indexName: "SparkFun_Documenation_Site_MarkDown",
117+ // assistantId: assistantId,
118+ // apiKey: appKey,
119+ // appId: appID,
120+ // // March 2026 - the side panel isn't working -- need to revisit.
121+ // sidePanel: true,
122+ // searchParameters: {
123+ // facetFilters: ['section:SparkFun_DataLogger'],
124+ // },
125+
126+ // },
122127
123128 } ,
124129
0 commit comments