All AI functions are working ok, but AI search gives 500 error

AI-generated summary

Bathinda is experiencing a 500 error when using the top-right search box, despite other AI functions working correctly. Jagster suggests disabling a hidden setting, ai_embeddings_semantic_quick_search_enabled, which is not available in the Admin Settings or AI-Settings. Jagster provides a solution using the command line to disable the setting:

cd /var/discourse
./launcher enter app
rails c
SiteSetting.ai_embeddings_semantic_quick_search_enabled = false
exit
exit

Bathinda appreciates the clarification, noting that the setting was previously public but is now hidden.

When all my AI settings, and personas ok.
I’m able to test/make AI work in new msg Compose work, proof-read text etc. But when I search thru the top-right search box:

I get ‘500’ error:

What should I check or diagnose this?

Just to show that AI settings and API keys etc are ok:

It doesn’t work, on self-hosted anyway. Better to disable that hidden setting you had enabled (if I remember right you aren’t CDCK customer).

thanks @Jagster

And, yes, you’re right. I’m self hosted.
I tried finding the option to ‘turn-off’ AI assisted search thru/in the main (Top-Right corner) search field, but couldn’t find or search that option (either in ‘Admin Settings’, or Under ‘Ai-Settings’).

If you could just guide, where that might be.

cd /var/discourse
./launcher enter app
rails c
SiteSetting.ai_embeddings_semantic_quick_search_enabled = false
exit
exit

It was a public setting at one point, but it moved to hidden.

If you hadn’t added the quoted line, the answer would’ve sounded incomplete, at least to me (and I’d ve scratched my head for good part of an hour :smile: :smile: :smile: )

Cheers!