We'd like to include LLM searches integrated into our GN searches, when someone attempts a Xapian search e.g. when I search for `wiki:rif group:mouse nicotine`, we'd do a corresponding search for `rif mouse nicotine` on LLMs, and show the results on the main page.
Another example:
xapian search: rif:glioma species:human group:gtex_v8 llm search: glioma human gtex_v8
This can be phased out into
cache using redis (gn search history), so we may use this for the moment.
Let's use flag: `LLM_SEARCH_ENABLED` to enable/disable this feature during development to make sure we don't release this before it's ready.
The branch for merging to gn2:
https://github.com/genenetwork/genenetwork2/pull/863
The branch for merging to gn3:
https://github.com/genenetwork/genenetwork3/pull/188