Commit Graph

  • 5de04621b5 Set filename as top heading of md entries for better search context Debanjum Singh Solanky 2023-05-03 18:55:56 +08:00
  • 0e3fb59e09 Entries with no md headings should not get heading prefix prepended Debanjum Singh Solanky 2023-05-03 18:18:48 +08:00
  • 45a991d75c Prepend entry heading to all compiled org snippets to improve search context Debanjum Singh Solanky 2023-05-03 17:47:33 +08:00
  • 3386cc92b5 Fix khoj server config update in khoj.el by unquoting list to cl-push to Debanjum Singh Solanky 2023-05-03 15:01:58 +08:00
  • 948a4274e4 Fix documentation strings and simplify not null checks Debanjum Singh Solanky 2023-05-02 21:39:47 +08:00
  • 731ef5688f Use cl-pushnew to fix byte-compile errors with using add-to-list Debanjum Singh Solanky 2023-05-02 21:26:30 +08:00
  • f046523b33 Improve khoj.el messages to convey state of khoj server Debanjum Singh Solanky 2023-04-28 11:15:13 +08:00
  • 76df393eb5 Only call khoj server configure API from khoj.el when config updated Debanjum Singh Solanky 2023-04-27 20:28:55 +08:00
  • ceae06ae9d Fix khoj.el compilation warnings around unused variables Debanjum Singh Solanky 2023-04-27 20:43:43 +08:00
  • 8269adf849 Refactor khoj-setup in khoj.el for readability. No functional change Debanjum Singh Solanky 2023-04-27 18:55:48 +08:00
  • 865d12b6f2 Fix escaping quote in chat references to prevent it breaking out of html Debanjum Singh Solanky 2023-04-27 19:10:55 +08:00
  • 26cb878327 Add Yarn lockfile for Khoj Obsidian Debanjum Singh Solanky 2023-04-18 00:57:11 +07:00
  • e3180d63e6 Sync Khoj Obsidian Tagline with Khoj tagline Debanjum Singh Solanky 2023-04-18 00:56:50 +07:00
  • 62e6e09521 Release Khoj version 0.6.1 Debanjum Singh Solanky 2023-04-17 21:46:28 +07:00
  • b079fb31bc Replace Windows path separators in indexName configured via Khoj Obsidian Debanjum Singh Solanky 2023-04-17 16:24:13 +07:00
  • d90df966a9 Make khoj logger use utf-8 encoding when writing to khoj log file Debanjum Singh Solanky 2023-04-17 16:03:01 +07:00
  • dc3f399f91 Fix to get score associated with SearchResponse in result as string Debanjum Singh Solanky 2023-04-16 20:22:51 +07:00
  • d5000c63e1 Update Readmes to use python -m pip install khoj-assistant Debanjum Singh Solanky 2023-04-16 20:17:20 +07:00
  • 453c84ab79 Add Screenshots of Khoj Chat Interface on Emacs, Obsidian to Readmes Debanjum Singh Solanky 2023-04-07 23:13:38 +07:00
  • 35aa06067f Release Khoj version 0.6.0 Debanjum Singh Solanky 2023-03-31 17:50:28 +07:00
  • 8f4e5d3d83 Improve Styling of Khoj Search Modal on Obsidian and Indexing of Markdown Debanjum 2023-03-30 14:15:23 +07:00
  • 5673bd5b96 Keep original formatting in compiled text entry strings Debanjum Singh Solanky 2023-03-30 12:38:45 +07:00
  • a2ab68a7a2 Include filename of markdown entries for search indexing Debanjum Singh Solanky 2023-03-30 12:30:25 +07:00
  • 67129964a7 Create Note with Query as title from within Khoj Search Modal Debanjum Singh Solanky 2023-03-30 13:43:34 +07:00
  • d3257cb24e Style the search result. Use Obsidian theme colors and font-size Debanjum Singh Solanky 2023-03-30 03:32:24 +07:00
  • 40091489c0 For each result: snip it by lines, show filename, remove frontmatter Debanjum Singh Solanky 2023-03-30 03:31:47 +07:00
  • 240db7b4f0 Add screenshot of Khoj chat on Obsidian to Readme. Fix links Debanjum Singh Solanky 2023-03-30 02:46:59 +07:00
  • 234be96e53 Fix processor key used to configure chat model in khoj obsidian Debanjum Singh Solanky 2023-03-30 01:46:03 +07:00
  • 53d421f9c6 Create Chat Modal for Obsidian Plugin Debanjum 2023-03-30 01:37:07 +07:00
  • c8c0cfd10e Add Chat features, setup and usage to Khoj Obsidian plugin Readme Debanjum Singh Solanky 2023-03-30 00:32:24 +07:00
  • 7ecae224e7 Configure OpenAI API Key from the Khoj plugin setting in Obsidian Debanjum Singh Solanky 2023-03-29 23:42:17 +07:00
  • 3d616c8d65 Use Obsidian font sizes. Improve input field, reference indexing Debanjum Singh Solanky 2023-03-29 22:12:11 +07:00
  • 23bd737f6b Use chat input element to send message on Enter. No send button required Debanjum Singh Solanky 2023-03-29 17:47:04 +07:00
  • 81e98c3079 Scroll to bottom of modal on open and message send Debanjum Singh Solanky 2023-03-29 12:41:33 +07:00
  • 59ff1ae27f Use obsidian theme colors for bg, text. Restrict css namespace via prefix Debanjum Singh Solanky 2023-03-28 18:49:28 +07:00
  • 001ac7b5eb Style Obsidian Chat Modal like Khoj Chat Web Interface Debanjum Singh Solanky 2023-03-28 18:04:27 +07:00
  • 112f388ada Render references next to chat responses by khoj in chat modal Debanjum Singh Solanky 2023-03-28 15:35:06 +07:00
  • 1d3d949962 Render conversation logs on page load Debanjum Singh Solanky 2023-03-23 08:16:54 +04:00
  • cd46a17e5f Add Khoj Chat Modal, Command in Khoj Obsidian to Chat using API Debanjum Singh Solanky 2023-03-23 05:31:26 +04:00
  • c0972e09e6 Rename KhojModal to KhojSearchModal, a more specific name for it Debanjum Singh Solanky 2023-03-23 05:30:11 +04:00
  • 64fff1d372 Release Khoj version 0.5.0 Debanjum Singh Solanky 2023-03-28 03:34:07 +07:00
  • 7478d08803 Update main readme to mention chat features Debanjum Singh Solanky 2023-03-27 20:51:27 +07:00
  • fc218508f9 Update khoj.el docs and Emacs Readme for chat, simplified setup Debanjum Singh Solanky 2023-03-27 20:47:08 +07:00
  • 87090531da Install, Start and Configure Khoj Server from Emacs Debanjum 2023-03-27 18:49:43 +07:00
  • 83a7ccd729 Fix docstrings and method ordering in khoj.el Debanjum Singh Solanky 2023-03-27 18:33:09 +07:00
  • 5c2327ee4f Configure org directories to index from khoj.el Debanjum Singh Solanky 2023-03-27 18:30:53 +07:00
  • 6e8a40906d Allow disabling automatic server setup. Fix server start vs ready logic Debanjum Singh Solanky 2023-03-27 17:53:08 +07:00
  • 526a927bce Fix org entry extraction test, variable prefixed with khoj in khoj.el Debanjum Singh Solanky 2023-03-27 16:42:38 +07:00
  • 7243059507 Track index update asynchronously via moon phase progressbar in khoj.el Debanjum Singh Solanky 2023-03-27 05:52:32 +07:00
  • 8a9055f918 Restrict server messages show in echo area to main server files Debanjum Singh Solanky 2023-03-27 04:46:31 +07:00
  • ae535a06eb Configure Khoj chat using khoj.el by setting OpenAI API key in Emacs Debanjum Singh Solanky 2023-03-27 04:38:17 +07:00
  • 36b17d4ae0 Generalize the directory from config extraction elisp method Debanjum Singh Solanky 2023-03-27 03:44:03 +07:00
  • 924424c754 Throw actionable exceptions when content types or chat not configured Debanjum Singh Solanky 2023-03-27 02:08:21 +07:00
  • 359a2cacef Fix khoj--server-running to work with unconfigured or external server Debanjum Singh Solanky 2023-03-27 01:29:58 +07:00
  • d7fb9a596e Auto configure server before loading khoj-menu Debanjum Singh Solanky 2023-03-27 01:16:05 +07:00
  • 8a21aff438 Make khoj.el server start, stop, restart, setup methods interactive Debanjum Singh Solanky 2023-03-27 01:11:43 +07:00
  • cb40a96c85 Index configured org files from khoj.el Debanjum Singh Solanky 2023-03-26 18:44:10 +07:00
  • 50760acc37 Wait for Khoj server to get ready before opening khoj.el transient menu Debanjum Singh Solanky 2023-03-26 11:56:04 +07:00
  • 82eb4bfd0d Setup Khoj server on opening khoj from with Emacs Debanjum Singh Solanky 2023-03-26 10:12:06 +07:00
  • 99d19dcf43 Start Khoj server from Emacs using khoj.el Debanjum Singh Solanky 2023-03-26 09:38:46 +07:00
  • c92d79118a Install Khoj server from Emacs using khoj.el Debanjum Singh Solanky 2023-03-26 08:41:51 +07:00
  • e281a498b4 Style Khoj search org buffer via elisp instead of in-buffer settings Debanjum Singh Solanky 2023-03-26 06:34:18 +07:00
  • 4f655d20ae Style Khoj chat directly via elisp instead of via in-buffer settings Debanjum Singh Solanky 2023-03-26 06:03:30 +07:00
  • f6ff7b1beb Render foonote reference links as superscript for Khoj Chat on Emacs Debanjum Singh Solanky 2023-03-26 05:28:44 +07:00
  • 285a2b86d2 Use aiohttp version 3.8.4 as 4.x breaks docker image build Debanjum Singh Solanky 2023-03-26 05:10:53 +07:00
  • 67c850a4ac Add retry logic to OpenAI API queries to increase Chat tenacity Debanjum Singh Solanky 2023-03-25 12:36:51 +07:00
  • 0aebf624fc Improve Khoj Chat in Emacs, Server Debanjum 2023-03-25 05:49:27 +07:00
  • ff846f05c5 Clean-up khoj.el based on linting helpers and manual review Debanjum Singh Solanky 2023-03-25 05:28:13 +07:00
  • 7e36f421f9 Truncate message logs to below max supported prompt size by model Debanjum Singh Solanky 2023-03-25 04:37:55 +07:00
  • 4725416fbd Use shortcut keybindings in buffer to ease sending messages to Khoj Debanjum Singh Solanky 2023-03-25 01:43:11 +07:00
  • 508b2176b7 Update Chat API, Logs, Interfaces to store, use references as list Debanjum Singh Solanky 2023-03-24 21:55:22 +07:00
  • b08745b541 Keep chat messages at 1 empty line visible distance in khoj.el Debanjum Singh Solanky 2023-03-24 21:24:42 +07:00
  • 27217a330d Time chat API sub-components for performance analysis Debanjum Singh Solanky 2023-03-24 20:39:41 +07:00
  • 5e9558d39d Stylize references shown as footnote links in chat messages Debanjum Singh Solanky 2023-03-24 17:51:39 +07:00
  • cf28f104c7 Register separate timestamps for user query and response by Khoj Chat Debanjum Singh Solanky 2023-03-24 15:27:30 +07:00
  • 93e2aff786 Add references as org footnotes instead of links Debanjum Singh Solanky 2023-03-24 14:25:00 +07:00
  • d78454d4ad Load Khoj Chat buffer before asking for query to provide context Debanjum Singh Solanky 2023-03-24 13:43:46 +07:00
  • 4070d13a96 Create Khoj Chat Interface in Emacs Debanjum 2023-03-22 16:32:40 -06:00
  • 863933daaa Resolve build issues found by melpazoid Debanjum Singh Solanky 2023-03-23 02:25:34 +04:00
  • e9ca04af0d Require dash, org to run ERT tests for khoj.el Debanjum Singh Solanky 2023-03-23 01:46:26 +04:00
  • 06df394d6c Style chat messages as org-mode entries in Emacs Debanjum Singh Solanky 2023-03-22 12:00:43 -06:00
  • 364e6c11af Render chat history from API in chat buffer on first run Debanjum Singh Solanky 2023-03-22 11:08:17 -06:00
  • 36b52fdd0a Properly escape reference links before rendering Debanjum Singh Solanky 2023-03-22 02:13:00 -06:00
  • 72f63a6ef7 Add basic chat interface for Khoj on Emacs Debanjum Singh Solanky 2023-03-22 01:13:17 -06:00
  • e4d67694e1 Add search to method, variable names meant for khoj search in khoj.el Debanjum Singh Solanky 2023-03-21 21:01:14 -06:00
  • 98e5ea4940 Fix name of default encoder to replace in multi-lingual model setup docs Debanjum Singh Solanky 2023-03-21 20:38:17 -06:00
  • 2f6284872d Mention Khoj needs Python version 3.10 or lower in docs Debanjum Singh Solanky 2023-03-20 15:18:19 -06:00
  • a9b81975f2 Fix encoder model name to configure multilingual search in Readme Debanjum Singh Solanky 2023-03-19 17:23:49 -06:00
  • b351cfb8a0 Add Search Actor to Improve Querying Notes for Khoj Chat Debanjum 2023-03-18 18:02:12 -06:00
  • 601ff2541b Revert to using GPT to extract search queries from users message Debanjum Singh Solanky 2023-03-18 04:06:14 -06:00
  • e28526bbc9 Extract search queries from users message using ChatGPT as Search Actor Debanjum Singh Solanky 2023-03-18 04:06:06 -06:00
  • 939d7731da Fix-up Search Actor GPT's response for decoding it as valid JSON Debanjum Singh Solanky 2023-03-18 03:30:30 -06:00
  • f63fd0995e Pass more search results as context to Chat Actor to improve inference Debanjum Singh Solanky 2023-03-18 03:25:59 -06:00
  • 10836dedee Search should return user message if GPT response is not valid JSON Debanjum Singh Solanky 2023-03-17 20:29:33 -06:00
  • 08f5fb315f Add answers to context for Search Actor to generate relevant queries Debanjum Singh Solanky 2023-03-17 19:53:17 -06:00
  • f09bdd515b Expect Chat Director can extract relative dates using new Search Actor Debanjum Singh Solanky 2023-03-16 14:54:56 -06:00
  • 36c7389b46 Test Search Actor generating search query from Chat History Debanjum Singh Solanky 2023-03-16 18:14:41 -06:00
  • 2600cc9d4d Test Search Actor extracting relative dates & multiple questions Debanjum Singh Solanky 2023-03-16 14:49:35 -06:00
  • 45cb510421 Loosen search results score thresold used by chat for more context Debanjum Singh Solanky 2023-03-16 15:39:26 -06:00
  • d871e04a81 Use past user messages, inferred questions as context to extract questions Debanjum Singh Solanky 2023-03-16 15:14:47 -06:00