kuaza
(kuaza)
July 28, 2024, 1:11am
1
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.
I enabled ai embeddings semantic quick search enabled but it gives error 500. It works here, and error 500 quite often happends because of issues of servers, aka. at my end, but I’m a bit lost how to start solving out this.
I upgraded a couple days ago, but it hasn’t work ever. Sementic suggestions works just nice when searched as usual.
Used model is GPT-4 Turbo, and embeddings model is text-embedding-3-small — if that matters. I used large at some point, but changed it to small, because I di…
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”
Don
July 28, 2024, 5:40am
2
Hello Hidden site settings are accessible from rails console.
This is a how-to guide about Hidden Site Settings, how to enable them, and why you might want to adjust them.
Required user level: Administrator
Important: Console access is required for some steps.
In Discourse, hidden site settings refer to configuration options that are not readily visible or accessible through the standard admin dashboard interface. These settings are part of the backend configuration that can control various advanced or potent…
Option 1: Rails Console
To modify hidden site settings, you typically need to use the Rails console, a command line tool that allows you to interact directly with the backend of your Discourse installation. To adjust settings via the rails console you can follow these steps:
Access the Rails Console :
cd /var/discourse
./launcher enter app
rails c
Change a Setting :
SiteSetting.your_setting_name = new_value
Replace your_setting_name with the name of the setting you want to modify, and new_value with the value you want to set.
3. Exit the Console :
exit
So to disable this setting you can do on the 2. point:
SiteSetting.ai_embeddings_semantic_quick_search_enabled = false