Commit Graph

  • 8e1445b15b Use agent_id for getting correct agent sabaimran 2024-03-11 14:44:46 +05:30
  • 6ab649312f Add a new web client route for viewing all agents sabaimran 2024-03-11 14:40:40 +05:30
  • 352168d6c2 Customize default behaviors for conversations without agents or with default agents sabaimran 2024-03-11 14:20:28 +05:30
  • 9b88976f36 Initial pass at backend changes to support agents - Add a db model for Agents, attaching them to conversations - When an agent is added to a conversation, override the system prompt to tweak the instructions - Agents can be configured with prompt modification, model specification, a profile picture, and other things - Admin-configured models will not be editable by individual users - Add unit tests to verify agent behavior. Unit tests demonstrate imperfect adherence to prompt specifications sabaimran 2024-03-11 12:45:24 +05:30
  • 1da453306e Add num online for Discord badge sabaimran 2024-03-10 17:48:30 +05:30
  • 18fa3e2384 Rerank Search Results by Default on GPU machines (#668) Debanjum 2024-03-10 15:15:25 +05:30
  • 53d402480c Rerank search results with cross-encoder when using an inference server Debanjum Singh Solanky 2024-03-10 12:25:19 +05:30
  • 44c8d09342 Only call search API when pause in typing search query on web, desktop apps Debanjum Singh Solanky 2024-03-09 17:53:04 +05:30
  • 1105d8814f Use cross-encoder to rerank search results by default on GPU machines Debanjum Singh Solanky 2024-02-14 18:37:53 +05:30
  • 8eb3c441ec Do not create new chat session when an old chat session is deleted (#669) Debanjum 2024-03-10 14:14:43 +05:30
  • fd81446ba3 Do not create new chat session when an old chat session is deleted Debanjum Singh Solanky 2024-03-09 19:59:30 +05:30
  • b7fad04870 Use consistent field name for queries in chat history & better image prompt Debanjum Singh Solanky 2024-03-09 18:57:47 +05:30
  • 086d5f8324 Add link to drag drop pdf demo video sabaimran 2024-03-09 17:02:23 +05:30
  • 6aae9864d3 Fix Notion indexing and add an admin view for Entry objects sabaimran 2024-03-09 16:25:23 +05:30
  • b3b6278af2 Update documentation to show how you can upload files sabaimran 2024-03-09 15:58:13 +05:30
  • 12d6c4da7d Only include inferred queries in the conversation history for images, not links. Overflow the side panel when too long sabaimran 2024-03-09 11:59:22 +05:30
  • 42d4bc6b14 Document installing Khoj on Phone as a Progressive Web App (PWA) Debanjum Singh Solanky 2024-03-08 21:13:48 +05:30
  • e5cd0237e3 Release Khoj version 1.6.2 sabaimran 2024-03-08 17:04:03 +05:30
  • 446ac7649d Remove unused js method in web chat client, add newline to web data in prompt Debanjum Singh Solanky 2024-03-08 11:03:32 +05:30
  • 12d32ac99c Increase user visibility into more errors during image generation Debanjum Singh Solanky 2024-03-07 09:47:01 +05:30
  • ff31759423 Fix target determination in the copy programmatic output button sabaimran 2024-03-08 16:33:12 +05:30
  • 9f934929c6 Infer mime type from file ending when not available in browser. Don't output image in conversation turns sabaimran 2024-03-08 12:34:26 +05:30
  • 81beb7940c Upload generated images to s3, if AWS credentials and bucket is available (#667) sabaimran 2024-03-08 10:54:13 +05:30
  • 13894e1fd5 add instructions for drag/drop files in sys prompt sabaimran 2024-03-07 17:57:42 +05:30
  • 7357b6eff1 Revert white-space preline and add more detailed help text when selecting file sabaimran 2024-03-06 16:47:27 +05:30
  • b615c0719e Support upload for files via drag/drop in the web UI (#666) sabaimran 2024-03-06 16:43:05 +05:30
  • e323a6d69b Include additional user context in the image generation flow (#660) sabaimran 2024-03-06 13:48:41 +05:30
  • 3cbc5b0d52 Add links to blog in docs sabaimran 2024-03-02 17:37:18 +05:30
  • 880368635e Set default value of KHOJ_DEBUG to False in the docker-compose file sabaimran 2024-03-01 21:16:57 +05:30
  • 2d61591c22 Improve user visibility into errors during image generation Debanjum Singh Solanky 2024-02-29 13:19:13 +05:30
  • 0bbb5cff85 Release Khoj version 1.6.1 sabaimran 2024-02-26 13:27:20 -08:00
  • c8194a7364 Make out of space errors in the desktop client more obvious sabaimran 2024-02-26 11:53:36 -08:00
  • 956dd71d91 Clean entry before adding to DB and log when it fails Debanjum Singh Solanky 2024-02-27 00:34:16 +05:30
  • bb613a8e1d Make indentation styling more compact on Obsidian client Debanjum Singh Solanky 2024-02-25 14:40:58 +05:30
  • 682b70011f Set chat body height to remove UX jitter on chat history load in Web, Desktop Debanjum Singh Solanky 2024-02-25 14:10:54 +05:30
  • efe86ce159 Fix saved conversation logger to handle image responses Debanjum Singh Solanky 2024-02-25 13:46:32 +05:30
  • 4839f2901a Open external links in Desktop app with default app for url on OS Debanjum Singh Solanky 2024-02-25 03:52:06 +05:30
  • 170bce2c02 Fix, Improve rendering images in Obsidian, Desktop, Web clients (#659) Debanjum 2024-02-25 00:56:26 +05:30
  • f84606325c Improve render of inferred query in image chat messages in Web, Desktop apps Debanjum Singh Solanky 2024-02-25 00:39:58 +05:30
  • a2e53d5e41 Add inferred queries to image chat responses in Obsidian client Debanjum Singh Solanky 2024-02-25 00:24:58 +05:30
  • 9b61f0b5f7 Fix rendering images from Khoj response in Obsidian client Debanjum Singh Solanky 2024-02-25 00:11:11 +05:30
  • b9d0533d92 Misc. fixes to prompting, admin, and others (#658) sabaimran 2024-02-24 10:25:42 -08:00
  • 0e0e751ef7 Improve docstring of entrypoint function to the emacs client Debanjum Singh Solanky 2024-02-24 21:09:41 +05:30
  • 8855529637 Improve Syncing Obsidian Vault, Invalidate Static Assets in Browser Cache in Web Client (#657) Debanjum 2024-02-24 20:20:30 +05:30
  • a46f70c4b0 Remove deprecated lastSyncedFiles settings field from Obsidian client Debanjum Singh Solanky 2024-02-24 20:18:22 +05:30
  • 03a6b491b2 Warn when can't identify mimeType of files in Desktop, Obsidian clients Debanjum Singh Solanky 2024-02-24 19:59:03 +05:30
  • 3675ab4864 Only sync modified files from the Obsidian client Debanjum Singh Solanky 2024-02-24 03:01:27 +05:30
  • ddfbf31bc8 Append version query param to web asset URLs to bypass browser cache Debanjum Singh Solanky 2024-02-24 06:47:11 +05:30
  • 42773e808c Retrieve, create, and save conversations differently for ClientApplications (#656) sabaimran 2024-02-23 11:32:00 -08:00
  • 9afb2a14ef Fix and Improve Chat UI in Web, Desktop apps (#655) Debanjum 2024-02-23 19:27:02 +05:30
  • c70ca78cdc Improve PWA install experience for Khoj on Desktop, Mobile Debanjum Singh Solanky 2024-02-23 18:29:31 +05:30
  • e10b260988 Update web login screen to show frosted minimal chat UI in background Debanjum Singh Solanky 2024-02-23 18:25:53 +05:30
  • 1b0318564e Log when conversation turn is saved to DB Debanjum Singh Solanky 2024-02-22 21:47:10 +05:30
  • 4c39960917 Make number of conversation starters to get from DB configurable Debanjum Singh Solanky 2024-02-22 20:16:22 +05:30
  • 50617594fd Only show 3 starter questions even when consecutive chat sessions created Debanjum Singh Solanky 2024-02-22 20:11:03 +05:30
  • 102f5c3f53 Improve styling of chat session side panel Debanjum Singh Solanky 2024-02-22 20:04:26 +05:30
  • 6283d9fe83 Update Khoj cloud trial period to a fortnight instead of a week Debanjum Singh Solanky 2024-02-21 19:58:00 +05:30
  • 05c1903784 Fix creating new chat sessions from the Desktop app Debanjum Singh Solanky 2024-02-21 19:35:06 +05:30
  • 8a219b6e9c Improve styling of chat message bubble in Desktop, Web app Debanjum Singh Solanky 2024-02-21 19:27:52 +05:30
  • b4902090e7 Misc. chat and application improvements (#652) sabaimran 2024-02-22 19:09:22 -08:00
  • 57dce91c91 Document using venv to handle dependency conflict on khoj pip install Debanjum Singh Solanky 2024-02-21 19:11:23 +05:30
  • 7271164256 Set chat session title to textContent of the chat session HTML element Debanjum Singh Solanky 2024-02-21 19:49:16 +05:30
  • f8ec6b4464 Remove backslash for default route in api_chat sabaimran 2024-02-20 20:09:44 -08:00
  • 699545366b Set gunicorn config to use 4 workers sabaimran 2024-02-20 15:06:20 -08:00
  • b1c86fee3b Release Khoj version 1.6.0 sabaimran 2024-02-20 14:12:24 -08:00
  • 45c5a2598d Temp - change gunicorn config to use a single worker sabaimran 2024-02-20 13:56:51 -08:00
  • 44f8f20ea7 Miscellaneous bugs and fixes for chat sessions (#646) sabaimran 2024-02-20 13:55:35 -08:00
  • 138f5223bd Fix process for generating embeddings for Notion entries (#648) sabaimran 2024-02-20 13:46:56 -08:00
  • 43013c4fd4 Make Production Dependencies for Khoj Cloud Optional to Install (#647) Debanjum 2024-02-16 17:42:23 +05:30
  • 4696577636 Upgrade python dependencies Debanjum Singh Solanky 2024-02-14 17:32:47 +05:30
  • 4007c871ae Remove unused git dependency from Docker images Debanjum Singh Solanky 2024-02-14 17:12:53 +05:30
  • e21a8530f3 Move used python packages for test into dev dependency group Debanjum Singh Solanky 2024-02-14 15:57:32 +05:30
  • 4722da9642 Only enable API token, Whatsapp cards on Web UI when Stripe, Twilio setup Debanjum Singh Solanky 2024-02-14 15:51:42 +05:30
  • cf4a524988 Move production dependencies to prod python packages group Debanjum Singh Solanky 2024-02-14 15:20:27 +05:30
  • d7dbb715ef Fix docs links in khoj introductory chat message Debanjum Singh Solanky 2024-02-13 22:38:03 +05:30
  • 32ec54172e Add additional personalization in Chat via Location, Username (#644) sabaimran 2024-02-13 03:35:13 -08:00
  • a3eb17b7d4 Have Khoj dynamically select conversation command(s) in chat (#641) sabaimran 2024-02-11 03:41:32 -08:00
  • 69344a6aa6 Add support for multiple chat sessions in the desktop application (#639) sabaimran 2024-02-11 02:35:28 -08:00
  • 1412ed6a00 Support multiple chat sessions within the web UI (#638) sabaimran 2024-02-11 02:18:28 -08:00
  • 208ccc83ec Fix version of gpt4all to 2.1.0 as it's not backwards compatible sabaimran 2024-02-10 09:32:04 +05:30
  • 70f74cde68 Fix timestamps to separate each logline. Info log response start time Debanjum Singh Solanky 2024-02-07 20:45:16 +05:30
  • 667b975400 Free space on Github workflow VM to build Khoj docker images Debanjum Singh Solanky 2024-02-06 23:37:51 +05:30
  • 8e5db72140 Release Khoj version 1.5.1 Debanjum Singh Solanky 2024-02-06 23:09:33 +05:30
  • fc1b8f6fb6 Fix Khoj Obsidian plugin on Obsidian Mobile (#635) Debanjum 2024-02-06 22:03:51 +05:30
  • c6fa98ce3e Make Offline Chat Date Aware (#636) Debanjum 2024-02-06 21:32:34 +05:30
  • fd238ff792 Load chat history after other elements in chat modal on Obsidian rendered Debanjum Singh Solanky 2024-02-06 02:55:50 +05:30
  • e06a0c6ae0 Scroll to bottom of chat modal on Obsidian across mobile & desktop Debanjum Singh Solanky 2024-02-06 02:53:15 +05:30
  • 07dc04f40e Allow calls to Khoj server from Obsidian mobile app to fix CORS issue Debanjum Singh Solanky 2024-02-06 01:50:48 +05:30
  • dd4cf66be1 Improve offline chat system prompt to think step by step Debanjum Singh Solanky 2024-02-05 20:18:14 +05:30
  • 035165b534 Make offline chat model current date aware. Improve system prompts Debanjum Singh Solanky 2024-02-05 19:58:42 +05:30
  • 447904f0ab Chat stream using default fetch' not node-fetch' in obsidian plugin Debanjum Singh Solanky 2024-02-05 17:38:37 +05:30
  • 0d949140f4 Fix actor, director tests using freeze time by ignoring transformers package Debanjum Singh Solanky 2024-02-05 20:02:54 +05:30
  • c40f642afa Move Use OpenAI Compatible LLM Server section to existing advanced page Debanjum Singh Solanky 2024-02-04 15:49:46 +05:30
  • 523af5b3aa Fix docs. Chat model options need to be set if using OpenAI proxy server Debanjum Singh Solanky 2024-02-03 23:59:00 +05:30
  • ba79334863 Only log number of day old user requests, not the complete dictionary Debanjum Singh Solanky 2024-02-02 10:33:31 +05:30
  • 474afa5efe Document using OpenAI-compatible LLM API server for Khoj chat Debanjum Singh Solanky 2024-02-02 10:31:27 +05:30
  • 1c6f1d94f5 Fix styling of Whatsapp card & notify banner in config page of web app Debanjum Singh Solanky 2024-02-01 22:26:44 +05:30
  • e05474e7e0 Say when max-prompt, tokenizer fields needs setup in self-host docs Debanjum Singh Solanky 2024-01-31 08:42:22 +05:30
  • 4daac334bc Fix subscription state detection for users based on phone numbers, emails (#633) sabaimran 2024-01-30 18:18:55 -08:00
  • fc4b57d9f6 Revert styling for white-space pre-line in the chat views as it looks bad sabaimran 2024-01-29 18:29:54 +05:30