summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Nduli2024-08-26 09:59:15 +0300
committerBonfaceKilz2024-08-27 09:46:20 +0300
commitc07385257c5f00974a9ed6cb98800b85f74739db (patch)
treed9ce6349166f15a2fb0a206485f92a132f3f47a4
parent058a3b1a2692b4961e52c46aabba3b5483b521d9 (diff)
downloadgn-gemtext-c07385257c5f00974a9ed6cb98800b85f74739db.tar.gz
docs: add rough description for llm integration task
-rw-r--r--issues/gn_llm_integration_using_cached_searches.gmi22
1 files changed, 22 insertions, 0 deletions
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.
+