Commit Graph

  • ed364fa90e Track running costs & accuracy of eval runs in progress Debanjum 2024-11-19 01:06:02 -08:00
  • bbd24f1e98 Improve dropdown menus on web app setting page with scroll & min-width Debanjum 2024-11-20 12:22:46 -08:00
  • c53c3db96b Track, return cost and usage metrics in chat api response Debanjum 2024-11-18 18:23:05 -08:00
  • 80df3bb8c4 Enable prompt tracing only when PROMPTRACE_DIR env var set Debanjum 2024-11-20 11:50:55 -08:00
  • 9ab76ccaf1 Skip adding agent to chat metadata when chat unset to avoids null ref Debanjum 2024-11-19 21:08:49 -08:00
  • 4da0499cd7 Stream responses by openai's o1 model series, as api now supports it Debanjum 2024-11-19 21:07:17 -08:00
  • e5347dac8c Fix base image used for prod in docs sabaimran 2024-11-19 15:51:27 -08:00
  • b943069577 Fix button text, and login url in self-hosted auth docs sabaimran 2024-11-19 15:50:13 -08:00
  • 3b5e6a9f4d Update authentication documentation sabaimran 2024-11-19 15:45:43 -08:00
  • 7bdc9590dd Fix handling sources, output in chat actor when is automated task Debanjum 2024-11-19 13:49:27 -08:00
  • 0e7d611a80 Remove ```python codeblock prefix from raw json before deserialize Debanjum 2024-11-19 11:25:12 -08:00
  • 001c13ef43 Upgrade web app package dependencies Debanjum 2024-11-19 12:50:27 -08:00
  • 4f5c1eeded Update some of the open graph data for the documentation website sabaimran 2024-11-19 11:14:46 -08:00
  • 5134d49d71 Release Khoj version 1.30.1 sabaimran 2024-11-18 17:30:33 -08:00
  • 8bdd0b26d3 And a connections clean up decorator to all scheduled tasks sabaimran 2024-11-18 17:19:36 -08:00
  • 817601872f Update default offline models enabled Debanjum 2024-11-18 16:22:32 -08:00
  • 45c623f95c Dedupe, organize chat actor, director tests Debanjum 2024-11-18 16:05:15 -08:00
  • 2a76c69d0d Run online, offine chat actor, director tests for any supported provider Debanjum 2024-11-18 14:19:09 -08:00
  • 653127bf1d Improve data source, output mode selection Debanjum 2024-11-18 12:49:48 -08:00
  • e3fd51d14b Pass user arg to create title from query in new automation flow Debanjum 2024-11-18 10:16:50 -08:00
  • 9e74de9b4f Improve serializing conversation JSON to print messages on console Debanjum 2024-11-18 04:26:27 -08:00
  • 3f70d2f685 Add more graceful exception handling when tool selection doesn't work sabaimran 2024-11-18 09:34:49 -08:00
  • a2ccf6f59f Fix github workflow to start Khoj, connect to PG and upload results Debanjum 2024-11-18 02:26:25 -08:00
  • 7c0fd71bfd Add GitHub workflow to quiz Khoj across modes and specified evals (#982) Debanjum 2024-11-18 02:19:30 -08:00
  • f75085dc7a Release Khoj version 1.30.0 sabaimran 2024-11-17 21:36:22 -08:00
  • c72813ba67 Merge pull request #981 from rznzippy/bugfix/980/database-connections-leakage sabaimran 2024-11-17 21:01:06 -08:00
  • 7d50c6590d Merge pull request #977 from khoj-ai/features/improve-tool-selection sabaimran 2024-11-17 20:08:19 -08:00
  • 282f47e0d6 Add Jina documentation to readme for self-hosting sabaimran 2024-11-17 17:20:28 -08:00
  • 48567fd468 Do not erase partial message when generation stopped via button on web app Debanjum 2024-11-17 16:29:18 -08:00
  • 285006d6c9 Sync chat models in Khoj with OpenAI proxies (e.g Ollama) on startup Debanjum 2024-11-17 14:47:45 -08:00
  • 4a7f5d1abe Set API keys in docker-compose.yml to enable web search, scrape tools Debanjum 2024-11-17 14:34:11 -08:00
  • d6eece63f4 Use Jina API Key of Jina web scraper if configured in DB Debanjum 2024-11-17 14:29:59 -08:00
  • 6531f24ca0 Further improvements for descriptions to LLM on modes, code, diagram, image. sabaimran 2024-11-17 13:23:57 -08:00
  • 0eba6ce315 When diagram generation fails, save to conversation log sabaimran 2024-11-17 13:23:12 -08:00
  • 7e662a05f8 Merge branch 'master' of github.com:khoj-ai/khoj into features/improve-tool-selection sabaimran 2024-11-17 12:26:55 -08:00
  • 00b1af8f99 Fix database connections leakage (#980) Ilya Khrustalev 2024-11-17 19:15:05 +01:00
  • 69ef6829c1 Simplify integrating Ollama, OpenAI proxies with Khoj on first run Debanjum 2024-11-16 23:53:11 -08:00
  • 2366fa08b9 Update default vision supported & anthropic chat models on first run Debanjum 2024-11-16 22:07:11 -08:00
  • 23ab258d78 Improve user conversation config details on Admin panel Debanjum 2024-11-15 11:54:36 -08:00
  • 41d9011a26 Move evaluation script into tests/evals directory Debanjum 2024-11-15 02:07:21 -08:00
  • d9d5884958 Enable evaluating Khoj on the OpenAI SimpleQA bench using eval script Debanjum 2024-11-14 15:55:00 -08:00
  • eb5bc6d9eb Remove Talc search bench from Khoj eval script Debanjum 2024-11-14 15:49:41 -08:00
  • fc45aceecf Delete unused favicon ico in old web app directory Debanjum 2024-11-15 01:57:23 -08:00
  • a16fc3ade8 Only add /research prefix when no slash command in message on web app Debanjum 2024-11-15 01:25:13 -08:00
  • a1b4587b34 Remove extract_images flag from PDF loader sabaimran 2024-11-15 21:46:35 -08:00
  • 15b4cec1e8 Add documentation for how to use the text to image model configs, reduce to Replicate sabaimran 2024-11-15 15:26:14 -08:00
  • 759873ec44 Add documentation for how to use the text to image model configs sabaimran 2024-11-15 15:22:06 -08:00
  • c77dc84a68 Remove output_modes function reference in chat tests sabaimran 2024-11-15 14:03:07 -08:00
  • e3f1ea9dee Improve tool, output mode selection process sabaimran 2024-11-15 13:53:53 -08:00
  • c1a5b32ebf Do not start server when importing the main.py file, unless gunicorn sabaimran 2024-11-14 17:33:19 -08:00
  • be3ee5ec9f Add cool new suggestion cards for math, diagramming sabaimran 2024-11-13 16:43:03 -08:00
  • 9fc44f1a7f Enable evaluation Khoj on the Talc Search Bench using Eval script Debanjum 2024-11-13 20:02:56 -08:00
  • 8e009f48ce Show tool call error in next iteration. Allow rerun if model requests. Debanjum 2024-11-13 20:10:49 -08:00
  • 604da90fa8 Wrap try/catch around online search in research mode like other tools Debanjum 2024-11-13 16:46:09 -08:00
  • 8851b5f78a Standardize chat message truncation and serialization before print Debanjum 2024-11-13 16:30:17 -08:00
  • f4e37209a2 Improve error handling, display and configurability of eval script Debanjum 2024-11-13 03:13:36 -08:00
  • 15b0cfa3dd Improve structured message truncation in logger Debanjum 2024-11-12 21:40:39 -08:00
  • 153ae8bea9 Cut binary, long output files from code result for context efficiency Debanjum 2024-11-12 03:19:58 -08:00
  • de34cc3987 Remove og image url with khoj documentation sabaimran 2024-11-13 10:23:02 -08:00
  • 4a1b1e8b9a Add support for interrupting messages after they've been sent. sabaimran 2024-11-12 22:22:45 -08:00
  • d607ad7a27 Release Khoj version 1.29.1 sabaimran 2024-11-12 10:32:56 -08:00
  • 8ec1764e42 Handle size calculation more gracefully for converted documents, depending on type sabaimran 2024-11-12 02:00:29 -08:00
  • b6714c202f Increase the title character limit to 500 for conversations sabaimran 2024-11-12 01:51:19 -08:00
  • f05e64cf8c Release Khoj version 1.29.0 sabaimran 2024-11-11 21:46:25 -08:00
  • 47d3c8c235 Remove email query parameter from subscription patch api sabaimran 2024-11-11 21:39:49 -08:00
  • d7027109a5 And null handling for response output_files in code output sabaimran 2024-11-11 21:14:56 -08:00
  • d68243a3fb Revert clean_json logic temporarily. Eventually, we should do better validation here to extract markdown-formatted json. sabaimran 2024-11-11 21:05:17 -08:00
  • 1cab6c081f Add better error handling for diagram output, and fix chat history construct sabaimran 2024-11-11 20:44:19 -08:00
  • 7bd2f83f97 Wrap test in suggestionCard sabaimran 2024-11-11 20:12:39 -08:00
  • 48862a8400 Enable Passing External Documents for Analysis in Code Sandbox (#960) Debanjum 2024-11-11 19:37:17 -08:00
  • 5078ac0ce2 Await on conversation save when generate conversation title via API Debanjum 2024-11-11 19:16:12 -08:00
  • e1d0015248 Allow disabling Khoj telemetry via KHOJ_TELEMETRY_DISABLE env var Debanjum 2024-11-11 19:15:30 -08:00
  • a52500d289 Show generated code artifacts before notes and online references Debanjum 2024-11-11 17:30:06 -08:00
  • 218eed83cd Show output file not code on hover. Remove reference card title border Debanjum 2024-11-11 16:59:53 -08:00
  • b970cfd4b3 Align styling of reference panel card across code, docs, web results Debanjum 2024-11-11 15:35:08 -08:00
  • 8e9f4262a9 Render code output files with code references in reference section Debanjum 2024-11-11 00:22:23 -08:00
  • 92c1efe6ee Fixes to render & save code context with non text based output modes Debanjum 2024-11-10 21:03:03 -08:00
  • af0215765c Decode code text output files from b64 to str to ease client processing Debanjum 2024-11-08 17:19:42 -08:00
  • 7b39f2014a Enable analysing user documents in code sandbox and other improvements Debanjum 2024-11-04 16:59:19 -08:00
  • dc109559d4 Research mode gray when off, colored when on sabaimran 2024-11-11 16:35:07 -08:00
  • cdda9c2e73 Improve text wrapping for attached files and preview context sabaimran 2024-11-11 13:32:10 -08:00
  • dd36303bb7 Fix sending file attachments in save_to_conversation method sabaimran 2024-11-11 12:53:06 -08:00
  • ba2471dc02 Do not CRUD on entries, files & conversations in DB for null user (#958) Debanjum 2024-11-11 12:47:22 -08:00
  • 536fe994be Remove unused db adapter methods, like for fact checker data store Debanjum 2024-11-10 17:51:39 -08:00
  • 10bca6fa8f Convert required user param check into decorator. Use with more adapters Debanjum 2024-11-10 17:49:55 -08:00
  • ff5c10c221 Do not CRUD on entries, files & conversations in DB for null user Debanjum 2024-11-04 19:45:28 -08:00
  • 27fa39353e Make custom agent creation flow available to everyone sabaimran 2024-11-11 11:54:59 -08:00
  • b563f46a2e Merge pull request #957 from khoj-ai/features/include-full-file-in-convo-with-filter sabaimran 2024-11-11 11:34:42 -08:00
  • 2bb2ff27a4 Rename attached_files to query_files. Update relevant backend and client-side code. sabaimran 2024-11-11 11:21:26 -08:00
  • 47937d5148 Merge branch 'features/include-full-file-in-convo-with-filter' of github.com:khoj-ai/khoj into features/include-full-file-in-convo-with-filter sabaimran 2024-11-11 09:34:08 -08:00
  • ae4eb96d48 Consolidate file name to icon mapping sabaimran 2024-11-11 09:34:04 -08:00
  • 7954f39633 Use accept param to file input to indicate supported file types in web app Debanjum 2024-11-11 04:06:17 -08:00
  • 4223b355dc Use python stdlib methods to write pdf, docx to temp files for loaders Debanjum 2024-11-11 03:20:35 -08:00
  • fd15fc1e59 Move construct chat history back to it's original position in file Debanjum 2024-11-11 03:23:58 -08:00
  • 35d6c792e4 Show snippet of truncated messages in debug logs to avoid log flooding Debanjum 2024-11-11 02:30:38 -08:00
  • 8805e731fd Merge branch 'master' of github.com:khoj-ai/khoj into features/include-full-file-in-convo-with-filter sabaimran 2024-11-10 19:24:11 -08:00
  • a5e2b9e745 Exit early when running an automation if the conversation for the automation does not exist. sabaimran 2024-11-10 19:22:21 -08:00
  • 55200be4fa Apply agent color fill to the toggle both in off and on states sabaimran 2024-11-10 19:16:43 -08:00
  • 7468f6a6ed Deduplicate online references returned by chat API to clients Debanjum 2024-11-08 14:49:09 -08:00
  • 137687ee49 Deduplicate searches in normal mode & across research iterations Debanjum 2024-11-08 10:43:02 -08:00