Commit Graph

  • 93b41170d1 Refresh the conversation log from the db before addressing the next query sabaimran 2024-04-30 13:27:51 +05:30
  • f1545d2b2f Add, fix help link, improve title style in web ui config pages Debanjum Singh Solanky 2024-04-30 05:26:18 +05:30
  • e6da0f9a8c Fix response type of delete client tokens API endpoint Debanjum Singh Solanky 2024-04-30 02:42:42 +05:30
  • 0f4c3518d3 Allow session cookies to be stored with a lax policy for some localhost scenarios sabaimran 2024-04-29 15:48:45 +05:30
  • 5beedc9734 Use Secure proxy ssl header only if no https sabaimran 2024-04-29 15:33:21 +05:30
  • 408f4780ce Add and update documentation for setting up khoj with an openai proxy server or offline llm sabaimran 2024-04-27 20:16:32 +05:30
  • 12258f02d7 Release Khoj version 1.11.1 sabaimran 2024-04-27 18:42:24 +05:30
  • 2047b0c973 Support customization of the OpenAI base url in admin settings (#725) sabaimran 2024-04-27 05:54:35 -07:00
  • 49834e3b00 Add a hero image for the og:image meta tag sabaimran 2024-04-27 17:07:21 +05:30
  • 138f12f957 Fix indentation and revert first run message link styling to all links sabaimran 2024-04-27 09:56:47 +05:30
  • 4395ed8065 Improve extract_questions func. Set message role to user, not assistant Debanjum Singh Solanky 2024-04-26 11:38:46 +05:30
  • 346499f12c Fix, improve args being passed to chat_completion args Debanjum Singh Solanky 2024-04-26 11:36:31 +05:30
  • d8f2eac6e0 Release Khoj version 1.11.0 sabaimran 2024-04-25 17:24:59 +05:30
  • 1842017393 Skip trying to index deleted files, folders from Desktop app Debanjum Singh Solanky 2024-04-25 15:19:59 +05:30
  • 17a06f152c Support Llama 3 and Improve Offline Chat Actors (#724) Debanjum 2024-04-25 14:00:56 +05:30
  • 220e5516ab Make Search Models More Configurable. Upgrade Default Cross-Encoder (#722) Debanjum 2024-04-25 13:55:49 +05:30
  • cf08eaf786 Add comments explaining each field in the search model config in DB Debanjum Singh Solanky 2024-04-25 13:42:46 +05:30
  • 4ee5ac7c20 Fix Chat UI and Indexing on Desktop App (#723) Debanjum 2024-04-24 18:49:03 +05:30
  • 89ef23de50 Upgrade gunicorn and make it only a production dependency Debanjum Singh Solanky 2024-04-24 11:28:55 +05:30
  • 799efb5974 Create DB migration to add new fields and change default cross-encoder Debanjum Singh Solanky 2024-04-24 09:50:34 +05:30
  • ec41482324 Upgrade default cross-encoder to mixedbread ai's mxbai-rerank-xsmall Debanjum Singh Solanky 2024-04-24 09:13:14 +05:30
  • 7eaf9367fe Support more embedding models by making query, docs encoding configurable Debanjum Singh Solanky 2024-04-24 09:02:20 +05:30
  • f2db8d7d99 Fix offline chat actor tests Debanjum Singh Solanky 2024-04-24 00:35:13 +05:30
  • 4f7237b158 Make chat actors generate valid json with more local models Debanjum Singh Solanky 2024-04-23 23:20:43 +05:30
  • a2e4e4bede Add support for Llama 3 in Khoj offline mode Debanjum Singh Solanky 2024-04-23 16:43:34 +05:30
  • 8e77b3dc82 Fix infer_max_tokens func when configured_max_tokens is set to None Debanjum Singh Solanky 2024-04-23 23:29:15 +05:30
  • 8196ab62f9 Make valid file extension checking case insensitive on Desktop app Debanjum Singh Solanky 2024-04-23 11:14:57 +05:30
  • 5def14e3bb Skip indexing non-existent folders on Desktop app Debanjum Singh Solanky 2024-04-23 11:01:20 +05:30
  • cd05f262a6 Pass auth headers to fix lazy load of chat messages on Desktop app Debanjum Singh Solanky 2024-04-23 10:59:49 +05:30
  • 4d5d3e6433 Set chat-message height to height of content in web, desktop Debanjum Singh Solanky 2024-04-23 10:58:04 +05:30
  • 60658a8037 Get rid of enable flag for the offline chat processor config sabaimran 2024-04-23 23:08:29 +05:30
  • ac474fce38 Ensure that the tokenizer and max prompt size are used the wrapper method sabaimran 2024-04-23 21:22:23 +05:30
  • ad59180fb8 Added indication in the desktop UI for back-end connectivity (#711) Olatoyan George 2024-04-23 12:13:48 +01:00
  • 419b044ac5 Use set, inferred max token limits wherever chat models are used (#713) Debanjum 2024-04-23 16:42:35 +05:30
  • abf6f963ea Replaced reinitialize and save all button to a sync button in config.… (#701) AjaySDwivedi1 2024-04-23 07:12:11 -04:00
  • c39c4e4ec4 Improve prompt for online search query generation chat actor Debanjum Singh Solanky 2024-04-22 01:32:11 +05:30
  • 175169c156 Use set, inferred max token limits wherever chat models are used Debanjum Singh Solanky 2024-04-20 10:23:30 +05:30
  • 002cd14a65 Only let agent use online search tool if connected to it Debanjum Singh Solanky 2024-04-20 11:05:28 +05:30
  • 75c9ebbc54 Only show uvicorn debug logs at higher verbosity levels Debanjum Singh Solanky 2024-04-18 01:29:30 +05:30
  • c6d668bacf Bump gunicorn workers per server up to 2 sabaimran 2024-04-18 11:32:51 +05:30
  • c9a8abafa4 Merge pull request #710 from khoj-ai/add-run-with-process-lock-and-fix-edge-cases sabaimran 2024-04-17 01:29:02 -07:00
  • 6de4a4873a Fix image-related client unit test sabaimran 2024-04-17 13:28:48 +05:30
  • 3132430737 Add tests for the db lock sabaimran 2024-04-17 13:22:41 +05:30
  • d11354f9c8 Remove additional references to image content config sabaimran 2024-04-17 13:00:50 +05:30
  • 105dbf49e4 Fix max_duration_in_seconds for the update_embeddings job sabaimran 2024-04-17 13:00:18 +05:30
  • 8e0bae894d Extract run with process lock logic into func. Use for content reindexing Debanjum Singh Solanky 2024-04-16 23:52:16 +05:30
  • e9f608174b Fix access to Khoj admin panel from non HTTPS custom domains Debanjum Singh Solanky 2024-04-17 02:57:30 +05:30
  • 46210695b6 pin version of huggingface hub explicitly to ensure relevant constants are present. Closes #708 sabaimran 2024-04-17 01:09:36 +05:30
  • b0059654c9 Do not create an import error if the resend module is not available sabaimran 2024-04-17 01:00:22 +05:30
  • f04ead7c37 Remove seting up log line for configuring image search sabaimran 2024-04-17 00:45:39 +05:30
  • 0208688801 Increase factor for n_ctx reduciton to 2e6 sabaimran 2024-04-16 22:48:45 +05:30
  • 1f2ffce85b Copy chat message with it's markdown formatting in Web, Desktop apps Debanjum Singh Solanky 2024-04-16 17:36:10 +05:30
  • 91c8b137f1 Add a database lock for jobs that shouldn't be run by multiple workers (#706) sabaimran 2024-04-16 08:59:27 -07:00
  • adb2e8cc5f Check if n is populated before making a comparison sabaimran 2024-04-16 02:05:58 +05:30
  • 6707ccc463 Check before updating "chat" key in meta_log in chat history API endpoint Debanjum Singh Solanky 2024-04-15 21:06:47 +05:30
  • 4e7812fe55 Use Django management cmd to update inline images in DB to/from WebP/PNG Debanjum Singh Solanky 2024-04-15 20:12:12 +05:30
  • 7fab8d6586 Only use chat messages count in history API endpoint when set by client Debanjum Singh Solanky 2024-04-15 19:05:10 +05:30
  • 6b3ef61dd2 Improve Chat Page Load Perf, Offline Chat Perf and Miscellaneous Fixes (#703) Debanjum 2024-04-15 18:34:29 +05:30
  • a352940dfd Use Django management command to update images URL in DB to WebP Debanjum Singh Solanky 2024-04-15 17:44:05 +05:30
  • 7d8e8eb0cf Use Enum to type text-to-image intent of Khoj chat response Debanjum Singh Solanky 2024-04-15 16:44:56 +05:30
  • 128829c477 Show latest msgs on chat session load. Fetch rest as they near viewport Debanjum Singh Solanky 2024-04-15 13:44:01 +05:30
  • 9e5585776c Support getting latest N chat messages via chat history API Debanjum Singh Solanky 2024-04-15 13:59:59 +05:30
  • e5ff85f6fb Start fetching khoj css before icons to reduce time with no styling Debanjum Singh Solanky 2024-04-15 14:14:05 +05:30
  • d5de59d411 Do not assume results key present in notion content when indexing Debanjum Singh Solanky 2024-04-15 08:01:36 +05:30
  • 4977b55106 Use offline chat prompt config to set context window of loaded chat model Debanjum Singh Solanky 2024-04-13 22:15:34 +05:30
  • 689202e00e Update recommended CMAKE flag to enable using CUDA on linux in Docs Debanjum Singh Solanky 2024-04-13 22:11:10 +05:30
  • 148923c13a Fix to raise error on hitting rate limit during Github indexing Debanjum Singh Solanky 2024-04-13 22:09:13 +05:30
  • f24d71c71c Improve the agents UX (#702) sabaimran 2024-04-13 07:41:37 -07:00
  • 78bac4ae05 Add migration script to convert PNG to WebP references in database Debanjum Singh Solanky 2024-04-13 19:06:28 +05:30
  • c6e8443631 Update clients to support rendering webp images inline Debanjum Singh Solanky 2024-04-13 13:11:18 +05:30
  • d21f22ffa1 Store Khoj generated images as webp instead of png for faster loading Debanjum Singh Solanky 2024-04-13 13:03:32 +05:30
  • b820daf38f Makes logs less noisy Debanjum Singh Solanky 2024-04-13 11:22:58 +05:30
  • b8bc6bee83 Always remove loading animation on Desktop app if can't login to server Debanjum Singh Solanky 2024-04-13 11:02:44 +05:30
  • 382507051f Fix get_user_photo to only return photo, not user name from DB Debanjum Singh Solanky 2024-04-13 11:02:06 +05:30
  • f06ec485cb Fix redirect url process for login flow, existing user sabaimran 2024-04-12 17:10:05 +05:30
  • 87b9a93fa1 Update assertion line to match new logic sabaimran 2024-04-12 13:09:19 +05:30
  • b86e68a29d Make it easier to view agents in the admin page sabaimran 2024-04-12 13:02:22 +05:30
  • e58bd0e485 Remove mbox file from list of files expected to be included sabaimran 2024-04-12 12:55:22 +05:30
  • 6634d603a8 Add links for contributors to use in the readme sabaimran 2024-04-12 12:49:12 +05:30
  • 1377a44a1a Suppress debug logs from uvicorn.error to avoid clutter from websockets sabaimran 2024-04-12 12:12:06 +05:30
  • 89b8ec3546 Release Khoj version 1.10.2 Debanjum Singh Solanky 2024-04-12 11:53:32 +05:30
  • 50b4788a91 Remove chat loading animation in login required state on Desktop app Debanjum Singh Solanky 2024-04-12 11:50:02 +05:30
  • b3f4794d91 Remove the unnecessary async/await func chains on Desktop app Debanjum Singh Solanky 2024-04-12 11:49:25 +05:30
  • 1e30a072d4 Just use file ext to identify indexable files to fix Desktop app install Debanjum Singh Solanky 2024-04-12 10:49:58 +05:30
  • 5c7797dbca Only check content type if file extension cannot identify text file Debanjum Singh Solanky 2024-04-12 03:40:42 +05:30
  • 7d2ef728e6 Fix identifying pdf files on server Debanjum Singh Solanky 2024-04-12 02:49:39 +05:30
  • 07f8fb5c5b Release Khoj version 1.10.1 Debanjum Singh Solanky 2024-04-12 02:18:07 +05:30
  • a7d9102c33 Make identifying text, code files with Magika more robust on server Debanjum Singh Solanky 2024-04-12 02:07:32 +05:30
  • 60337086f9 Release Khoj version 1.10.0 Debanjum Singh Solanky 2024-04-12 01:01:02 +05:30
  • 34c3f70203 Index only files with valid text extension in folders synced by Desktop app Debanjum Singh Solanky 2024-04-12 00:53:26 +05:30
  • 9a48f72041 Index more text file types from Desktop, Github (#692) Debanjum 2024-04-12 00:08:29 +05:30
  • 0819b83d0b Fix constructing status update strings for intermediate chat steps Debanjum Singh Solanky 2024-04-11 19:53:09 +05:30
  • d15b9bc272 Tell doc search actor to not generate online queries for doc search Debanjum Singh Solanky 2024-04-11 19:48:03 +05:30
  • 15a78b19ad Improve Inferred Document Search Query Extraction from GPT Debanjum Singh Solanky 2024-04-11 19:21:08 +05:30
  • 653681967e Show inferred document search queries in intermediate chat step on Web app Debanjum Singh Solanky 2024-04-11 19:20:04 +05:30
  • 997741119a Show better intermediate steps when responding to chat via web socket Debanjum Singh Solanky 2024-04-11 17:57:34 +05:30
  • fae7900f19 Remove more sabaimran 2024-04-11 00:27:44 +05:30
  • 5d1dd3e2b7 If resend not enabled, don't send the welcome email sabaimran 2024-04-10 23:52:42 +05:30
  • d2f9c43c8e Use datetime.timezone.utc instead of datetime.utc sabaimran 2024-04-10 23:07:43 +05:30
  • f2dc9709b7 Use Magika to more robustly identify text files to send for indexing Debanjum Singh Solanky 2024-04-09 16:07:18 +05:30