How can I disable "ai_embeddings_semantic_quick_search_enabled" now it’s hidden?

AI-generated summary

A user, kuaza, wants to disable the hidden site setting “ai_embeddings_semantic_quick_search_enabled” after it caused a 500 error on their site. Don provided a solution, explaining that hidden site settings can be accessed via the Rails console. To disable the setting, users can follow these steps:

  1. Access the Rails console with the commands: cd /var/discourse, ./launcher enter app, and rails c.
  2. Change the setting with the command: SiteSetting.ai_embeddings_semantic_quick_search_enabled = false.
  3. Exit the console with the command: exit.

I had enabled the use of artificial intelligence in speed dial, but since it was not ready yet, you removed the visibility of this setting from the admin panel in the new update.

https://github.com/discourse/discourse-ai/pull/559/commits/b4edcbc0ae071887cd302e0cc55bd6cfced02088

However, there is a problem: it still appears on the site and gives a 500 error. I want to hide this area, how can I do it?

“ai_embeddings_semantic_quick_search_enabled”

Hello :waving_hand: Hidden site settings are accessible from rails console.

So to disable this setting you can do on the 2. point:

SiteSetting.ai_embeddings_semantic_quick_search_enabled = false