Commit Graph

  • 4e1abd1b72 Disable update button while indexing vault in plugin settings Debanjum Singh Solanky 2023-01-11 13:43:43 -03:00
  • 513c86c6a1 Set index file paths relative to current or default path on khoj backend Debanjum Singh Solanky 2023-01-11 13:34:15 -03:00
  • 4407e23c19 Only index current vault on Khoj. Remove plugin setting to configure it Debanjum Singh Solanky 2023-01-11 03:03:22 -03:00
  • 86a1e43605 Return HTTP Exception on /api/update API call failure Debanjum Singh Solanky 2023-01-11 03:01:09 -03:00
  • 5af2b68e2b Update plugin notifications for errors and success Debanjum Singh Solanky 2023-01-11 02:45:50 -03:00
  • 853192932a setCTA on Khoj Obsidian plugin button. Minor cleanup of space, tabs Debanjum Singh Solanky 2023-01-10 23:36:02 -03:00
  • 531d423715 Enhance Search Modal, Error State Handling in Khoj Obsidian Plugin Debanjum 2023-01-10 23:20:32 -03:00
  • da49ea272c Add placeholder text to modal in Khoj Obsidian plugin Debanjum Singh Solanky 2023-01-10 22:50:11 -03:00
  • 580f4aca23 Add hints to Modal for available Keybindings Debanjum Singh Solanky 2023-01-10 22:01:54 -03:00
  • b52cd85c76 Allow Reranking Results using Keybinding from Khoj Search Modal Debanjum Singh Solanky 2023-01-10 21:59:38 -03:00
  • 7991ab7a86 Add button in Obsidian plugin settings to force re-indexing your vault Debanjum Singh Solanky 2023-01-10 19:49:12 -03:00
  • f046a95f3d Track connectedToBackend as a setting. Use it across obsidian plugin Debanjum Singh Solanky 2023-01-10 17:11:56 -03:00
  • 768e874185 Load obsidian plugin even if fail to connect to backend but show warning Debanjum Singh Solanky 2023-01-10 17:03:50 -03:00
  • aa22d83172 Create and use a context manager to time code Debanjum Singh Solanky 2023-01-09 19:43:19 -03:00
  • 93f39dbd43 Add typing to text_search. Reformat code to set existing_embedding Debanjum Singh Solanky 2023-01-09 18:53:23 -03:00
  • db7483329c Only import type hint packages for type checking. Avoids circular imports Debanjum Singh Solanky 2023-01-09 18:37:50 -03:00
  • e5254a8e56 Create BaseEncoder class. Make OpenAI encoder its child. Use for typing Debanjum Singh Solanky 2023-01-09 18:08:37 -03:00
  • cf7400759b Remove unused render_results method from text and image search Debanjum Singh Solanky 2023-01-09 17:32:17 -03:00
  • afcfc3cd62 Split text_search.query logic into separate methods for modularity Debanjum Singh Solanky 2023-01-09 17:26:41 -03:00
  • 8dc6ee8b6c Pass `model' arg to extract_search_type method from beta search API Debanjum Singh Solanky 2023-01-09 16:59:45 -03:00
  • 8498903641 Fix, add typing to Filter and TextSearchModel classes Debanjum Singh Solanky 2023-01-09 16:53:18 -03:00
  • d40076fcd6 Deduplicate test code, make teardown more robust using pytest fixtures Debanjum Singh Solanky 2023-01-09 16:17:36 -03:00
  • eace7c6215 Use torch.tensor as torch.Tensor cannot create tensor on MPS device Debanjum Singh Solanky 2023-01-09 12:49:11 -03:00
  • 9def3f8c6f Add exception handling to beta APIs, in case OpenAI API call fails Debanjum Singh Solanky 2023-01-09 01:27:06 -03:00
  • 7b164de021 Add beta API to summarize top search result using an OpenAI model Debanjum Singh Solanky 2023-01-09 01:14:49 -03:00
  • d36da46f7b Truncate prompt to not exceed OpenAI prompt limit Debanjum Singh Solanky 2023-01-09 00:51:46 -03:00
  • 237123d18c Fix tests for the conversation processor Debanjum Singh Solanky 2023-01-09 00:09:24 -03:00
  • 918af5e6f8 Make OpenAI conversation model configurable via khoj.yml Debanjum Singh Solanky 2023-01-09 00:08:03 -03:00
  • 7e05389776 Quote all values passed to input-filter fields in sample yaml files Debanjum Singh Solanky 2023-01-08 22:40:18 -03:00
  • 0440f3fd57 Add encoder-type field to the search-type sections in khoj_sample.yml Debanjum Singh Solanky 2023-01-08 22:07:13 -03:00
  • 8b8e202ab3 Set input-filter to list in khoj_docker.yml and khoj_sample.yml Debanjum Singh Solanky 2023-01-08 21:08:00 -03:00
  • 74e779f8d0 Fix /beta/chat API to use Entry class instead of old dictionary pattern Debanjum Singh Solanky 2023-01-08 15:26:31 -03:00
  • f2436039a0 Improve readability of GPT prompt strings in conversation processor Debanjum Singh Solanky 2023-01-08 12:04:56 -03:00
  • 1c091e509b Make Encoder Type Configurable. Allow using OpenAI Model for Search Debanjum 2023-01-08 11:10:25 -03:00
  • 6119005838 Improve comments, exceptions, typing and init of OpenAI model code Debanjum Singh Solanky 2023-01-07 21:56:00 -03:00
  • c0ae8eee99 Allow using OpenAI models for search in Khoj Debanjum Singh Solanky 2023-01-07 17:08:59 -03:00
  • 826f9dc054 Drop long words from compiled entries to be within max token limit of models Debanjum Singh Solanky 2023-01-07 16:59:33 -03:00
  • 6a30a13326 Only create model directory if the optional field is set in SearchConfig Debanjum Singh Solanky 2023-01-06 16:57:59 -03:00
  • 2fe37a090f Make type of encoder to use for embeddings configurable via khoj.yml Debanjum Singh Solanky 2023-01-06 15:58:03 -03:00
  • fa92adcf0d Add Visualization of Codebase to Readme under Development Section Debanjum Singh Solanky 2023-01-05 20:07:00 -03:00
  • 8c7ffd7aee Add Readme doc to fix failure to build tokenizer dependency Debanjum Singh Solanky 2023-01-05 20:09:36 -03:00
  • d55d7d53dc Fix GPU usage by Khoj on Macs to speed up search and indexing Debanjum Singh Solanky 2023-01-05 15:10:34 -03:00
  • 7380518f24 Upgrade PyTorch, Pillow version to resolve Dependabot Security Advisories Debanjum Singh Solanky 2023-01-05 15:09:06 -03:00
  • abd035e2fa Merge PR #112 to fix quote usage in khoj.el docstring from suliveevil/master Debanjum 2023-01-05 13:24:11 -03:00
  • 1dc1472c55 In publish workflow, make twine upload verbose to troubleshoot Debanjum Singh Solanky 2023-01-05 12:56:46 -03:00
  • e792523849 Bump version in metadata packages for khoj, khoj.el and obsidian plugin Debanjum Singh Solanky 2023-01-05 12:50:27 -03:00
  • b2812b409f fix docstring usage warning suliveevil 2023-01-05 16:47:38 +08:00
  • 3d1199540c Update the publish workflow to also run on any tag push Debanjum Singh Solanky 2023-01-04 20:46:48 -03:00
  • 4842daca5f Run releases workflow on pushing any tag. 'v' prefix not required Debanjum Singh Solanky 2023-01-04 20:27:56 -03:00
  • 47015ee6cc Fold Demo video descriptions, analysis by default in main Readme Debanjum Singh Solanky 2023-01-04 20:07:32 -03:00
  • da17ff6ac8 Add Upgrade instructions for Khoj.el Readme. Fix version of khoj.el Debanjum Singh Solanky 2023-01-04 20:06:39 -03:00
  • 65917eb5c9 Create Obsidian plugin for Khoj Debanjum 2023-01-04 20:02:42 -03:00
  • 3dd69f7505 Add Upgrade instructions for Obsidian, Emacs to main Readme Debanjum Singh Solanky 2023-01-04 19:50:26 -03:00
  • 0e39e0ff71 Add details about the Khoj Obsidian plugin to the main Readme Debanjum Singh Solanky 2023-01-04 18:42:53 -03:00
  • cd8b918a55 Add manifest.json, versions.json of Obsidian plugin to project root Debanjum Singh Solanky 2023-01-04 16:31:11 -03:00
  • 66ccd0c970 Create Obsidian plugin for Khoj Debanjum Singh Solanky 2023-01-04 15:50:51 -03:00
  • e5ef7789fc Add screenshot of Khoj as PWA on Android Homescreen to Readme Debanjum Singh Solanky 2023-01-04 15:38:57 -03:00
  • feddb6ce62 Add start_url to khoj webmanifest to show Khoj as PWA on Chrome Debanjum Singh Solanky 2023-01-04 13:37:56 -03:00
  • 5ca60a2df7 Add How to Access Khoj on Mobile instructions to Readme Debanjum Singh Solanky 2023-01-04 13:33:31 -03:00
  • 3dee1aed9e Create /config/data/default API endpoint to serve default khoj config Debanjum Singh Solanky 2023-01-03 21:44:03 -03:00
  • ce945f7a90 Configure processors too on calling /update API Debanjum Singh Solanky 2023-01-03 21:42:50 -03:00
  • 9d31988f42 Allow starting khoj in non-GUI mode without config file instantiated Debanjum Singh Solanky 2023-01-03 21:36:59 -03:00
  • 52664dd96c Allow recursive glob pattern (**) to add files to search index Debanjum Singh Solanky 2023-01-03 01:32:58 -03:00
  • 152e5f1661 Return the file of each search result in response Debanjum Singh Solanky 2023-01-03 01:25:34 -03:00
  • fe1398401d Automatically update search index hourly Debanjum 2023-01-02 00:37:59 +00:00
  • c535953915 Update index automatically in non GUI mode too Debanjum Singh Solanky 2023-01-01 20:48:13 -03:00
  • 701d92e17b Lock the index before updating it via API or Scheduler Debanjum Singh Solanky 2023-01-01 16:40:47 -03:00
  • 3b0783aab9 Automate updating embeddings, search index on a hourly schedule Debanjum Singh Solanky 2023-01-01 16:22:35 -03:00
  • a58c243bc0 Document using Word, Date and File Query Filter in Readme Debanjum Singh Solanky 2022-12-26 16:12:49 -03:00
  • 06c25682c9 Split text entries by max tokens supported by ML models Debanjum 2022-12-26 18:23:43 +00:00
  • 17fa123b4e Split entries by max tokens while converting Beancount entries To JSONL Debanjum Singh Solanky 2022-12-26 15:14:32 -03:00
  • f209e30a3b Split entries by max tokens while converting Markdown entries To JSONL Debanjum Singh Solanky 2022-12-26 13:14:15 -03:00
  • 24676f95d8 Fix comments, use minimal test case, regenerate test index, merge debug logs Debanjum Singh Solanky 2022-12-25 21:45:40 -03:00
  • b283650991 Deduplicate results for user query by raw text before returning results Debanjum Singh Solanky 2022-12-23 19:01:39 -03:00
  • 53cd2e5605 Regenerate initial model in asymmetric reload test to reduce flakyness Debanjum Singh Solanky 2022-12-23 16:18:22 -03:00
  • c79919bd68 Split entries by max tokens while converting Org entries To JSONL Debanjum Singh Solanky 2022-12-23 15:52:02 -03:00
  • 08dc5e3324 Update instructions in khoj.el to install it from MELPA stable Debanjum Singh Solanky 2022-12-23 19:08:38 -03:00
  • e057c8e208 Add method to split entries by specified max tokens limit Debanjum Singh Solanky 2022-12-23 15:45:53 -03:00
  • d3e175370f Update readme to install khoj.el from MELPA stable unless using pre-release khoj Debanjum Singh Solanky 2022-12-20 23:21:34 -03:00
  • cd463c5085 Update Khoj.el Install Instructions on Emacs Debanjum Singh Solanky 2022-12-20 11:06:33 -03:00
  • 23ca5a2d43 Improve (un-)quoting of funcs used in `khoj--get-enabled-content-types' Debanjum Singh Solanky 2022-12-19 18:02:23 -03:00
  • 5db3a67df5 Fix Khoj Emacs package URL in khoj.el Debanjum Singh Solanky 2022-12-14 22:47:07 -03:00
  • abad6d5f44 Declare external khoj.el funcs. Remove undefined func warnings on install Debanjum Singh Solanky 2022-12-14 22:31:52 -03:00
  • 2e5ac5bf22 Bump Khoj to version 0.2.1. It's the current version in development Debanjum Singh Solanky 2022-12-04 09:09:34 -03:00
  • c52383b11c Delete stale, unused installation helper script Debanjum Singh Solanky 2022-12-03 13:36:47 -03:00
  • 676de2372e Update instructions to install Khoj using Conda Debanjum Singh Solanky 2022-12-03 13:32:50 -03:00
  • 1990d09032 Bump khoj version in setup.py, khoj.el to 0.2.0 Debanjum Singh Solanky 2022-12-02 14:57:37 -03:00
  • a9cfd8b800 Extract hash func for incremental text indexing into separate method Debanjum Singh Solanky 2022-10-26 12:13:46 +05:30
  • 0de2ff9c97 Add __init__.py to routers directory to register it as a package Debanjum Singh Solanky 2022-10-25 20:40:40 +05:30
  • 55d2fea9be Move Custom Formatter class for logger to util.helper module from main.py Debanjum Singh Solanky 2022-10-20 00:26:23 +05:30
  • 5ed17ccbd7 Modularize, Improve API. Formalize Intermediate Text Content Format. Add Type Checking Debanjum 2022-10-19 11:23:04 +00:00
  • 1c40f97114 Merge branch 'master' of github.com:debanjum/khoj into modularize-api-and-increase-typing Debanjum Singh Solanky 2022-10-19 16:46:53 +05:30
  • e1b5a87920 Rename Frontend Router to Web Client. Fix logger usage in routers Debanjum Singh Solanky 2022-10-19 16:15:57 +05:30
  • 4abd51cb04 Merge pull request #99 from telotortium/method Debanjum 2022-10-19 10:31:37 +00:00
  • 74f32eedb8 Remove Exiftool Dependency. Ignore legacy model warning on app start Debanjum 2022-10-08 14:57:58 +00:00
  • c467df8fa3 Setup `mypy' for static type checking Debanjum Singh Solanky 2022-10-08 17:33:13 +03:00
  • d292bdcc11 Do not version API. Premature given current state of the codebase Debanjum Singh Solanky 2022-10-08 13:16:08 +03:00
  • 2c548133f3 Remove unused imports, `embeddings' variable from text search tests Debanjum Singh Solanky 2022-09-16 00:06:21 +03:00
  • 7e9298f315 Use new Text Entry class to track text entries in Intermediate Format Debanjum Singh Solanky 2022-09-15 23:34:43 +03:00
  • 99754970ab Type the /search API response to better document the response schema Debanjum Singh Solanky 2022-09-15 13:57:20 +03:00