summaryrefslogtreecommitdiff
path: root/issues
diff options
context:
space:
mode:
authorJohn Nduli2024-08-26 16:52:33 +0300
committerBonfaceKilz2024-08-27 09:46:20 +0300
commitb3d5bb3453d4727b696d8cc57f13bb78991a3501 (patch)
tree498b8aa99e93b0f2bc488dd3460f1fa7de68da87 /issues
parentc07385257c5f00974a9ed6cb98800b85f74739db (diff)
downloadgn-gemtext-b3d5bb3453d4727b696d8cc57f13bb78991a3501.tar.gz
docs: add better details on llm integration plan
Diffstat (limited to 'issues')
-rw-r--r--issues/gn_llm_integration_using_cached_searches.gmi14
1 files changed, 11 insertions, 3 deletions
diff --git a/issues/gn_llm_integration_using_cached_searches.gmi b/issues/gn_llm_integration_using_cached_searches.gmi
index c9a5c24..a753332 100644
--- a/issues/gn_llm_integration_using_cached_searches.gmi
+++ b/issues/gn_llm_integration_using_cached_searches.gmi
@@ -2,7 +2,7 @@
## Tags
-* assigned: jnduli, alexm
+* assigned: jnduli, alexm, bmunyoki
* keywords: llm, genenetwork2
* type: enhancement
* status: open
@@ -11,12 +11,20 @@
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
- [ ] 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
+ - [ ] create a copy branch for the gnqa-api branch
+ - [ ] create a PR containing all the branches
+ - [ ] how much would it take to get the qa_*** branch merged into main??
+- [ ] Cache design and integration: we already have some 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.
+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.