mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-12-04 04:43:01 +01:00
Autoload main semantic-search function
This commit is contained in:
parent
f4bde75249
commit
3bdeeb1e19
1 changed files with 1 additions and 0 deletions
|
@ -74,6 +74,7 @@
|
||||||
(let ((encoded-query (url-hexify-string query)))
|
(let ((encoded-query (url-hexify-string query)))
|
||||||
(format "%s/search?q=%s&t=%s" semantic-search--server-url encoded-query search-type)))
|
(format "%s/search?q=%s&t=%s" semantic-search--server-url encoded-query search-type)))
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
(defun semantic-search (query)
|
(defun semantic-search (query)
|
||||||
"Semantic search on org-mode content via semantic-search API"
|
"Semantic search on org-mode content via semantic-search API"
|
||||||
(interactive "sQuery: ")
|
(interactive "sQuery: ")
|
||||||
|
|
Loading…
Reference in a new issue