Fix Biel.ai integration and disable AI button in search widget#360
Fix Biel.ai integration and disable AI button in search widget#360satyaog merged 3 commits intomila-iqia:masterfrom
Conversation
e055e71 to
2f1c488
Compare
2f1c488 to
80fa0ff
Compare
|
@satyaog Shouldn't the search bar revert to the default from before we added biel.ai? If when testing these changes locally, the search bar will be empty, then I just have to trust that it will work fine in prod and approve anyway? |
|
No, if you want to test the search feature you can test it directly on docs.mila.quebec, is the same everywhere except for domains restrictions. Just remember that what is being removed here is the Ask AI features from the website and the search bar. So the semantic search will still work. If you want to test locally, you can also disable temporarily the domain restrictions in the Biel.ai settings |
|
Rescoped this to fix Biel.ai project id instead of disabling Biel.ai Ask AI |
lebrice
left a comment
There was a problem hiding this comment.
I guess it makes sense to keep the biel.ai thing even just for the semantic search, if it is much better than the search plugin of mkdocs.
|
It would have been nice to be able to use the search bar on preview builds though, but it's not a big deal. I guess I can just checkout the code locally to test the search. |


Summary
Updates the Biel.ai project ID, disables the "Ask AI" button in the search widget, and removes the search partial on RTD preview builds to avoid using tokens in our tests.
Changes
biel-buttonproject ID inoverrides/main.html.hide-ask-ai-button="true"tobiel-search-buttoninoverrides/partials/search.htmlto suppress the AI chat button within the search widget.biel-search-buttonattributes for clarity (placeholder text, formatting)..readthedocs.yamlto removeoverrides/partials/search.htmlon RTD preview builds, preventing the Biel.ai search button from appearing in previews.