Commit graph

  • 4f655d20ae Style Khoj chat directly via elisp instead of via in-buffer settings Debanjum Singh Solanky 2023-03-26 06:03:30 +0700
  • f6ff7b1beb Render foonote reference links as superscript for Khoj Chat on Emacs Debanjum Singh Solanky 2023-03-26 05:28:44 +0700
  • 285a2b86d2 Use aiohttp version 3.8.4 as 4.x breaks docker image build Debanjum Singh Solanky 2023-03-26 05:10:53 +0700
  • 67c850a4ac Add retry logic to OpenAI API queries to increase Chat tenacity Debanjum Singh Solanky 2023-03-25 12:36:51 +0700
  • 0aebf624fc
    Improve Khoj Chat in Emacs, Server Debanjum 2023-03-25 05:49:27 +0700
  • ff846f05c5 Clean-up khoj.el based on linting helpers and manual review Debanjum Singh Solanky 2023-03-25 05:28:13 +0700
  • 7e36f421f9 Truncate message logs to below max supported prompt size by model Debanjum Singh Solanky 2023-03-25 04:37:55 +0700
  • 4725416fbd Use shortcut keybindings in buffer to ease sending messages to Khoj Debanjum Singh Solanky 2023-03-25 01:43:11 +0700
  • 508b2176b7 Update Chat API, Logs, Interfaces to store, use references as list Debanjum Singh Solanky 2023-03-24 21:55:22 +0700
  • b08745b541 Keep chat messages at 1 empty line visible distance in khoj.el Debanjum Singh Solanky 2023-03-24 21:24:42 +0700
  • 27217a330d Time chat API sub-components for performance analysis Debanjum Singh Solanky 2023-03-24 20:39:41 +0700
  • 5e9558d39d Stylize references shown as footnote links in chat messages Debanjum Singh Solanky 2023-03-24 17:51:39 +0700
  • cf28f104c7 Register separate timestamps for user query and response by Khoj Chat Debanjum Singh Solanky 2023-03-24 15:27:30 +0700
  • 93e2aff786 Add references as org footnotes instead of links Debanjum Singh Solanky 2023-03-24 14:25:00 +0700
  • d78454d4ad Load Khoj Chat buffer before asking for query to provide context Debanjum Singh Solanky 2023-03-24 13:43:46 +0700
  • 4070d13a96
    Create Khoj Chat Interface in Emacs Debanjum 2023-03-22 16:32:40 -0600
  • 863933daaa Resolve build issues found by melpazoid Debanjum Singh Solanky 2023-03-23 02:25:34 +0400
  • e9ca04af0d Require dash, org to run ERT tests for khoj.el Debanjum Singh Solanky 2023-03-23 01:46:26 +0400
  • 06df394d6c Style chat messages as org-mode entries in Emacs Debanjum Singh Solanky 2023-03-22 12:00:43 -0600
  • 364e6c11af Render chat history from API in chat buffer on first run Debanjum Singh Solanky 2023-03-22 11:08:17 -0600
  • 36b52fdd0a Properly escape reference links before rendering Debanjum Singh Solanky 2023-03-22 02:13:00 -0600
  • 72f63a6ef7 Add basic chat interface for Khoj on Emacs Debanjum Singh Solanky 2023-03-22 01:13:17 -0600
  • e4d67694e1 Add search to method, variable names meant for khoj search in khoj.el Debanjum Singh Solanky 2023-03-21 21:01:14 -0600
  • 98e5ea4940 Fix name of default encoder to replace in multi-lingual model setup docs Debanjum Singh Solanky 2023-03-21 20:38:17 -0600
  • 2f6284872d Mention Khoj needs Python version 3.10 or lower in docs Debanjum Singh Solanky 2023-03-20 15:18:19 -0600
  • a9b81975f2 Fix encoder model name to configure multilingual search in Readme Debanjum Singh Solanky 2023-03-19 17:23:49 -0600
  • b351cfb8a0
    Add Search Actor to Improve Querying Notes for Khoj Chat Debanjum 2023-03-18 18:02:12 -0600
  • 601ff2541b Revert to using GPT to extract search queries from users message Debanjum Singh Solanky 2023-03-18 04:06:14 -0600
  • e28526bbc9 Extract search queries from users message using ChatGPT as Search Actor Debanjum Singh Solanky 2023-03-18 04:06:06 -0600
  • 939d7731da Fix-up Search Actor GPT's response for decoding it as valid JSON Debanjum Singh Solanky 2023-03-18 03:30:30 -0600
  • f63fd0995e Pass more search results as context to Chat Actor to improve inference Debanjum Singh Solanky 2023-03-18 03:25:59 -0600
  • 10836dedee Search should return user message if GPT response is not valid JSON Debanjum Singh Solanky 2023-03-17 20:29:33 -0600
  • 08f5fb315f Add answers to context for Search Actor to generate relevant queries Debanjum Singh Solanky 2023-03-17 19:53:17 -0600
  • f09bdd515b Expect Chat Director can extract relative dates using new Search Actor Debanjum Singh Solanky 2023-03-16 14:54:56 -0600
  • 36c7389b46 Test Search Actor generating search query from Chat History Debanjum Singh Solanky 2023-03-16 18:14:41 -0600
  • 2600cc9d4d Test Search Actor extracting relative dates & multiple questions Debanjum Singh Solanky 2023-03-16 14:49:35 -0600
  • 45cb510421 Loosen search results score thresold used by chat for more context Debanjum Singh Solanky 2023-03-16 15:39:26 -0600
  • d871e04a81 Use past user messages, inferred questions as context to extract questions Debanjum Singh Solanky 2023-03-16 15:14:47 -0600
  • 1a5d1130f4 Generate search queries from message to answer users chat questions Debanjum Singh Solanky 2023-03-12 18:19:54 -0600
  • d0f14d3f85 Test usage of = in date filter queries Debanjum Singh Solanky 2023-03-16 14:51:40 -0600
  • dfb277ee37 Set skipif at module level if OpenAI API key not set for chat tests Debanjum Singh Solanky 2023-03-16 12:20:33 -0600
  • e75e13d788
    Create Tests to Measure Chat Quality, Capabilities Debanjum 2023-03-16 11:30:52 -0600
  • 4e15b4e411 Create test notes dataset for chat testing Debanjum Singh Solanky 2023-03-15 18:03:05 -0600
  • 1b4d562700 Test Chat Director Capabilities: Answer from notes, chat history etc Debanjum Singh Solanky 2023-03-15 14:52:59 -0600
  • b6d63137f1 Setup Pytest fixture for conversation processor to test chat API Debanjum Singh Solanky 2023-03-15 14:26:19 -0600
  • 3f719c9e17 Rename Chat Model+Prompt tests to chat actor tests Debanjum Singh Solanky 2023-03-15 14:18:08 -0600
  • 7526a50dd4 Extract conversation processor utility funcs from gpt.py into utils.py Debanjum Singh Solanky 2023-03-15 11:42:07 -0600
  • 7c4d546039 Configure tests to mark chat quality tests & filter unhelpful warnings Debanjum Singh Solanky 2023-03-14 18:56:14 -0600
  • c1128a1ad8 Test Chat Actor Capabilities; ability to answer from notes, chat logs etc Debanjum Singh Solanky 2023-03-14 17:44:16 -0600
  • 9306cd901a Clean up chat tests to work with updated chat methods in gpt.py Debanjum Singh Solanky 2023-03-14 11:27:58 -0600
  • 24ddebf3ce Make converse prompt more precise. Fix default arg vals in gpt methods Debanjum Singh Solanky 2023-03-14 19:06:02 -0600
  • 8609e3129e Fix, improve displaying chat messages, sources by Khoj in web interface Debanjum Singh Solanky 2023-03-14 11:24:47 -0600
  • 6c0e82b2d6
    Merge Improve Khoj Chat PR #183 from debanjum/improve-chat-interface Debanjum 2023-03-10 19:03:44 -0600
  • cccd225247 Deduplicate and simplify logic to render chat message with reference Debanjum Singh Solanky 2023-03-10 18:46:47 -0600
  • b9caad458e Type score_threshold with union, not |, to support python <3.10 Debanjum Singh Solanky 2023-03-10 18:18:31 -0600
  • 198d9af8cf Update Readme to reflect Khoj Chat out of Beta Debanjum Singh Solanky 2023-03-10 17:31:59 -0600
  • a71f168273 Move the chat API out of beta. Save chat sessions at 15min intervals Debanjum Singh Solanky 2023-03-10 17:20:52 -0600
  • bcc0bed9db Upgrade bump_version script to handle release and post-release commit Debanjum Singh Solanky 2023-03-10 15:15:08 -0600
  • 8bb8824d0c Bump khoj versions in obsidian, emacs files Debanjum Singh Solanky 2023-03-10 12:13:18 -0600
  • e16d0b6d7e Open references notes used for chat on mobile too (by clicking) Debanjum Singh Solanky 2023-03-09 16:57:00 -0600
  • c3c7b8a951 Make Khoj chat a separate Progressive Web App (PWA) for easier access Debanjum Singh Solanky 2023-03-09 13:43:21 -0600
  • 3838f9d8e3 Remove explicitly asking GPT to say I don't know in prompt for now Debanjum Singh Solanky 2023-03-09 12:11:44 -0600
  • f7b8cdd02e Log prompts being passed to GPT for debugging Debanjum Singh Solanky 2023-03-08 19:17:52 -0600
  • 2739a492b4 Log message metadata along with Khoj message instead of user message Debanjum Singh Solanky 2023-03-08 18:45:13 -0600
  • 87d1e1341d Show reference notes used as response context in chat interface Debanjum Singh Solanky 2023-03-08 18:04:44 -0600
  • 280061e1fa Do not deduplicate search results used for chat context Debanjum Singh Solanky 2023-03-06 23:51:31 -0600
  • 672f61529e Make getting deduped search results configurable via Search API Debanjum Singh Solanky 2023-03-06 23:48:46 -0600
  • 4fb628975c Fix jumping to note from Khoj Obsidian search modal result on Windows 0.4.0 Debanjum Singh Solanky 2023-03-05 21:07:54 -0600
  • b6cdc5c7cb Do not expose answer API as a chat type in chat web interface or API Debanjum Singh Solanky 2023-03-05 17:34:09 -0600
  • 7f994274bb Support multi-turn conversations in chat mode Debanjum Singh Solanky 2023-03-05 16:05:46 -0600
  • d73042426d Support filtering for results above threshold score in search API Debanjum Singh Solanky 2023-03-05 15:43:27 -0600
  • 45f461d175 Keep search results passed to GPT as context in conversation logs Debanjum Singh Solanky 2023-03-05 15:00:20 -0600
  • 7cad1c9428 Only use past chat message, not session summaries as chat context Debanjum Singh Solanky 2023-03-05 14:55:03 -0600
  • ad1f1cf620 Improve and simplify Khoj Chat using ChatGPT Debanjum Singh Solanky 2023-03-04 11:01:49 -0600
  • 9d42b5d60d Use multiple compiled search results for more relevant context to GPT Debanjum Singh Solanky 2023-03-03 13:31:41 -0600
  • c3b624e351 Introduce improved answer API and prompt. Use by default in chat web interface Debanjum Singh Solanky 2023-03-03 12:52:03 -0600
  • 7184508784 Mention Python and Pip need to be installed in Main and Emacs Readme Debanjum Singh Solanky 2023-03-02 21:26:01 -0600
  • 211e460398 Output date filter from cache log at debug level. Remove unused imports Debanjum Singh Solanky 2023-03-02 15:38:09 -0600
  • c823f46d89 Test error on missing fields in ContentConfig pulled from Khoj.yml Debanjum Singh Solanky 2023-03-02 15:35:39 -0600
  • b6dbe4dd1d Do not try retrieve an unconfigured core content type in Config GUI Debanjum Singh Solanky 2023-03-02 11:09:31 -0600
  • 1ae40163a9 Show user friendly information logs by default for context Debanjum Singh Solanky 2023-03-01 15:22:14 -0600
  • fe03ba3dce Index intro text before headings in org files Debanjum Singh Solanky 2023-03-01 12:11:33 -0600
  • ed177db2be Emojify step names in workflows. Stop publishing to TestPyPi from PR Debanjum Singh Solanky 2023-03-01 10:56:39 -0600
  • 7ad251b8ef Log and Continue on OSError while collating dates for date filters Debanjum Singh Solanky 2023-03-01 00:50:51 -0600
  • 2bed4c3b50 Fix configuring search types & /config/types API when no plugin configured Debanjum Singh Solanky 2023-03-01 00:35:21 -0600
  • 8914dbd073 Fix creating GUI panels for unconfigured search, processor types Debanjum Singh Solanky 2023-02-28 23:25:19 -0600
  • e77a5ffc83
    Merge pull request #173 from debanjum/enable-creating-content-plugins Debanjum 2023-02-28 22:23:25 -0600
  • b09350c052 Fix to return only enabled content types via the new config/types API Debanjum Singh Solanky 2023-02-28 22:08:26 -0600
  • b177adf3a7 Return value of search_type in /config/type API endpoint Debanjum Singh Solanky 2023-02-28 21:49:26 -0600
  • ede6eb6879 Re-enable testing search and update API with image content type Debanjum Singh Solanky 2023-02-28 19:31:16 -0600
  • 88a9eadfba Use client pytest fixture to test API with plugin type configured Debanjum Singh Solanky 2023-02-28 19:27:12 -0600
  • ab501a56c9 Create pytest fixture to configure app with plugin, search types Debanjum Singh Solanky 2023-02-28 19:26:06 -0600
  • f944408e69 Update content_config pytest fixture to index plugin content Debanjum Singh Solanky 2023-02-28 19:18:04 -0600
  • 88344f9ed2 Improve rendering search results of plugin content types on web interface Debanjum Singh Solanky 2023-02-24 15:53:58 -0600
  • c2814fce58 Improve rendering search results of plugin content types in khoj.el Debanjum Singh Solanky 2023-02-24 16:16:13 -0600
  • f3f24387ec Use new config/types API to set enabled content types on web interface Debanjum Singh Solanky 2023-02-24 04:08:34 -0600
  • 1e43f1a12e Use new config/types API to set enabled content types in khoj.el menu Debanjum Singh Solanky 2023-02-24 04:01:51 -0600
  • 9d38eadd42 Return enabled content types via api/config/types API endpoint Debanjum Singh Solanky 2023-02-24 04:01:03 -0600
  • 68bd5d9ebc Configure API routes after set up search types while configuring server Debanjum Singh Solanky 2023-02-24 03:06:58 -0600
  • d91c7e2761 Search for plugin content via the search API Debanjum Singh Solanky 2023-02-24 01:32:51 -0600