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

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!