Commit Graph

  • d1fe6353b5 Check whether processor_config exists during shutdown event Saba 2022-08-04 21:57:36 -04:00
  • 4d4d2ff921 Ensure all org entries are unfolded in results buffer on Emacs Debanjum Singh Solanky 2022-08-05 04:44:39 +03:00
  • 49ef741d4b Prevent Zoom on Input in Web Interface. Document Pip upgrade in Readme Debanjum Singh Solanky 2022-08-05 03:51:34 +03:00
  • 675e821d95 Make embeddings, jsonl paths absolute. Create directories if non-existent Debanjum Singh Solanky 2022-08-05 02:51:49 +03:00
  • d5b43eb836 Use input filter in image search setup. Input filter wasn't used earlier Debanjum Singh Solanky 2022-08-05 01:24:21 +03:00
  • ca5a8bd113 Make config file a positional argument, as it is required Debanjum Singh Solanky 2022-08-05 00:24:12 +03:00
  • a3b35fbb6e Update Readme to Install Khoj using Pip by Default Debanjum Singh Solanky 2022-08-04 23:32:32 +03:00
  • 1374065092 Mark all required fields for config. Throw if no input_* field specified Debanjum Singh Solanky 2022-08-04 23:26:31 +03:00
  • f78d6ae754 Create khoj_sample file with all configurable fields in one place Debanjum Singh Solanky 2022-08-04 22:57:35 +03:00
  • 4788143aa6 Set clip model name in conftest to sentence-tranformers/clip as well Debanjum Singh Solanky 2022-08-04 22:54:39 +03:00
  • 3abf3e5ee0 Update merge_dicts to recursively merge the dictionaries Debanjum Singh Solanky 2022-08-04 22:46:20 +03:00
  • a876b652d8 Rename khoj_sample.yml to more specific khoj_docker.yml Debanjum Singh Solanky 2022-08-04 22:40:16 +03:00
  • f50f343f73 Rename org-mode test data directory to more specific org/ from notes/ Debanjum Singh Solanky 2022-08-04 22:29:57 +03:00
  • 61c26ba611 Only show large Khoj favicon on web interface Debanjum Singh Solanky 2022-08-04 14:07:06 +03:00
  • 1649fa644c Autofocus on Query field in Web Interface. Improve time to query Debanjum Singh Solanky 2022-08-04 05:20:02 +03:00
  • 8646dc0de1 Add publish badge to Readme. Link badges to their workflow pages Debanjum Singh Solanky 2022-08-04 05:18:50 +03:00
  • 496806452f Use Pip to setup Khoj in Docker, Github Workflows. Publish to PyPi Automatically Debanjum 2022-08-04 05:09:26 +03:00
  • ebaf5524d1 Bump khoj patch version in setup.py Debanjum Singh Solanky 2022-08-04 04:45:20 +03:00
  • 50575b283c Reorder publish actions by order of importance in publish workflow Debanjum Singh Solanky 2022-08-04 04:40:35 +03:00
  • c3ae3cb021 Publish to (Test) PyPi with PEP440 Compliant Version Numbers Debanjum Singh Solanky 2022-08-04 04:15:16 +03:00
  • 89044c70bd Publish to Test PyPI on Push to PR or Master Branch Debanjum Singh Solanky 2022-08-04 03:49:32 +03:00
  • 4bc5ac2420 Add pre-release version to package and upload to TestPyPI Debanjum Singh Solanky 2022-08-04 03:18:51 +03:00
  • b3ebb01beb Disable image search for now as unable to load CLIP model Debanjum Singh Solanky 2022-08-04 02:20:45 +03:00
  • b2beff6a0e Only run build workflow on publish to master. Not on pull request Debanjum Singh Solanky 2022-08-04 02:20:05 +03:00
  • 84adf0c568 Use published docker image to run khoj service using docker-compose Debanjum Singh Solanky 2022-08-04 02:17:01 +03:00
  • ee65809dc6 Update Dockerfile to use Pip instead of Conda to install application Debanjum Singh Solanky 2022-08-03 23:00:20 +03:00
  • 7a353066dd Improve name, stages in Github Workflows for Publish and Test Debanjum Singh Solanky 2022-08-03 22:37:16 +03:00
  • f55eaf0a53 Remove comma in command to pip install multiple packages Debanjum Singh Solanky 2022-08-03 22:01:18 +03:00
  • ee3eddb044 Create Workflow to Publish Application to (test) PyPI Debanjum Singh Solanky 2022-08-03 21:57:27 +03:00
  • 34296031c4 Name test workflow. Check if exiftool is even required for pytests Debanjum Singh Solanky 2022-08-03 21:50:20 +03:00
  • 92016eb49c Update pip package to include icons, exclude docs Debanjum Singh Solanky 2022-08-03 21:49:36 +03:00
  • e76930b320 Set minimum python version to 3.8 as required by dependencies Debanjum Singh Solanky 2022-08-03 21:47:53 +03:00
  • 5d391fdcbe Just use Python version 3.10 in test Github Workflow Debanjum Singh Solanky 2022-08-03 20:25:15 +03:00
  • d42203d29e Fix --upgrade flag to pip install command in Test Github Workflow Debanjum Singh Solanky 2022-08-03 20:20:34 +03:00
  • f9a10ad5ee Use pip (not conda) to install khoj, run pytest in Github Workflow Debanjum Singh Solanky 2022-08-03 20:00:37 +03:00
  • 71fcb1087f Add icons for web interface to render on more browsers and as PWA Debanjum Singh Solanky 2022-08-03 17:26:23 +03:00
  • 5b6b7ec123 Delete khoj network connections on incremental search teardown on Emacs interface Debanjum Singh Solanky 2022-08-03 15:14:34 +03:00
  • 555c1088cc Cache queries in /search controller using LRU cache Debanjum Singh Solanky 2022-08-03 14:46:44 +03:00
  • 38df727ef4 Fix escape sequence usage in strings. Remove unneeded import of os Debanjum Singh Solanky 2022-08-03 14:00:30 +03:00
  • a4eb55dd00 Rename khoj config yml file to follow more specific khoj*.yml pattern Debanjum Singh Solanky 2022-08-03 12:06:55 +03:00
  • 48681644e9 Git ignore application config.yml. This is specific to a user Debanjum Singh Solanky 2022-08-03 11:57:43 +03:00
  • c96bc03f58 Trigger github build, test on updates to setup.py Debanjum Singh Solanky 2022-08-03 11:56:40 +03:00
  • f642450ed9 Disable Incremental Search for Images on Web Debanjum Singh Solanky 2022-08-03 11:52:51 +03:00
  • 26b50471b7 Upgrade pillow to fix dependabot security advisory Debanjum Singh Solanky 2022-08-03 00:33:29 +03:00
  • 1295ba90c3 Publish Khoj on PyPi Debanjum 2022-08-03 00:29:49 +03:00
  • b9e6273644 Include interfaces in pip package. Fix paths to web interface in app Debanjum Singh Solanky 2022-08-03 00:02:39 +03:00
  • 765e10bc2c Prepare Khoj for PyPi. Include Readme in dist, Fix metadata in setup.py Debanjum Singh Solanky 2022-08-02 22:26:31 +03:00
  • d57bd41019 Add Instruction to Install, Run Khoj via Pip to Readme #Development Debanjum Singh Solanky 2022-08-02 21:12:27 +03:00
  • 1b55462fb0 Convert search_filter, conversation dir to proper modules Debanjum Singh Solanky 2022-08-02 20:23:42 +03:00
  • 006a2aef57 Create setup.py to setup Khoj python application Debanjum Singh Solanky 2022-08-02 20:23:05 +03:00
  • 5108d45951 Wrap application startup steps into a method Debanjum Singh Solanky 2022-08-02 20:13:14 +03:00
  • 0ebfbb43ce Nest org, md results at level 2 on Emacs interface. Improve readability Debanjum Singh Solanky 2022-08-01 03:54:35 +03:00
  • dbc7ca74c9 Minor cleanup of Readme. Move demo to docs/ directory Debanjum 2022-08-01 02:46:44 +03:00
  • bcaf86f25a Minor updates to Readme Debanjum Singh Solanky 2022-08-01 02:42:48 +03:00
  • f54f414893 Move demo video to docs/ directory to keep project root clean Debanjum Singh Solanky 2022-08-01 02:41:54 +03:00
  • 0797e9cef8 Run github workflows only when relevant paths are modified Debanjum Singh Solanky 2022-08-01 02:30:23 +03:00
  • 06499da0c3 Align Config Web UI Code Layout, API with the rest of the application Debanjum 2022-08-01 01:53:21 +03:00
  • 1201bfddf3 Simplify name of config css from config-style.css to config.css Debanjum Singh Solanky 2022-08-01 01:34:00 +03:00
  • 075dba5d64 Use Khoj Title, Favicon in Config Page for Consistency Debanjum Singh Solanky 2022-08-01 01:27:14 +03:00
  • 56a4429f01 Move web interface to configure application into src/interface/web directory Debanjum Singh Solanky 2022-08-01 00:47:41 +03:00
  • bb2ccec1ca Populate type dropdown on the web interface with only enabled search types Debanjum 2022-08-01 00:20:45 +03:00
  • 8b6058c879 Fix instantiating type field with value from URL query parameter Debanjum Singh Solanky 2022-08-01 00:03:52 +03:00
  • 7d7259bd92 Remove tests that validate configuring org using commandline arguments Debanjum Singh Solanky 2022-07-31 23:35:29 +03:00
  • be253bab39 Populate type dropdown with only enabled search types in web interface Debanjum Singh Solanky 2022-07-31 23:07:40 +03:00
  • 0abd40aeb7 Only set query field when appropriate query param passed via URL Debanjum Singh Solanky 2022-07-31 22:29:23 +03:00
  • 17c38b526a Default config for each search types to None Debanjum Singh Solanky 2022-07-31 22:14:20 +03:00
  • b83021a723 Improve code readability of merge_dicts helper method Debanjum Singh Solanky 2022-07-31 22:07:56 +03:00
  • 38aede68f2 Only configure org via config file for consistency across search types Debanjum Singh Solanky 2022-07-31 22:02:03 +03:00
  • b55159f5bd Fix URL for khoj.el quelpa setup instructions Saba 2022-07-29 23:01:04 -04:00
  • da118b3fed Simplify incremental search function used in web interface Debanjum Singh Solanky 2022-07-29 23:18:01 +04:00
  • 3079614981 Allow set up of search form via query params in web interface Debanjum Singh Solanky 2022-07-29 23:13:26 +04:00
  • 02ca2c05a1 Add Eagle Icon for Khoj to Web, Emacs Interfaces and Readme Debanjum Singh Solanky 2022-07-29 17:50:29 +04:00
  • 8290ef2a60 Convert Readme to Markdown from Org as better support on Github Debanjum Singh Solanky 2022-07-29 17:06:34 +04:00
  • 78314263a0 Add Table of Contents, Features, Performance Details to Readme Debanjum Singh Solanky 2022-07-29 16:37:04 +04:00
  • 2d0d85cfda Add Incremental Search Demo to Readme Debanjum 2022-07-28 18:40:15 -07:00
  • ed181f47c9 Prettify rendering of org music results on Khoj web interface Debanjum Singh Solanky 2022-07-29 04:28:22 +04:00
  • 7e5291a38e Make org result headings at same level. Improve spacing of results Debanjum Singh Solanky 2022-07-29 01:48:47 +04:00
  • 4d5183063c Create images directory if doesn't exist, to store image search results Debanjum Singh Solanky 2022-07-28 21:30:31 +04:00
  • a29af70de5 Prettify Render of Markdown results on Web Interface Debanjum 2022-07-28 10:13:40 -07:00
  • a9bc17a6b0 Prettify Render of Markdown Results in Web Interface Debanjum Singh Solanky 2022-07-28 20:56:37 +04:00
  • a6ae74f52e Move JS files like org.js into a separate assets/ directory Debanjum Singh Solanky 2022-07-28 20:46:48 +04:00
  • a12eaa4ce0 Move Khoj image results into a child images/ directory Debanjum Singh Solanky 2022-07-28 20:45:12 +04:00
  • a71253e137 Support Incremental Search on Web Interface Debanjum 2022-07-28 09:31:57 -07:00
  • 8a4ae75897 Support Incremental Search in Khoj Debanjum 2022-07-28 09:10:50 -07:00
  • e8029bf415 Extract and Highlight org-mode tags in HTML render of search results Debanjum Singh Solanky 2022-07-28 19:50:55 +04:00
  • c6c248df26 Improve styling of org-mode results to original alignment, line breaks Debanjum Singh Solanky 2022-07-28 19:11:27 +04:00
  • 9f59897eeb Highlight all org-mode task states in HTML. Not just TODO, DONE. Debanjum Singh Solanky 2022-07-28 19:04:42 +04:00
  • f040b3f65c Stylize TODO/DONE states with CSS Debanjum Singh Solanky 2022-07-28 06:42:57 +04:00
  • 581b6097c7 Clean Results. Remove TOC, Heading Number and Property Drawers Debanjum Singh Solanky 2022-07-28 05:55:10 +04:00
  • 965a93a2f2 Add Basic HTML Rendering of Org-Mode Results Debanjum Singh Solanky 2022-07-28 05:29:26 +04:00
  • 1da44d4dfe Add Incremental Search to Khoj Web Interface Debanjum Singh Solanky 2022-07-28 04:31:24 +04:00
  • af1dd31401 Do not pass verbose argument to image_search.query() as not supported Debanjum Singh Solanky 2022-07-28 04:32:34 +04:00
  • 80ac10835c Rerank results on normal minibuffer exit Debanjum Singh Solanky 2022-07-28 03:37:16 +04:00
  • 1b759597df Make incremental search more robust. Follow standard user expectations Debanjum Singh Solanky 2022-07-27 20:08:37 +04:00
  • 9a6eee31be Make number of results to get from Khoj API customizable in khoj.el Debanjum Singh Solanky 2022-07-27 18:55:18 +04:00
  • 9302b45fe0 Use khoj-incremental as the main khoj func. Rename khoj to khoj-simple Debanjum Singh Solanky 2022-07-27 18:18:17 +04:00
  • 09727ac3be Make bi-encoder return fewer results to reduce cross-encoder latency Debanjum Singh Solanky 2022-07-27 07:26:02 +04:00
  • 9ab3edf6d6 Re-rank incremental search results using cross-encoder if user idle Debanjum Singh Solanky 2022-07-27 06:58:36 +04:00
  • ad242cafa7 Support querying all text search types in incremental search Debanjum Singh Solanky 2022-07-27 06:13:04 +04:00
  • bfcb962cbe Use post-command-hook to only query on user input Debanjum Singh Solanky 2022-07-27 05:41:22 +04:00