From c07385257c5f00974a9ed6cb98800b85f74739db Mon Sep 17 00:00:00 2001 From: John Nduli Date: Mon, 26 Aug 2024 09:59:15 +0300 Subject: docs: add rough description for llm integration task --- .../gn_llm_integration_using_cached_searches.gmi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 issues/gn_llm_integration_using_cached_searches.gmi diff --git a/issues/gn_llm_integration_using_cached_searches.gmi b/issues/gn_llm_integration_using_cached_searches.gmi new file mode 100644 index 0000000..c9a5c24 --- /dev/null +++ b/issues/gn_llm_integration_using_cached_searches.gmi @@ -0,0 +1,22 @@ +# GN2 Integration with LLM search using cached results + +## Tags + +* assigned: jnduli, alexm +* keywords: llm, genenetwork2 +* type: enhancement +* status: open + +## Description + +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. + + +This can be phased out into + +- [ ] UI integration, where we modify the search page to include a dummy content box +- [ ] LLM search integration, where we perform a search and modify UI to show the results. This can either be async (i.e. the search results page waits for the LLM search results) or sync (i.e. we load the search results page after we've got the LLM results) +- [ ] Cache design and integration + +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. + -- cgit v1.2.3