khoj 1.26.2__py3-none-any.whl → 1.26.5.dev34__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 (89) hide show
  1. khoj/configure.py +3 -3
  2. khoj/database/adapters/__init__.py +40 -8
  3. khoj/database/migrations/0070_alter_agent_input_tools_alter_agent_output_modes.py +46 -0
  4. khoj/database/migrations/0071_subscription_enabled_trial_at_and_more.py +32 -0
  5. khoj/database/models/__init__.py +8 -3
  6. khoj/interface/compiled/404/index.html +1 -1
  7. khoj/interface/compiled/_next/static/chunks/1210.132a7e1910006bbb.js +1 -0
  8. khoj/interface/compiled/_next/static/chunks/1279-f37ee4a388ebf544.js +1 -0
  9. khoj/interface/compiled/_next/static/chunks/1459.690bf20e7d7b7090.js +1 -0
  10. khoj/interface/compiled/_next/static/chunks/1603-b9d95833e0e025e8.js +1 -0
  11. khoj/interface/compiled/_next/static/chunks/1970-1d6d0c1b00b4f343.js +1 -0
  12. khoj/interface/compiled/_next/static/chunks/2697-61fcba89fd87eab4.js +1 -0
  13. khoj/interface/compiled/_next/static/chunks/3423-8e9c420574a9fbe3.js +1 -0
  14. khoj/interface/compiled/_next/static/chunks/394-6bcb8c429f168f21.js +3 -0
  15. khoj/interface/compiled/_next/static/chunks/4602-8eeb4b76385ad159.js +1 -0
  16. khoj/interface/compiled/_next/static/chunks/5512-94c7c2bbcf58c19d.js +1 -0
  17. khoj/interface/compiled/_next/static/chunks/7113-f2e114d7034a0835.js +1 -0
  18. khoj/interface/compiled/_next/static/chunks/{4086-2c74808ba38a5a0f.js → 8840-b8d7b9f0923c6651.js} +1 -1
  19. khoj/interface/compiled/_next/static/chunks/9417-759984ad62caa3dc.js +1 -0
  20. khoj/interface/compiled/_next/static/chunks/9479-4b443fdcc99141c9.js +1 -0
  21. khoj/interface/compiled/_next/static/chunks/94ca1967.5584df65931cfe83.js +1 -0
  22. khoj/interface/compiled/_next/static/chunks/964ecbae.ea4eab2a3a835ffe.js +1 -0
  23. khoj/interface/compiled/_next/static/chunks/app/agents/page-2beaba7c9bb750bd.js +1 -0
  24. khoj/interface/compiled/_next/static/chunks/app/automations/{page-5480731341f34450.js → page-9b5c77e0b0dd772c.js} +1 -1
  25. khoj/interface/compiled/_next/static/chunks/app/chat/page-151232d8417a1ea1.js +1 -0
  26. khoj/interface/compiled/_next/static/chunks/app/factchecker/{page-e7b34316ec6f44de.js → page-798904432c2417c4.js} +1 -1
  27. khoj/interface/compiled/_next/static/chunks/app/{page-10a5aad6e04f3cf8.js → page-db4e38a5255af7ad.js} +1 -1
  28. khoj/interface/compiled/_next/static/chunks/app/search/{page-d56541c746fded7d.js → page-ab2995529ece3140.js} +1 -1
  29. khoj/interface/compiled/_next/static/chunks/app/settings/page-3e9cf5ed5ace4310.js +1 -0
  30. khoj/interface/compiled/_next/static/chunks/app/share/chat/page-6a01e07fb244c10c.js +1 -0
  31. khoj/interface/compiled/_next/static/chunks/webpack-313247d7eb764923.js +1 -0
  32. khoj/interface/compiled/_next/static/css/{c808691c459e3887.css → 3cf13271869a4aeb.css} +1 -1
  33. khoj/interface/compiled/_next/static/css/76d55eb435962b19.css +25 -0
  34. khoj/interface/compiled/_next/static/css/{3e1f1fdd70775091.css → 80bd6301fc657983.css} +1 -1
  35. khoj/interface/compiled/_next/static/css/{2de69f0be774c768.css → b70402177a7c3207.css} +1 -1
  36. khoj/interface/compiled/agents/index.html +1 -1
  37. khoj/interface/compiled/agents/index.txt +2 -2
  38. khoj/interface/compiled/automations/index.html +1 -1
  39. khoj/interface/compiled/automations/index.txt +2 -2
  40. khoj/interface/compiled/chat/index.html +1 -1
  41. khoj/interface/compiled/chat/index.txt +2 -2
  42. khoj/interface/compiled/factchecker/index.html +1 -1
  43. khoj/interface/compiled/factchecker/index.txt +2 -2
  44. khoj/interface/compiled/index.html +1 -1
  45. khoj/interface/compiled/index.txt +2 -2
  46. khoj/interface/compiled/search/index.html +1 -1
  47. khoj/interface/compiled/search/index.txt +2 -2
  48. khoj/interface/compiled/settings/index.html +1 -1
  49. khoj/interface/compiled/settings/index.txt +2 -2
  50. khoj/interface/compiled/share/chat/index.html +1 -1
  51. khoj/interface/compiled/share/chat/index.txt +2 -2
  52. khoj/processor/conversation/google/gemini_chat.py +28 -13
  53. khoj/processor/conversation/google/utils.py +34 -12
  54. khoj/processor/conversation/openai/gpt.py +4 -4
  55. khoj/processor/conversation/prompts.py +144 -0
  56. khoj/processor/conversation/utils.py +22 -13
  57. khoj/processor/image/generate.py +5 -5
  58. khoj/processor/tools/online_search.py +4 -4
  59. khoj/routers/api.py +13 -4
  60. khoj/routers/api_agents.py +41 -20
  61. khoj/routers/api_chat.py +85 -46
  62. khoj/routers/{subscription.py → api_subscription.py} +21 -3
  63. khoj/routers/auth.py +2 -2
  64. khoj/routers/helpers.py +235 -30
  65. khoj/routers/web_client.py +0 -11
  66. khoj/utils/helpers.py +7 -3
  67. {khoj-1.26.2.dist-info → khoj-1.26.5.dev34.dist-info}/METADATA +2 -2
  68. {khoj-1.26.2.dist-info → khoj-1.26.5.dev34.dist-info}/RECORD +73 -66
  69. khoj/interface/compiled/_next/static/chunks/121-7024f479c297aef0.js +0 -1
  70. khoj/interface/compiled/_next/static/chunks/1603-fa3ee48860b9dc5c.js +0 -1
  71. khoj/interface/compiled/_next/static/chunks/2697-a38d01981ad3bdf8.js +0 -1
  72. khoj/interface/compiled/_next/static/chunks/4051-2cf66369d6ca0f1d.js +0 -3
  73. khoj/interface/compiled/_next/static/chunks/477-ec86e93db10571c1.js +0 -1
  74. khoj/interface/compiled/_next/static/chunks/51-e8f5bdb69b5ea421.js +0 -1
  75. khoj/interface/compiled/_next/static/chunks/7762-79f2205740622b5c.js +0 -1
  76. khoj/interface/compiled/_next/static/chunks/9178-899fe9a6b754ecfe.js +0 -1
  77. khoj/interface/compiled/_next/static/chunks/9417-46ed3aaa639c85ef.js +0 -1
  78. khoj/interface/compiled/_next/static/chunks/9479-ea776e73f549090c.js +0 -1
  79. khoj/interface/compiled/_next/static/chunks/app/agents/page-88aa3042711107b7.js +0 -1
  80. khoj/interface/compiled/_next/static/chunks/app/chat/page-702057ccbcf27881.js +0 -1
  81. khoj/interface/compiled/_next/static/chunks/app/settings/page-e044a999468a7c5d.js +0 -1
  82. khoj/interface/compiled/_next/static/chunks/app/share/chat/page-fbbd66a4d4633438.js +0 -1
  83. khoj/interface/compiled/_next/static/chunks/webpack-64dc39af85cd2625.js +0 -1
  84. khoj/interface/compiled/_next/static/css/b9a6bf04305d98d7.css +0 -25
  85. /khoj/interface/compiled/_next/static/{eim4XajTfG4ub4ft5AEkJ → 7viHIza-WalEOzloM67l4}/_buildManifest.js +0 -0
  86. /khoj/interface/compiled/_next/static/{eim4XajTfG4ub4ft5AEkJ → 7viHIza-WalEOzloM67l4}/_ssgManifest.js +0 -0
  87. {khoj-1.26.2.dist-info → khoj-1.26.5.dev34.dist-info}/WHEEL +0 -0
  88. {khoj-1.26.2.dist-info → khoj-1.26.5.dev34.dist-info}/entry_points.txt +0 -0
  89. {khoj-1.26.2.dist-info → khoj-1.26.5.dev34.dist-info}/licenses/LICENSE +0 -0