This site needs more AI !

The ability to get AI-based results from the quick search has been present from the moment I enabled the "AI embeddings semantic search" feature five days ago. I just didn't realize it was working until I happened to perform a search that only returned a couple of keyword-based results a few hours ago.

I thought I should add a post mentioning the existence of this capability, since my previous communications indicating the AI-based results were only available from the advanced search page had resulted in discussion here.

The reason is that your query produces enough keyword-based results to fully populate the quick search dropdown.

Try running this query from the quick search field:

"The procedure entry point GetPackageFamilyName could not be located KERNEL32.dll"

The query only returns three keyword-based results, so the AI-based results are also shown in the quick search dropdown.

I understand that, and your complaint that the forum's keyword search does not take the "fuzzy" search approach used by other search engines like Google for many years prior to the AI era. However, the "AI embeddings semantic search" feature of the Discourse platform does truly use AI.

It is actually pretty interesting how it works:

An embedding model creates a numerical representation of the semantic meaning of every forum post. This information is stored in the forum database (meaning each post only has to be processed once, rather than redundantly for each search query).

An LLM is used to generate a hypothetical post from the search query. In the case of the query you ran:

This is the hypothetical post that was generated:

The same system used to generate embeddings for the real forum posts is then used to make an embedding for that hypothetical post. This process is called "Hypothetical Document Embeddings (HyDE)".

The embedding of the hypothetical post is then compared against the embeddings in the forum database, and the posts with embeddings having the highest "nearest-neighbor similarity" to the HyDE are selected as the AI-based search results.


The post embeddings (but not HyDE) is also used to generate the "Related topics" list you see at the bottom of each forum topic.