Commit Graph

  • 126d3f4563 Render each file, folder to index row with icon in desktop app Debanjum Singh Solanky 2023-11-03 00:16:11 -07:00
  • 80ae132cad Update Desktop, Obsidian client color theme to lighter yellow Debanjum Singh Solanky 2023-11-03 00:14:07 -07:00
  • fb6ebd19fc Fix refactor bugs, CSRF token issues for use in production (#531) sabaimran 2023-11-02 23:02:38 -07:00
  • 345856e7be Merge branch 'master' of github.com:khoj-ai/khoj into features/multi-user-support-khoj Debanjum Singh Solanky 2023-11-02 22:44:25 -07:00
  • 041074ccd6 Make chat the landing page for the desktop app Debanjum Singh Solanky 2023-11-02 20:40:35 -07:00
  • 3801105b2a Make chat the landing page for the web app Debanjum Singh Solanky 2023-11-02 20:35:43 -07:00
  • 0d4e7d46c2 Fix color and size of profile picture circle in nav pane Debanjum Singh Solanky 2023-11-02 20:08:16 -07:00
  • 4fbe8ac6b1 Console log a welcome message on loading web client Debanjum Singh Solanky 2023-11-02 19:46:12 -07:00
  • 9fc6c97139 Use Khoj standard font family, weight in web client settings page Debanjum Singh Solanky 2023-11-02 16:41:19 -07:00
  • b6f07099cd Simplify login page styling on web client Debanjum Singh Solanky 2023-11-02 16:38:08 -07:00
  • 7b7f6d3bc8 Update web client theme to a lighter Debanjum Singh Solanky 2023-11-02 15:55:25 -07:00
  • fe860aaf83 Merge branch 'features/multi-user-support-khoj' of github.com:khoj-ai/khoj into features/multi-user-support-khoj sabaimran 2023-11-02 14:56:01 -07:00
  • 2c9496bcf1 Add additional null checks in the migrate_server_pg script sabaimran 2023-11-02 14:55:58 -07:00
  • 20df0f5330 Use url_path_for for creating the login page URL in the application sabaimran 2023-11-02 14:55:14 -07:00
  • fd11b78552 Fix migration script error when openai not available (#530) sabaimran 2023-11-02 11:28:08 -07:00
  • fe6720fa06 [Multi-User Part 8]: Make conversation processor settings server-wide (#529) sabaimran 2023-11-02 10:43:27 -07:00
  • 0fb81189ca [Multi-User Part 7]: Improve Sign-In UX & Rename DB Models for Readability (#528) Debanjum 2023-11-01 18:05:20 -07:00
  • 12b3eeae9e Use Khoj fonts on config page of web and desktop apps too Debanjum Singh Solanky 2023-11-01 17:50:50 -07:00
  • 022d695309 Switch to narrow view below width of 700px on web client Debanjum Singh Solanky 2023-11-01 16:39:11 -07:00
  • 6a0adfbfbb Default to profile picture with Initial if user has no profile picture Debanjum Singh Solanky 2023-11-01 16:26:39 -07:00
  • 354605e73e Autofocus to chat input when openning chat (#524) Tuan Nguyen 2023-11-02 06:09:45 +07:00
  • d92a2d03a7 Rename Files, Classes from X_To_JSONL to more appropriate X_To_Entries Debanjum Singh Solanky 2023-11-01 14:51:33 -07:00
  • 2ad2055bcb Remove user null check in API controllers that require authentication Debanjum Singh Solanky 2023-11-01 12:58:36 -07:00
  • 7ac5a4766d Match spacing of navigation header pane in config vs search/chat pages Debanjum Singh Solanky 2023-11-01 12:55:05 -07:00
  • 2e3a4a6a9b Use Jinja macro to deduplicate navigation header HTML Debanjum Singh Solanky 2023-11-01 12:48:36 -07:00
  • c631b61a81 Put colors shared by index, chat html into khoj css global variables Debanjum Singh Solanky 2023-11-01 02:03:58 -07:00
  • f585a71744 Put logout, settings under dropdown menu with logged in user's profile picture Debanjum Singh Solanky 2023-11-01 01:59:36 -07:00
  • 58a7171911 Show truncated API key for identification & restrict table width Debanjum Singh Solanky 2023-10-31 23:10:26 -07:00
  • 9cebd7f856 Add emoji icons to Search, Chat, Settings items in nav menu of Web client Debanjum Singh Solanky 2023-10-31 22:38:44 -07:00
  • f77336ba61 Add key icon for API keys table in Web client config page Debanjum Singh Solanky 2023-10-31 19:01:09 -07:00
  • 87e6b1eab9 Rename TextEmbeddings to TextEntries for improved readability Debanjum Singh Solanky 2023-10-31 18:55:59 -07:00
  • bcbee05a9e Rename DbModels Embeddings, EmbeddingsAdapter to Entry, EntryAdapter Debanjum Singh Solanky 2023-10-31 18:50:54 -07:00
  • 54a387326c [Multi-User Part 6]: Address small bugs and upstream PR comments (#518) sabaimran 2023-10-31 17:59:53 -07:00
  • 5f3f6b7c61 [Multi-User Part 5]: Add a production Docker file and use a gunicorn configuration with it (#514) sabaimran 2023-10-26 13:15:31 -07:00
  • 9acc722f7f [Multi-User Part 4]: Authenticate using API Tokens (#513) Debanjum 2023-10-26 12:33:03 -07:00
  • 4b6ec248a6 [Multi-User Part 3]: Separate chat sesssions based on authenticated users (#511) sabaimran 2023-10-26 11:37:41 -07:00
  • a8a82d274a [Multi-User Part 2]: Add login pages and gate access to application behind login wall (#503) sabaimran 2023-10-26 10:17:29 -07:00
  • 216acf545f [Multi-User Part 1]: Enable storage of settings for plaintext files based on user account (#498) sabaimran 2023-10-26 09:42:29 -07:00
  • 9677eae791 Expose CLI flag to disable using GPU for offline chat model Debanjum Singh Solanky 2023-10-25 17:51:46 -07:00
  • 5bb14a05a0 Update system requirements in docs for offline chat models Debanjum Singh Solanky 2023-10-22 18:43:02 -07:00
  • 0f1ebcae18 Upgrade to latest GPT4All. Use Mistral as default offline chat model Debanjum Singh Solanky 2023-10-22 18:16:02 -07:00
  • 6dc0df3afb Pin pytorch version to 2.0.1 in order to avoid exit code 139 in Docker container (#512) sabaimran 2023-10-20 14:10:21 -07:00
  • 963cd165eb Resolve merge conflicts sabaimran 2023-10-19 14:39:05 -07:00
  • e3f8a95784 Update emacs.md (#510) Simon Butler 2023-10-19 21:28:08 +02:00
  • d93395ae48 Set >=6Gb RAM required for offline chat Debanjum 2023-10-18 12:05:54 -07:00
  • 8346e1193c Release Khoj version 0.13.0 Debanjum Singh Solanky 2023-10-18 03:43:16 -07:00
  • 6631fc38db Delete plaintext config via API. Catch any offline model loading exception Debanjum Singh Solanky 2023-10-18 03:23:17 -07:00
  • 53abd1a506 Mark sync completed on desktop client, even when no files to send Debanjum Singh Solanky 2023-10-18 01:00:41 -07:00
  • 71b0012e8c Set offline chat config to default value if unset on server load Debanjum Singh Solanky 2023-10-18 00:59:43 -07:00
  • cf1cdc3fe1 Disambiguate input_filter variable names in fs_syncer functions Debanjum Singh Solanky 2023-10-17 23:30:45 -07:00
  • e3cd8b4150 Only index files returned by input-filter globs in fs_syncer Debanjum Singh Solanky 2023-10-17 22:59:10 -07:00
  • 51363d280d Do not configure khoj server for pull based indexing from khoj.el Debanjum Singh Solanky 2023-10-17 21:44:54 -07:00
  • d9d133dfb9 Read text files as utf-8, instead of default os locale Debanjum Singh Solanky 2023-10-17 21:31:15 -07:00
  • 3d4576ae38 Fix encoding binary files for sync from the Desktop, Obsidian client (#506) Debanjum 2023-10-17 15:37:22 -07:00
  • c8293998d9 Fix encoding binary files like PDFs for sync from Obsidian client Debanjum Singh Solanky 2023-10-17 15:07:05 -07:00
  • ba60c869c9 Fix encoding binary files like PDFs for sync from Desktop client sabaimran 2023-10-17 13:05:50 -07:00
  • 3d7381446d Changed globbing. Now doesn't clobber a users glob if they want to a… (#496) Andrew Spott 2023-10-17 12:26:06 -06:00
  • 2646c8554d Provide a default value to offline_chat configuration of the conversation processor sabaimran 2023-10-17 10:35:13 -07:00
  • b8976426eb Update offline chat model config schema used by Emacs, Obsidian clients Debanjum Singh Solanky 2023-10-17 06:30:20 -07:00
  • ecc6fbfeb2 Push Files to Index from Emacs, Obsidian & Desktop Clients using Multi-Part Forms (#499) Debanjum 2023-10-17 06:05:15 -07:00
  • 7b1c62ba53 Mark test_get_configured_types_via_api unit test as flaky Debanjum Singh Solanky 2023-10-17 05:55:39 -07:00
  • 6a4f1b2188 Add more client, request details in logs by index/update API endpoint Debanjum Singh Solanky 2023-10-17 05:31:57 -07:00
  • 5efae1ad55 Update indexer API endpoint query params for force, content type Debanjum Singh Solanky 2023-10-17 04:42:04 -07:00
  • 84654ffc5d Update indexer API endpoint URL to index/update from indexer/batch Debanjum Singh Solanky 2023-10-17 04:30:27 -07:00
  • e347823ff4 Log telemetry for index updates via push to API endpoint Debanjum Singh Solanky 2023-10-17 04:09:33 -07:00
  • 05be6bd877 Clicking Update Index in Obsidian settings should push files to index Debanjum Singh Solanky 2023-10-17 03:27:41 -07:00
  • 13a3122bf3 Stop configuring server to pull files to index from Obsidian client Debanjum Singh Solanky 2023-10-17 03:23:25 -07:00
  • 99a2c934a3 Add CORS policy to allow requests from khoj apps, obsidian & localhost Debanjum Singh Solanky 2023-10-17 02:54:18 -07:00
  • 541cd59a49 Let fs_syncer pass PDF files directly as binary before indexing Debanjum Singh Solanky 2023-10-17 02:41:16 -07:00
  • d27dc71dfe Use encoding of each file set in indexer request to read file Debanjum Singh Solanky 2023-10-17 02:37:20 -07:00
  • 8e627a5809 Pass any files to be deleted to indexer API via Khoj Obsidian plugin Debanjum Singh Solanky 2023-10-17 02:51:54 -07:00
  • f2e293a149 Push Vault files to index to Khoj server using Khoj Obsidian plugin Debanjum Singh Solanky 2023-10-17 02:17:44 -07:00
  • 6baaaaf91a Test request body of multi-part form to update content index from khoj.el Debanjum Singh Solanky 2023-10-16 23:54:32 -07:00
  • 79b3f8273a Make khoj.el send files to be deleted from index to server Debanjum Singh Solanky 2023-10-16 23:53:02 -07:00
  • 5dc399b32e Document system requirements to run offline chat Debanjum Singh Solanky 2023-10-16 19:39:06 -07:00
  • f64fa06e22 Initialize the Khoj Transient menu on first run instead of load Debanjum Singh Solanky 2023-10-13 18:48:26 -07:00
  • b4949f7f0b Improve Offline Chat Model Experience (#494) Debanjum 2023-10-16 17:44:49 -07:00
  • 644c3b787f Scale no. of chat history messages to use as context with max_prompt_size Debanjum Singh Solanky 2023-10-16 11:15:38 -07:00
  • 90e1d9e3d6 Pin gpt4all to 1.0.12 as next version will introduce breaking changes Debanjum Singh Solanky 2023-10-16 10:57:16 -07:00
  • 1a9023d396 Update Chat Actor test to not incept with prior world knowledge Debanjum Singh Solanky 2023-10-15 17:22:44 -07:00
  • df1d74a879 Use max_prompt_size, tokenizer from config for chat model context stuffing Debanjum Singh Solanky 2023-10-15 16:33:26 -07:00
  • 116595b351 Use chat_model specified in new offline_chat section of config Debanjum Singh Solanky 2023-10-15 14:24:28 -07:00
  • feb4f17e3d Update chat config schema. Make max_prompt, chat tokenizer configurable Debanjum Singh Solanky 2023-10-15 14:19:29 -07:00
  • c125995d94 [Multi-User]: Part 0 - Add support for logging in with Google (#487) sabaimran 2023-10-14 19:39:13 -07:00
  • 247e75595c Use AutoTokenizer to support more tokenizers Debanjum Singh Solanky 2023-10-14 16:54:52 -07:00
  • ff2dbadc9d Use computed plaintext_content to set file content rather than calling f.read again Saba 2023-10-14 13:28:34 -07:00
  • 1ad8b150e8 Add default tokenizer, max_prompt as fallback for non-default offline chat models Debanjum Singh Solanky 2023-10-13 22:26:59 -07:00
  • 56bd69d5af Improve Llama v2 extract questions actor and associated prompt Debanjum Singh Solanky 2023-10-04 20:42:25 -07:00
  • 09bb3686cc Strip the incoming query from the slash conversation command (#500) sabaimran 2023-10-13 21:11:23 -07:00
  • 96c0b21285 Sync desktop app package.json with other Khoj clients metadata Debanjum Singh Solanky 2023-10-13 20:22:33 -07:00
  • 80fb56b8a5 Sync deksktop app package version with the other releases sabaimran 2023-10-13 19:23:00 -07:00
  • b669aa2395 Clean and fix the content indexing code in the Emacs client Debanjum Singh Solanky 2023-10-13 18:00:37 -07:00
  • bea196aa30 Explicitly make GET request to /config/data from khoj.el:khoj-server-configure method Debanjum Singh Solanky 2023-10-12 20:40:39 -07:00
  • 292f0420ad Send content for indexing on server at a regular interval from khoj.el Debanjum Singh Solanky 2023-10-12 20:32:41 -07:00
  • bed3aff059 Update tests to test multi-part/form method of pushing files to index Debanjum Singh Solanky 2023-10-12 16:16:51 -07:00
  • fc99431754 Send files to index on server from the khoj.el emacs client Debanjum Singh Solanky 2023-10-11 22:45:29 -07:00
  • 68018ef397 Use multi-part form to send files to index on desktop client Debanjum Singh Solanky 2023-10-11 18:12:12 -07:00
  • 7190b3811d Remove all filter terms in user query from defiltered_query Debanjum Singh Solanky 2023-10-12 20:45:22 -07:00
  • 72f8fde7ef Run pytests in parallel on multiple CPU cores using pytest-xdist for speed Debanjum Singh Solanky 2023-10-12 16:19:48 -07:00
  • 60e9a61647 Use multi-part form to receive files to index on server Debanjum Singh Solanky 2023-10-11 17:14:15 -07:00