khoj 1.27.2.dev29__py3-none-any.whl → 1.28.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. khoj/configure.py +1 -1
  2. khoj/database/adapters/__init__.py +50 -12
  3. khoj/interface/compiled/404/index.html +1 -1
  4. khoj/interface/compiled/_next/static/chunks/1034-da58b679fcbb79c1.js +1 -0
  5. khoj/interface/compiled/_next/static/chunks/1467-b331e469fe411347.js +1 -0
  6. khoj/interface/compiled/_next/static/chunks/1603-c1568f45947e9f2c.js +1 -0
  7. khoj/interface/compiled/_next/static/chunks/3423-f4b7df2f6f3362f7.js +1 -0
  8. khoj/interface/compiled/_next/static/chunks/8423-da57554315eebcbe.js +1 -0
  9. khoj/interface/compiled/_next/static/chunks/app/chat/page-d8f4c107ad78e9e9.js +1 -0
  10. khoj/interface/compiled/_next/static/chunks/app/factchecker/page-1cc42ee55f89fb2e.js +1 -0
  11. khoj/interface/compiled/_next/static/chunks/app/{page-4dc472cf6d674004.js → page-07e54186b066f5ce.js} +1 -1
  12. khoj/interface/compiled/_next/static/chunks/app/share/chat/{page-eb9e282691858f2e.js → page-db775d42e820afb2.js} +1 -1
  13. khoj/interface/compiled/_next/static/chunks/{webpack-2b720658ccc746f2.js → webpack-8f2abab7b11aa120.js} +1 -1
  14. khoj/interface/compiled/_next/static/css/{2272c73fc7a3b571.css → 26c1c33d0423a7d8.css} +1 -1
  15. khoj/interface/compiled/_next/static/css/a795ee88875f4853.css +25 -0
  16. khoj/interface/compiled/agents/index.html +1 -1
  17. khoj/interface/compiled/agents/index.txt +2 -2
  18. khoj/interface/compiled/automations/index.html +1 -1
  19. khoj/interface/compiled/automations/index.txt +2 -2
  20. khoj/interface/compiled/chat/index.html +1 -1
  21. khoj/interface/compiled/chat/index.txt +2 -2
  22. khoj/interface/compiled/factchecker/index.html +1 -1
  23. khoj/interface/compiled/factchecker/index.txt +2 -2
  24. khoj/interface/compiled/index.html +1 -1
  25. khoj/interface/compiled/index.txt +2 -2
  26. khoj/interface/compiled/search/index.html +1 -1
  27. khoj/interface/compiled/search/index.txt +2 -2
  28. khoj/interface/compiled/settings/index.html +1 -1
  29. khoj/interface/compiled/settings/index.txt +2 -2
  30. khoj/interface/compiled/share/chat/index.html +1 -1
  31. khoj/interface/compiled/share/chat/index.txt +2 -2
  32. khoj/processor/conversation/anthropic/anthropic_chat.py +14 -10
  33. khoj/processor/conversation/anthropic/utils.py +13 -2
  34. khoj/processor/conversation/google/gemini_chat.py +15 -11
  35. khoj/processor/conversation/offline/chat_model.py +18 -10
  36. khoj/processor/conversation/openai/gpt.py +11 -8
  37. khoj/processor/conversation/openai/utils.py +7 -0
  38. khoj/processor/conversation/prompts.py +156 -49
  39. khoj/processor/conversation/utils.py +146 -13
  40. khoj/processor/embeddings.py +4 -4
  41. khoj/processor/tools/online_search.py +13 -7
  42. khoj/processor/tools/run_code.py +144 -0
  43. khoj/routers/api.py +6 -6
  44. khoj/routers/api_chat.py +193 -112
  45. khoj/routers/helpers.py +107 -48
  46. khoj/routers/research.py +320 -0
  47. khoj/search_filter/date_filter.py +1 -3
  48. khoj/search_filter/file_filter.py +1 -2
  49. khoj/search_type/text_search.py +3 -3
  50. khoj/utils/helpers.py +24 -2
  51. khoj/utils/yaml.py +4 -0
  52. {khoj-1.27.2.dev29.dist-info → khoj-1.28.0.dist-info}/METADATA +2 -2
  53. {khoj-1.27.2.dev29.dist-info → khoj-1.28.0.dist-info}/RECORD +61 -58
  54. khoj/interface/compiled/_next/static/chunks/1603-5138bb7c8035d9a6.js +0 -1
  55. khoj/interface/compiled/_next/static/chunks/2697-61fcba89fd87eab4.js +0 -1
  56. khoj/interface/compiled/_next/static/chunks/3423-0b533af8bf6ac218.js +0 -1
  57. khoj/interface/compiled/_next/static/chunks/9479-ff7d8c4dae2014d1.js +0 -1
  58. khoj/interface/compiled/_next/static/chunks/app/chat/page-97f5b61aaf46d364.js +0 -1
  59. khoj/interface/compiled/_next/static/chunks/app/factchecker/page-d82403db2866bad8.js +0 -1
  60. khoj/interface/compiled/_next/static/css/76d55eb435962b19.css +0 -25
  61. /khoj/interface/compiled/_next/static/{atzIseFarmC7TIwq2BgHC → cC7ahn2y_DddSVovjlztj}/_buildManifest.js +0 -0
  62. /khoj/interface/compiled/_next/static/{atzIseFarmC7TIwq2BgHC → cC7ahn2y_DddSVovjlztj}/_ssgManifest.js +0 -0
  63. /khoj/interface/compiled/_next/static/chunks/{1970-60c96aed937a4928.js → 1970-d44050bf658ae5cc.js} +0 -0
  64. /khoj/interface/compiled/_next/static/chunks/{9417-2ca87207387fc790.js → 9417-0d0fc7eb49a86abb.js} +0 -0
  65. /khoj/interface/compiled/_next/static/chunks/app/settings/{page-7a8c382af2a7e870.js → page-10b288c103f19468.js} +0 -0
  66. {khoj-1.27.2.dev29.dist-info → khoj-1.28.0.dist-info}/WHEEL +0 -0
  67. {khoj-1.27.2.dev29.dist-info → khoj-1.28.0.dist-info}/entry_points.txt +0 -0
  68. {khoj-1.27.2.dev29.dist-info → khoj-1.28.0.dist-info}/licenses/LICENSE +0 -0