khoj 1.28.3.dev1__py3-none-any.whl → 1.28.4.dev7__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 (43) hide show
  1. khoj/database/adapters/__init__.py +4 -10
  2. khoj/database/admin.py +0 -2
  3. khoj/database/management/commands/change_default_model.py +7 -72
  4. khoj/database/migrations/0073_delete_usersearchmodelconfig.py +15 -0
  5. khoj/database/models/__init__.py +0 -6
  6. khoj/interface/compiled/404/index.html +1 -1
  7. khoj/interface/compiled/_next/static/chunks/8423-f4976d6bda964f96.js +1 -0
  8. khoj/interface/compiled/_next/static/chunks/{webpack-231d49c6f14bb230.js → webpack-363358fa8ff3d0b2.js} +1 -1
  9. khoj/interface/compiled/_next/static/css/{ddcc0cf73e062476.css → 798b0de12852bd20.css} +1 -1
  10. khoj/interface/compiled/agents/index.html +1 -1
  11. khoj/interface/compiled/agents/index.txt +2 -2
  12. khoj/interface/compiled/automations/index.html +1 -1
  13. khoj/interface/compiled/automations/index.txt +1 -1
  14. khoj/interface/compiled/chat/index.html +1 -1
  15. khoj/interface/compiled/chat/index.txt +2 -2
  16. khoj/interface/compiled/factchecker/index.html +1 -1
  17. khoj/interface/compiled/factchecker/index.txt +2 -2
  18. khoj/interface/compiled/index.html +1 -1
  19. khoj/interface/compiled/index.txt +2 -2
  20. khoj/interface/compiled/search/index.html +1 -1
  21. khoj/interface/compiled/search/index.txt +2 -2
  22. khoj/interface/compiled/settings/index.html +1 -1
  23. khoj/interface/compiled/settings/index.txt +1 -1
  24. khoj/interface/compiled/share/chat/index.html +1 -1
  25. khoj/interface/compiled/share/chat/index.txt +2 -2
  26. khoj/processor/content/org_mode/orgnode.py +1 -1
  27. khoj/processor/content/text_to_entries.py +1 -2
  28. khoj/processor/conversation/anthropic/anthropic_chat.py +2 -0
  29. khoj/processor/conversation/google/utils.py +3 -1
  30. khoj/routers/api.py +1 -2
  31. khoj/search_type/text_search.py +2 -6
  32. {khoj-1.28.3.dev1.dist-info → khoj-1.28.4.dev7.dist-info}/METADATA +1 -1
  33. {khoj-1.28.3.dev1.dist-info → khoj-1.28.4.dev7.dist-info}/RECORD +42 -41
  34. khoj/interface/compiled/_next/static/chunks/8423-da57554315eebcbe.js +0 -1
  35. /khoj/interface/compiled/_next/static/{O_1IpS0h8YlPzp4qKS7Pz → JfCnAJYWMXkmMgbWQv1u3}/_buildManifest.js +0 -0
  36. /khoj/interface/compiled/_next/static/{O_1IpS0h8YlPzp4qKS7Pz → JfCnAJYWMXkmMgbWQv1u3}/_ssgManifest.js +0 -0
  37. /khoj/interface/compiled/_next/static/chunks/{1970-d44050bf658ae5cc.js → 1970-90dd510762d820ba.js} +0 -0
  38. /khoj/interface/compiled/_next/static/chunks/{3423-f4b7df2f6f3362f7.js → 3423-ff7402ae1dd66592.js} +0 -0
  39. /khoj/interface/compiled/_next/static/chunks/{9417-0d0fc7eb49a86abb.js → 9417-951f46451a8dd6d7.js} +0 -0
  40. /khoj/interface/compiled/_next/static/chunks/app/{page-07e54186b066f5ce.js → page-543c1ca0b0449be9.js} +0 -0
  41. {khoj-1.28.3.dev1.dist-info → khoj-1.28.4.dev7.dist-info}/WHEEL +0 -0
  42. {khoj-1.28.3.dev1.dist-info → khoj-1.28.4.dev7.dist-info}/entry_points.txt +0 -0
  43. {khoj-1.28.3.dev1.dist-info → khoj-1.28.4.dev7.dist-info}/licenses/LICENSE +0 -0
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/0e790e04fd40ad16-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/467a524c75e7d7c0.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/a795ee88875f4853.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/3cf13271869a4aeb.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/ddcc0cf73e062476.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/26c1c33d0423a7d8.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-231d49c6f14bb230.js"/><script src="/_next/static/chunks/fd9d1056-2b978342deb60015.js" async=""></script><script src="/_next/static/chunks/7023-a5bf5744d19b3bd3.js" async=""></script><script src="/_next/static/chunks/main-app-6d6ee3495efe03d4.js" async=""></script><script src="/_next/static/chunks/d3ac728e-a9e3522eef9b6b28.js" async=""></script><script src="/_next/static/chunks/9001-3b27af6d5f21df44.js" async=""></script><script src="/_next/static/chunks/3062-71ed4b46ac2bb87c.js" async=""></script><script src="/_next/static/chunks/8840-b8d7b9f0923c6651.js" async=""></script><script src="/_next/static/chunks/7113-f2e114d7034a0835.js" async=""></script><script src="/_next/static/chunks/3110-ef2cacd1b8d79ad8.js" async=""></script><script src="/_next/static/chunks/394-6bcb8c429f168f21.js" async=""></script><script src="/_next/static/chunks/1034-da58b679fcbb79c1.js" async=""></script><script src="/_next/static/chunks/1603-c1568f45947e9f2c.js" async=""></script><script src="/_next/static/chunks/9417-0d0fc7eb49a86abb.js" async=""></script><script src="/_next/static/chunks/3423-f4b7df2f6f3362f7.js" async=""></script><script src="/_next/static/chunks/8423-da57554315eebcbe.js" async=""></script><script src="/_next/static/chunks/1467-b331e469fe411347.js" async=""></script><script src="/_next/static/chunks/app/share/chat/page-db775d42e820afb2.js" async=""></script><meta http-equiv="Content-Security-Policy" content="default-src &#x27;self&#x27; https://assets.khoj.dev; media-src * blob:; script-src &#x27;self&#x27; https://assets.khoj.dev &#x27;unsafe-inline&#x27; &#x27;unsafe-eval&#x27;; connect-src &#x27;self&#x27; blob: https://ipapi.co/json ws://localhost:42110; style-src &#x27;self&#x27; https://assets.khoj.dev &#x27;unsafe-inline&#x27; https://fonts.googleapis.com; img-src &#x27;self&#x27; data: blob: https://*.khoj.dev https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src &#x27;self&#x27; https://assets.khoj.dev https://fonts.gstatic.com; child-src &#x27;none&#x27;; object-src &#x27;none&#x27;;"/><meta http-equiv="Content-Security-Policy" content="default-src &#x27;self&#x27; https://assets.khoj.dev; script-src &#x27;self&#x27; https://assets.khoj.dev &#x27;unsafe-inline&#x27; &#x27;unsafe-eval&#x27;; connect-src &#x27;self&#x27; blob: https://ipapi.co/json ws://localhost:42110; style-src &#x27;self&#x27; https://assets.khoj.dev &#x27;unsafe-inline&#x27; https://fonts.googleapis.com; img-src &#x27;self&#x27; data: blob: https://*.khoj.dev https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src &#x27;self&#x27; https://assets.khoj.dev https://fonts.gstatic.com; child-src &#x27;none&#x27;; object-src &#x27;none&#x27;;"/><title>Khoj AI - Chat</title><meta name="description" content="Use this page to view a chat with Khoj AI."/><link rel="manifest" href="/static/khoj.webmanifest" crossorigin="use-credentials"/><meta property="og:title" content="Khoj AI - Home"/><meta property="og:description" content="Your Second Brain."/><meta property="og:url" content="https://app.khoj.dev/"/><meta property="og:site_name" content="Khoj AI"/><meta property="og:image" content="https://assets.khoj.dev/khoj_lantern_256x256.png"/><meta property="og:image:width" content="256"/><meta property="og:image:height" content="256"/><meta property="og:image" content="https://assets.khoj.dev/khoj_lantern_logomarktype_1200x630.png"/><meta property="og:image:width" content="1200"/><meta property="og:image:height" content="630"/><meta property="og:type" content="website"/><meta name="twitter:card" content="summary_large_image"/><meta name="twitter:title" content="Khoj AI - Home"/><meta name="twitter:description" content="Your Second Brain."/><meta name="twitter:image" content="https://assets.khoj.dev/khoj_lantern_256x256.png"/><meta name="twitter:image:width" content="256"/><meta name="twitter:image:height" content="256"/><meta name="twitter:image" content="https://assets.khoj.dev/khoj_lantern_logomarktype_1200x630.png"/><meta name="twitter:image:width" content="1200"/><meta name="twitter:image:height" content="630"/><link rel="icon" href="/static/assets/icons/khoj_lantern.ico"/><link rel="apple-touch-icon" href="/static/assets/icons/khoj_lantern_256x256.png"/><meta name="next-size-adjust"/><script src="/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js" noModule=""></script></head><body class="__className_e594dd"><html lang="en"><body class="__className_e594dd"><div class="bg-background opacity-50 flex items-center justify-center h-screen"><div>Loading<!-- --> <span><svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" viewBox="0 0 256 256" class="inline animate-spin h-5 w-5"><path d="M232,128a104,104,0,0,1-208,0c0-41,23.81-78.36,60.66-95.27a8,8,0,0,1,6.68,14.54C60.15,61.59,40,93.27,40,128a88,88,0,0,0,176,0c0-34.73-20.15-66.41-51.34-80.73a8,8,0,0,1,6.68-14.54C208.19,49.64,232,87,232,128Z"></path></svg></span></div></div><script>window.EXCALIDRAW_ASSET_PATH = 'https://assets.khoj.dev/@excalidraw/excalidraw/dist/';</script><script src="/_next/static/chunks/webpack-231d49c6f14bb230.js" async=""></script></body></html><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/media/0e790e04fd40ad16-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/_next/static/css/467a524c75e7d7c0.css\",\"style\"]\n3:HL[\"/_next/static/css/a795ee88875f4853.css\",\"style\"]\n4:HL[\"/_next/static/css/3cf13271869a4aeb.css\",\"style\"]\n5:HL[\"/_next/static/css/ddcc0cf73e062476.css\",\"style\"]\n6:HL[\"/_next/static/css/26c1c33d0423a7d8.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"7:I[95751,[],\"\"]\n9:I[66513,[],\"ClientPageRoot\"]\na:I[5506,[\"3954\",\"static/chunks/d3ac728e-a9e3522eef9b6b28.js\",\"9001\",\"static/chunks/9001-3b27af6d5f21df44.js\",\"3062\",\"static/chunks/3062-71ed4b46ac2bb87c.js\",\"8840\",\"static/chunks/8840-b8d7b9f0923c6651.js\",\"7113\",\"static/chunks/7113-f2e114d7034a0835.js\",\"3110\",\"static/chunks/3110-ef2cacd1b8d79ad8.js\",\"394\",\"static/chunks/394-6bcb8c429f168f21.js\",\"1034\",\"static/chunks/1034-da58b679fcbb79c1.js\",\"1603\",\"static/chunks/1603-c1568f45947e9f2c.js\",\"9417\",\"static/chunks/9417-0d0fc7eb49a86abb.js\",\"3423\",\"static/chunks/3423-f4b7df2f6f3362f7.js\",\"8423\",\"static/chunks/8423-da57554315eebcbe.js\",\"1467\",\"static/chunks/1467-b331e469fe411347.js\",\"3111\",\"static/chunks/app/share/chat/page-db775d42e820afb2.js\"],\"default\",1]\nb:I[39275,[],\"\"]\nc:I[61343,[],\"\"]\ne:I[76130,[],\"\"]\nf:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L7\",null,{\"buildId\":\"O_1IpS0h8YlPzp4qKS7Pz\",\"assetPrefix\":\"\",\"urlParts\":[\"\",\"share\",\"chat\",\"\"],\"initialTree\":[\"\",{\"children\":[\"share\",{\"children\":[\"chat\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"share\",{\"children\":[\"chat\",{\"children\":[\"__PAGE__\",{},[[\"$L8\",[\"$\",\"$L9\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$a\"}],[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/3cf13271869a4aeb.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/ddcc0cf73e062476.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"2\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/26c1c33d0423a7d8.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]]],null],null]},[[null,[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[[\"$\",\"meta\",null,{\"httpEquiv\":\"Content-Security-Policy\",\"content\":\"default-src 'self' https://assets.khoj.dev; script-src 'self' https://assets.khoj.dev 'unsafe-inline' 'unsafe-eval'; connect-src 'self' blob: https://ipapi.co/json ws://localhost:42110; style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' data: blob: https://*.khoj.dev https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; child-src 'none'; object-src 'none';\"}],[\"$\",\"body\",null,{\"className\":\"__className_e594dd\",\"children\":[[\"$\",\"$Lb\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"share\",\"children\",\"chat\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$Lc\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}],[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"window.EXCALIDRAW_ASSET_PATH = 'https://assets.khoj.dev/@excalidraw/excalidraw/dist/';\"}}]]}]]}]],null],null]},[null,[\"$\",\"$Lb\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"share\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$Lc\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/467a524c75e7d7c0.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/a795ee88875f4853.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[[\"$\",\"meta\",null,{\"httpEquiv\":\"Content-Security-Policy\",\"content\":\"default-src 'self' https://assets.khoj.dev; media-src * blob:; script-src 'self' https://assets.khoj.dev 'unsafe-inline' 'unsafe-eval'; connect-src 'self' blob: https://ipapi.co/json ws://localhost:42110; style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' data: blob: https://*.khoj.dev https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; child-src 'none'; object-src 'none';\"}],[\"$\",\"body\",null,{\"className\":\"__className_e594dd\",\"children\":[\"$\",\"$Lb\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$Lc\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$Ld\"],\"globalErrorComponent\":\"$e\",\"missingSlots\":\"$Wf\"}]\n"])</script><script>self.__next_f.push([1,"d:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"Khoj AI - Chat\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Use this page to view a chat with Khoj AI.\"}],[\"$\",\"link\",\"4\",{\"rel\":\"manifest\",\"href\":\"/static/khoj.webmanifest\",\"crossOrigin\":\"use-credentials\"}],[\"$\",\"meta\",\"5\",{\"property\":\"og:title\",\"content\":\"Khoj AI - Home\"}],[\"$\",\"meta\",\"6\",{\"property\":\"og:description\",\"content\":\"Your Second Brain.\"}],[\"$\",\"meta\",\"7\",{\"property\":\"og:url\",\"content\":\"https://app.khoj.dev/\"}],[\"$\",\"meta\",\"8\",{\"property\":\"og:site_name\",\"content\":\"Khoj AI\"}],[\"$\",\"meta\",\"9\",{\"property\":\"og:image\",\"content\":\"https://assets.khoj.dev/khoj_lantern_256x256.png\"}],[\"$\",\"meta\",\"10\",{\"property\":\"og:image:width\",\"content\":\"256\"}],[\"$\",\"meta\",\"11\",{\"property\":\"og:image:height\",\"content\":\"256\"}],[\"$\",\"meta\",\"12\",{\"property\":\"og:image\",\"content\":\"https://assets.khoj.dev/khoj_lantern_logomarktype_1200x630.png\"}],[\"$\",\"meta\",\"13\",{\"property\":\"og:image:width\",\"content\":\"1200\"}],[\"$\",\"meta\",\"14\",{\"property\":\"og:image:height\",\"content\":\"630\"}],[\"$\",\"meta\",\"15\",{\"property\":\"og:type\",\"content\":\"website\"}],[\"$\",\"meta\",\"16\",{\"name\":\"twitter:card\",\"content\":\"summary_large_image\"}],[\"$\",\"meta\",\"17\",{\"name\":\"twitter:title\",\"content\":\"Khoj AI - Home\"}],[\"$\",\"meta\",\"18\",{\"name\":\"twitter:description\",\"content\":\"Your Second Brain.\"}],[\"$\",\"meta\",\"19\",{\"name\":\"twitter:image\",\"content\":\"https://assets.khoj.dev/khoj_lantern_256x256.png\"}],[\"$\",\"meta\",\"20\",{\"name\":\"twitter:image:width\",\"content\":\"256\"}],[\"$\",\"meta\",\"21\",{\"name\":\"twitter:image:height\",\"content\":\"256\"}],[\"$\",\"meta\",\"22\",{\"name\":\"twitter:image\",\"content\":\"https://assets.khoj.dev/khoj_lantern_logomarktype_1200x630.png\"}],[\"$\",\"meta\",\"23\",{\"name\":\"twitter:image:width\",\"content\":\"1200\"}],[\"$\",\"meta\",\"24\",{\"name\":\"twitter:image:height\",\"content\":\"630\"}],[\"$\",\"link\",\"25\",{\"rel\":\"icon\",\"href\":\"/static/assets/icons/khoj_lantern.ico\"}],[\"$\",\"link\",\"26\",{\"rel\":\"apple-touch-icon\",\"href\":\"/static/assets/icons/khoj_lantern_256x256.png\"}],[\"$\",\"meta\",\"27\",{\"name\":\"next-size-adjust\"}]]\n"])</script><script>self.__next_f.push([1,"8:null\n"])</script></body></html>
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/0e790e04fd40ad16-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/467a524c75e7d7c0.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/a795ee88875f4853.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/3cf13271869a4aeb.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/798b0de12852bd20.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/26c1c33d0423a7d8.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-363358fa8ff3d0b2.js"/><script src="/_next/static/chunks/fd9d1056-2b978342deb60015.js" async=""></script><script src="/_next/static/chunks/7023-a5bf5744d19b3bd3.js" async=""></script><script src="/_next/static/chunks/main-app-6d6ee3495efe03d4.js" async=""></script><script src="/_next/static/chunks/d3ac728e-a9e3522eef9b6b28.js" async=""></script><script src="/_next/static/chunks/9001-3b27af6d5f21df44.js" async=""></script><script src="/_next/static/chunks/3062-71ed4b46ac2bb87c.js" async=""></script><script src="/_next/static/chunks/8840-b8d7b9f0923c6651.js" async=""></script><script src="/_next/static/chunks/7113-f2e114d7034a0835.js" async=""></script><script src="/_next/static/chunks/3110-ef2cacd1b8d79ad8.js" async=""></script><script src="/_next/static/chunks/394-6bcb8c429f168f21.js" async=""></script><script src="/_next/static/chunks/1034-da58b679fcbb79c1.js" async=""></script><script src="/_next/static/chunks/1603-c1568f45947e9f2c.js" async=""></script><script src="/_next/static/chunks/9417-951f46451a8dd6d7.js" async=""></script><script src="/_next/static/chunks/3423-ff7402ae1dd66592.js" async=""></script><script src="/_next/static/chunks/8423-f4976d6bda964f96.js" async=""></script><script src="/_next/static/chunks/1467-b331e469fe411347.js" async=""></script><script src="/_next/static/chunks/app/share/chat/page-db775d42e820afb2.js" async=""></script><meta http-equiv="Content-Security-Policy" content="default-src &#x27;self&#x27; https://assets.khoj.dev; media-src * blob:; script-src &#x27;self&#x27; https://assets.khoj.dev &#x27;unsafe-inline&#x27; &#x27;unsafe-eval&#x27;; connect-src &#x27;self&#x27; blob: https://ipapi.co/json ws://localhost:42110; style-src &#x27;self&#x27; https://assets.khoj.dev &#x27;unsafe-inline&#x27; https://fonts.googleapis.com; img-src &#x27;self&#x27; data: blob: https://*.khoj.dev https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src &#x27;self&#x27; https://assets.khoj.dev https://fonts.gstatic.com; child-src &#x27;none&#x27;; object-src &#x27;none&#x27;;"/><meta http-equiv="Content-Security-Policy" content="default-src &#x27;self&#x27; https://assets.khoj.dev; script-src &#x27;self&#x27; https://assets.khoj.dev &#x27;unsafe-inline&#x27; &#x27;unsafe-eval&#x27;; connect-src &#x27;self&#x27; blob: https://ipapi.co/json ws://localhost:42110; style-src &#x27;self&#x27; https://assets.khoj.dev &#x27;unsafe-inline&#x27; https://fonts.googleapis.com; img-src &#x27;self&#x27; data: blob: https://*.khoj.dev https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src &#x27;self&#x27; https://assets.khoj.dev https://fonts.gstatic.com; child-src &#x27;none&#x27;; object-src &#x27;none&#x27;;"/><title>Khoj AI - Chat</title><meta name="description" content="Use this page to view a chat with Khoj AI."/><link rel="manifest" href="/static/khoj.webmanifest" crossorigin="use-credentials"/><meta property="og:title" content="Khoj AI - Home"/><meta property="og:description" content="Your Second Brain."/><meta property="og:url" content="https://app.khoj.dev/"/><meta property="og:site_name" content="Khoj AI"/><meta property="og:image" content="https://assets.khoj.dev/khoj_lantern_256x256.png"/><meta property="og:image:width" content="256"/><meta property="og:image:height" content="256"/><meta property="og:image" content="https://assets.khoj.dev/khoj_lantern_logomarktype_1200x630.png"/><meta property="og:image:width" content="1200"/><meta property="og:image:height" content="630"/><meta property="og:type" content="website"/><meta name="twitter:card" content="summary_large_image"/><meta name="twitter:title" content="Khoj AI - Home"/><meta name="twitter:description" content="Your Second Brain."/><meta name="twitter:image" content="https://assets.khoj.dev/khoj_lantern_256x256.png"/><meta name="twitter:image:width" content="256"/><meta name="twitter:image:height" content="256"/><meta name="twitter:image" content="https://assets.khoj.dev/khoj_lantern_logomarktype_1200x630.png"/><meta name="twitter:image:width" content="1200"/><meta name="twitter:image:height" content="630"/><link rel="icon" href="/static/assets/icons/khoj_lantern.ico"/><link rel="apple-touch-icon" href="/static/assets/icons/khoj_lantern_256x256.png"/><meta name="next-size-adjust"/><script src="/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js" noModule=""></script></head><body class="__className_e594dd"><html lang="en"><body class="__className_e594dd"><div class="bg-background opacity-50 flex items-center justify-center h-screen"><div>Loading<!-- --> <span><svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" viewBox="0 0 256 256" class="inline animate-spin h-5 w-5"><path d="M232,128a104,104,0,0,1-208,0c0-41,23.81-78.36,60.66-95.27a8,8,0,0,1,6.68,14.54C60.15,61.59,40,93.27,40,128a88,88,0,0,0,176,0c0-34.73-20.15-66.41-51.34-80.73a8,8,0,0,1,6.68-14.54C208.19,49.64,232,87,232,128Z"></path></svg></span></div></div><script>window.EXCALIDRAW_ASSET_PATH = 'https://assets.khoj.dev/@excalidraw/excalidraw/dist/';</script><script src="/_next/static/chunks/webpack-363358fa8ff3d0b2.js" async=""></script></body></html><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/media/0e790e04fd40ad16-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/_next/static/css/467a524c75e7d7c0.css\",\"style\"]\n3:HL[\"/_next/static/css/a795ee88875f4853.css\",\"style\"]\n4:HL[\"/_next/static/css/3cf13271869a4aeb.css\",\"style\"]\n5:HL[\"/_next/static/css/798b0de12852bd20.css\",\"style\"]\n6:HL[\"/_next/static/css/26c1c33d0423a7d8.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"7:I[95751,[],\"\"]\n9:I[66513,[],\"ClientPageRoot\"]\na:I[5506,[\"3954\",\"static/chunks/d3ac728e-a9e3522eef9b6b28.js\",\"9001\",\"static/chunks/9001-3b27af6d5f21df44.js\",\"3062\",\"static/chunks/3062-71ed4b46ac2bb87c.js\",\"8840\",\"static/chunks/8840-b8d7b9f0923c6651.js\",\"7113\",\"static/chunks/7113-f2e114d7034a0835.js\",\"3110\",\"static/chunks/3110-ef2cacd1b8d79ad8.js\",\"394\",\"static/chunks/394-6bcb8c429f168f21.js\",\"1034\",\"static/chunks/1034-da58b679fcbb79c1.js\",\"1603\",\"static/chunks/1603-c1568f45947e9f2c.js\",\"9417\",\"static/chunks/9417-951f46451a8dd6d7.js\",\"3423\",\"static/chunks/3423-ff7402ae1dd66592.js\",\"8423\",\"static/chunks/8423-f4976d6bda964f96.js\",\"1467\",\"static/chunks/1467-b331e469fe411347.js\",\"3111\",\"static/chunks/app/share/chat/page-db775d42e820afb2.js\"],\"default\",1]\nb:I[39275,[],\"\"]\nc:I[61343,[],\"\"]\ne:I[76130,[],\"\"]\nf:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L7\",null,{\"buildId\":\"JfCnAJYWMXkmMgbWQv1u3\",\"assetPrefix\":\"\",\"urlParts\":[\"\",\"share\",\"chat\",\"\"],\"initialTree\":[\"\",{\"children\":[\"share\",{\"children\":[\"chat\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"share\",{\"children\":[\"chat\",{\"children\":[\"__PAGE__\",{},[[\"$L8\",[\"$\",\"$L9\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$a\"}],[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/3cf13271869a4aeb.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/798b0de12852bd20.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"2\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/26c1c33d0423a7d8.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]]],null],null]},[[null,[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[[\"$\",\"meta\",null,{\"httpEquiv\":\"Content-Security-Policy\",\"content\":\"default-src 'self' https://assets.khoj.dev; script-src 'self' https://assets.khoj.dev 'unsafe-inline' 'unsafe-eval'; connect-src 'self' blob: https://ipapi.co/json ws://localhost:42110; style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' data: blob: https://*.khoj.dev https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; child-src 'none'; object-src 'none';\"}],[\"$\",\"body\",null,{\"className\":\"__className_e594dd\",\"children\":[[\"$\",\"$Lb\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"share\",\"children\",\"chat\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$Lc\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}],[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"window.EXCALIDRAW_ASSET_PATH = 'https://assets.khoj.dev/@excalidraw/excalidraw/dist/';\"}}]]}]]}]],null],null]},[null,[\"$\",\"$Lb\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"share\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$Lc\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/467a524c75e7d7c0.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/a795ee88875f4853.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[[\"$\",\"meta\",null,{\"httpEquiv\":\"Content-Security-Policy\",\"content\":\"default-src 'self' https://assets.khoj.dev; media-src * blob:; script-src 'self' https://assets.khoj.dev 'unsafe-inline' 'unsafe-eval'; connect-src 'self' blob: https://ipapi.co/json ws://localhost:42110; style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' data: blob: https://*.khoj.dev https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; child-src 'none'; object-src 'none';\"}],[\"$\",\"body\",null,{\"className\":\"__className_e594dd\",\"children\":[\"$\",\"$Lb\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$Lc\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$Ld\"],\"globalErrorComponent\":\"$e\",\"missingSlots\":\"$Wf\"}]\n"])</script><script>self.__next_f.push([1,"d:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"Khoj AI - Chat\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Use this page to view a chat with Khoj AI.\"}],[\"$\",\"link\",\"4\",{\"rel\":\"manifest\",\"href\":\"/static/khoj.webmanifest\",\"crossOrigin\":\"use-credentials\"}],[\"$\",\"meta\",\"5\",{\"property\":\"og:title\",\"content\":\"Khoj AI - Home\"}],[\"$\",\"meta\",\"6\",{\"property\":\"og:description\",\"content\":\"Your Second Brain.\"}],[\"$\",\"meta\",\"7\",{\"property\":\"og:url\",\"content\":\"https://app.khoj.dev/\"}],[\"$\",\"meta\",\"8\",{\"property\":\"og:site_name\",\"content\":\"Khoj AI\"}],[\"$\",\"meta\",\"9\",{\"property\":\"og:image\",\"content\":\"https://assets.khoj.dev/khoj_lantern_256x256.png\"}],[\"$\",\"meta\",\"10\",{\"property\":\"og:image:width\",\"content\":\"256\"}],[\"$\",\"meta\",\"11\",{\"property\":\"og:image:height\",\"content\":\"256\"}],[\"$\",\"meta\",\"12\",{\"property\":\"og:image\",\"content\":\"https://assets.khoj.dev/khoj_lantern_logomarktype_1200x630.png\"}],[\"$\",\"meta\",\"13\",{\"property\":\"og:image:width\",\"content\":\"1200\"}],[\"$\",\"meta\",\"14\",{\"property\":\"og:image:height\",\"content\":\"630\"}],[\"$\",\"meta\",\"15\",{\"property\":\"og:type\",\"content\":\"website\"}],[\"$\",\"meta\",\"16\",{\"name\":\"twitter:card\",\"content\":\"summary_large_image\"}],[\"$\",\"meta\",\"17\",{\"name\":\"twitter:title\",\"content\":\"Khoj AI - Home\"}],[\"$\",\"meta\",\"18\",{\"name\":\"twitter:description\",\"content\":\"Your Second Brain.\"}],[\"$\",\"meta\",\"19\",{\"name\":\"twitter:image\",\"content\":\"https://assets.khoj.dev/khoj_lantern_256x256.png\"}],[\"$\",\"meta\",\"20\",{\"name\":\"twitter:image:width\",\"content\":\"256\"}],[\"$\",\"meta\",\"21\",{\"name\":\"twitter:image:height\",\"content\":\"256\"}],[\"$\",\"meta\",\"22\",{\"name\":\"twitter:image\",\"content\":\"https://assets.khoj.dev/khoj_lantern_logomarktype_1200x630.png\"}],[\"$\",\"meta\",\"23\",{\"name\":\"twitter:image:width\",\"content\":\"1200\"}],[\"$\",\"meta\",\"24\",{\"name\":\"twitter:image:height\",\"content\":\"630\"}],[\"$\",\"link\",\"25\",{\"rel\":\"icon\",\"href\":\"/static/assets/icons/khoj_lantern.ico\"}],[\"$\",\"link\",\"26\",{\"rel\":\"apple-touch-icon\",\"href\":\"/static/assets/icons/khoj_lantern_256x256.png\"}],[\"$\",\"meta\",\"27\",{\"name\":\"next-size-adjust\"}]]\n"])</script><script>self.__next_f.push([1,"8:null\n"])</script></body></html>
@@ -1,7 +1,7 @@
1
1
  2:I[66513,[],"ClientPageRoot"]
2
- 3:I[5506,["3954","static/chunks/d3ac728e-a9e3522eef9b6b28.js","9001","static/chunks/9001-3b27af6d5f21df44.js","3062","static/chunks/3062-71ed4b46ac2bb87c.js","8840","static/chunks/8840-b8d7b9f0923c6651.js","7113","static/chunks/7113-f2e114d7034a0835.js","3110","static/chunks/3110-ef2cacd1b8d79ad8.js","394","static/chunks/394-6bcb8c429f168f21.js","1034","static/chunks/1034-da58b679fcbb79c1.js","1603","static/chunks/1603-c1568f45947e9f2c.js","9417","static/chunks/9417-0d0fc7eb49a86abb.js","3423","static/chunks/3423-f4b7df2f6f3362f7.js","8423","static/chunks/8423-da57554315eebcbe.js","1467","static/chunks/1467-b331e469fe411347.js","3111","static/chunks/app/share/chat/page-db775d42e820afb2.js"],"default",1]
2
+ 3:I[5506,["3954","static/chunks/d3ac728e-a9e3522eef9b6b28.js","9001","static/chunks/9001-3b27af6d5f21df44.js","3062","static/chunks/3062-71ed4b46ac2bb87c.js","8840","static/chunks/8840-b8d7b9f0923c6651.js","7113","static/chunks/7113-f2e114d7034a0835.js","3110","static/chunks/3110-ef2cacd1b8d79ad8.js","394","static/chunks/394-6bcb8c429f168f21.js","1034","static/chunks/1034-da58b679fcbb79c1.js","1603","static/chunks/1603-c1568f45947e9f2c.js","9417","static/chunks/9417-951f46451a8dd6d7.js","3423","static/chunks/3423-ff7402ae1dd66592.js","8423","static/chunks/8423-f4976d6bda964f96.js","1467","static/chunks/1467-b331e469fe411347.js","3111","static/chunks/app/share/chat/page-db775d42e820afb2.js"],"default",1]
3
3
  4:I[39275,[],""]
4
4
  5:I[61343,[],""]
5
- 0:["O_1IpS0h8YlPzp4qKS7Pz",[[["",{"children":["share",{"children":["chat",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["share",{"children":["chat",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3cf13271869a4aeb.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/ddcc0cf73e062476.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","2",{"rel":"stylesheet","href":"/_next/static/css/26c1c33d0423a7d8.css","precedence":"next","crossOrigin":"$undefined"}]]],null],null]},[[null,["$","html",null,{"lang":"en","children":[["$","meta",null,{"httpEquiv":"Content-Security-Policy","content":"default-src 'self' https://assets.khoj.dev; script-src 'self' https://assets.khoj.dev 'unsafe-inline' 'unsafe-eval'; connect-src 'self' blob: https://ipapi.co/json ws://localhost:42110; style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' data: blob: https://*.khoj.dev https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; child-src 'none'; object-src 'none';"}],["$","body",null,{"className":"__className_e594dd","children":[["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","share","children","chat","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}],["$","script",null,{"dangerouslySetInnerHTML":{"__html":"window.EXCALIDRAW_ASSET_PATH = 'https://assets.khoj.dev/@excalidraw/excalidraw/dist/';"}}]]}]]}]],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","share","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/467a524c75e7d7c0.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/a795ee88875f4853.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":[["$","meta",null,{"httpEquiv":"Content-Security-Policy","content":"default-src 'self' https://assets.khoj.dev; media-src * blob:; script-src 'self' https://assets.khoj.dev 'unsafe-inline' 'unsafe-eval'; connect-src 'self' blob: https://ipapi.co/json ws://localhost:42110; style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' data: blob: https://*.khoj.dev https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; child-src 'none'; object-src 'none';"}],["$","body",null,{"className":"__className_e594dd","children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]]}]],null],null],["$L6",null]]]]
5
+ 0:["JfCnAJYWMXkmMgbWQv1u3",[[["",{"children":["share",{"children":["chat",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["share",{"children":["chat",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3cf13271869a4aeb.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/798b0de12852bd20.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","2",{"rel":"stylesheet","href":"/_next/static/css/26c1c33d0423a7d8.css","precedence":"next","crossOrigin":"$undefined"}]]],null],null]},[[null,["$","html",null,{"lang":"en","children":[["$","meta",null,{"httpEquiv":"Content-Security-Policy","content":"default-src 'self' https://assets.khoj.dev; script-src 'self' https://assets.khoj.dev 'unsafe-inline' 'unsafe-eval'; connect-src 'self' blob: https://ipapi.co/json ws://localhost:42110; style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' data: blob: https://*.khoj.dev https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; child-src 'none'; object-src 'none';"}],["$","body",null,{"className":"__className_e594dd","children":[["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","share","children","chat","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}],["$","script",null,{"dangerouslySetInnerHTML":{"__html":"window.EXCALIDRAW_ASSET_PATH = 'https://assets.khoj.dev/@excalidraw/excalidraw/dist/';"}}]]}]]}]],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","share","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/467a524c75e7d7c0.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/a795ee88875f4853.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":[["$","meta",null,{"httpEquiv":"Content-Security-Policy","content":"default-src 'self' https://assets.khoj.dev; media-src * blob:; script-src 'self' https://assets.khoj.dev 'unsafe-inline' 'unsafe-eval'; connect-src 'self' blob: https://ipapi.co/json ws://localhost:42110; style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' data: blob: https://*.khoj.dev https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; child-src 'none'; object-src 'none';"}],["$","body",null,{"className":"__className_e594dd","children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]]}]],null],null],["$L6",null]]]]
6
6
  6:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"Khoj AI - Chat"}],["$","meta","3",{"name":"description","content":"Use this page to view a chat with Khoj AI."}],["$","link","4",{"rel":"manifest","href":"/static/khoj.webmanifest","crossOrigin":"use-credentials"}],["$","meta","5",{"property":"og:title","content":"Khoj AI - Home"}],["$","meta","6",{"property":"og:description","content":"Your Second Brain."}],["$","meta","7",{"property":"og:url","content":"https://app.khoj.dev/"}],["$","meta","8",{"property":"og:site_name","content":"Khoj AI"}],["$","meta","9",{"property":"og:image","content":"https://assets.khoj.dev/khoj_lantern_256x256.png"}],["$","meta","10",{"property":"og:image:width","content":"256"}],["$","meta","11",{"property":"og:image:height","content":"256"}],["$","meta","12",{"property":"og:image","content":"https://assets.khoj.dev/khoj_lantern_logomarktype_1200x630.png"}],["$","meta","13",{"property":"og:image:width","content":"1200"}],["$","meta","14",{"property":"og:image:height","content":"630"}],["$","meta","15",{"property":"og:type","content":"website"}],["$","meta","16",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","17",{"name":"twitter:title","content":"Khoj AI - Home"}],["$","meta","18",{"name":"twitter:description","content":"Your Second Brain."}],["$","meta","19",{"name":"twitter:image","content":"https://assets.khoj.dev/khoj_lantern_256x256.png"}],["$","meta","20",{"name":"twitter:image:width","content":"256"}],["$","meta","21",{"name":"twitter:image:height","content":"256"}],["$","meta","22",{"name":"twitter:image","content":"https://assets.khoj.dev/khoj_lantern_logomarktype_1200x630.png"}],["$","meta","23",{"name":"twitter:image:width","content":"1200"}],["$","meta","24",{"name":"twitter:image:height","content":"630"}],["$","link","25",{"rel":"icon","href":"/static/assets/icons/khoj_lantern.ico"}],["$","link","26",{"rel":"apple-touch-icon","href":"/static/assets/icons/khoj_lantern_256x256.png"}],["$","meta","27",{"name":"next-size-adjust"}]]
7
7
  1:null
@@ -49,7 +49,7 @@ def normalize_filename(filename):
49
49
  normalized_filename = f"~/{relpath(filename, start=Path.home())}"
50
50
  else:
51
51
  normalized_filename = filename
52
- escaped_filename = f"{normalized_filename}".replace("[", "\[").replace("]", "\]")
52
+ escaped_filename = f"{normalized_filename}".replace("[", r"\[").replace("]", r"\]")
53
53
  return escaped_filename
54
54
 
55
55
 
@@ -13,7 +13,6 @@ from khoj.database.adapters import (
13
13
  EntryAdapters,
14
14
  FileObjectAdapters,
15
15
  get_default_search_model,
16
- get_user_default_search_model,
17
16
  )
18
17
  from khoj.database.models import Entry as DbEntry
19
18
  from khoj.database.models import EntryDates, KhojUser
@@ -149,7 +148,7 @@ class TextToEntries(ABC):
149
148
  hashes_to_process |= hashes_for_file - existing_entry_hashes
150
149
 
151
150
  embeddings = []
152
- model = get_user_default_search_model(user=user)
151
+ model = get_default_search_model()
153
152
  with timer("Generated embeddings for entries to add to database in", logger):
154
153
  entries_to_process = [hash_to_current_entries[hashed_val] for hashed_val in hashes_to_process]
155
154
  data_to_embed = [getattr(entry, key) for entry in entries_to_process]
@@ -86,6 +86,8 @@ def extract_questions_anthropic(
86
86
 
87
87
  messages = [ChatMessage(content=prompt, role="user")]
88
88
 
89
+ messages, system_prompt = format_messages_for_anthropic(messages, system_prompt)
90
+
89
91
  response = anthropic_completion_with_backoff(
90
92
  messages=messages,
91
93
  system_prompt=system_prompt,
@@ -228,7 +228,9 @@ def format_messages_for_gemini(messages: list[ChatMessage], system_prompt: str =
228
228
  if isinstance(message.content, list):
229
229
  # Convert image_urls to PIL.Image and place them at beginning of list (better for Gemini)
230
230
  message.content = [
231
- get_image_from_url(item["image_url"]["url"]).content if item["type"] == "image_url" else item["text"]
231
+ get_image_from_url(item["image_url"]["url"]).content
232
+ if item["type"] == "image_url"
233
+ else item.get("text", "")
232
234
  for item in sorted(message.content, key=lambda x: 0 if x["type"] == "image_url" else 1)
233
235
  ]
234
236
  elif isinstance(message.content, str):
khoj/routers/api.py CHANGED
@@ -26,7 +26,6 @@ from khoj.database.adapters import (
26
26
  ConversationAdapters,
27
27
  EntryAdapters,
28
28
  get_default_search_model,
29
- get_user_default_search_model,
30
29
  get_user_photo,
31
30
  )
32
31
  from khoj.database.models import (
@@ -151,7 +150,7 @@ async def execute_search(
151
150
  encoded_asymmetric_query = None
152
151
  if t != SearchType.Image:
153
152
  with timer("Encoding query took", logger=logger):
154
- search_model = await sync_to_async(get_user_default_search_model)(user)
153
+ search_model = await sync_to_async(get_default_search_model)()
155
154
  encoded_asymmetric_query = state.embeddings_model[search_model.name].embed_query(defiltered_query)
156
155
 
157
156
  with concurrent.futures.ThreadPoolExecutor() as executor:
@@ -8,11 +8,7 @@ import torch
8
8
  from asgiref.sync import sync_to_async
9
9
  from sentence_transformers import util
10
10
 
11
- from khoj.database.adapters import (
12
- EntryAdapters,
13
- get_default_search_model,
14
- get_user_default_search_model,
15
- )
11
+ from khoj.database.adapters import EntryAdapters, get_default_search_model
16
12
  from khoj.database.models import Agent
17
13
  from khoj.database.models import Entry as DbEntry
18
14
  from khoj.database.models import KhojUser
@@ -114,7 +110,7 @@ async def query(
114
110
  file_type = search_type_to_embeddings_type[type.value]
115
111
 
116
112
  query = raw_query
117
- search_model = await sync_to_async(get_user_default_search_model)(user)
113
+ search_model = await sync_to_async(get_default_search_model)()
118
114
  if not max_distance:
119
115
  if search_model.bi_encoder_confidence_threshold:
120
116
  max_distance = search_model.bi_encoder_confidence_threshold
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: khoj
3
- Version: 1.28.3.dev1
3
+ Version: 1.28.4.dev7
4
4
  Summary: Your Second Brain
5
5
  Project-URL: Homepage, https://khoj.dev
6
6
  Project-URL: Documentation, https://docs.khoj.dev
@@ -8,13 +8,13 @@ khoj/app/asgi.py,sha256=soh3C1xazlgHt_bDgKzrfzo2TKXbNYJsckcXNEgTip8,388
8
8
  khoj/app/settings.py,sha256=M6sQUu_AdeKl3eruecBaifRBhYOBIait0KA2NPizcBM,6198
9
9
  khoj/app/urls.py,sha256=7ECnusoAPAfbO_H_b5FUzYGvnb4LLdWaRDyKNvYuBvg,869
10
10
  khoj/database/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
- khoj/database/admin.py,sha256=4QoMRRyfvc834Qg4Z8KMZ3MW3cbsTqtElpkwnP3oyz4,9618
11
+ khoj/database/admin.py,sha256=8eMQrfv4SoNubjW-O2mIUvhSVuKTlJ3KGwdmV8aJ6nQ,9548
12
12
  khoj/database/apps.py,sha256=pM4tkX5Odw4YW_hLLKK8Nd5kqGddf1en0oMCea44RZw,153
13
13
  khoj/database/tests.py,sha256=mrbGGRNg5jwbTJtWWa7zSKdDyeB4vmgZCRc2nk6VY-g,60
14
- khoj/database/adapters/__init__.py,sha256=cnSXr7xOZ4rZcIZVKoVvB-dQGVQ3pkXkoRDYjUeOXWg,67251
14
+ khoj/database/adapters/__init__.py,sha256=JZNJF34Z4QYKHcvwBwXY5S92pbJaiHBKSOS1-r2wQZ4,67031
15
15
  khoj/database/management/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  khoj/database/management/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
- khoj/database/management/commands/change_default_model.py,sha256=Jsxxc9xSZPHECaftZRvVyaPVGxIxTC0wxYXgK3wEtew,8731
17
+ khoj/database/management/commands/change_default_model.py,sha256=HkFQOI-2rFjlu7YiulyRcTrITzSzXmY4WiV2hBmml0w,5209
18
18
  khoj/database/management/commands/change_generated_images_url.py,sha256=w52FwRlyOL4YRpp9O6jJUjSIuGLxVhaS2w1D7gtQgOE,2644
19
19
  khoj/database/management/commands/convert_images_png_to_webp.py,sha256=C74kEGa_BYkH0dIwtSUinU9qJFCFoVdo3HJRD1eLFuc,4630
20
20
  khoj/database/migrations/0001_khojuser.py,sha256=1AjGQ4cOX8rUUMLOsKWFSUlQvO4nklKQB-BILSjiric,4077
@@ -101,35 +101,36 @@ khoj/database/migrations/0069_webscraper_serverchatsettings_web_scraper.py,sha25
101
101
  khoj/database/migrations/0070_alter_agent_input_tools_alter_agent_output_modes.py,sha256=ngMtW34OPde72xa3tRIAKiICiJtpbxE4oZmAP4GFhrQ,1451
102
102
  khoj/database/migrations/0071_subscription_enabled_trial_at_and_more.py,sha256=GX1ps5yrhLc1IxkPhmvzcoVSjCcZ-EAnicXSqz9TCtY,1026
103
103
  khoj/database/migrations/0072_entry_search_model.py,sha256=qamubOLbkRcbCeyhOWiRhrYT3WTD9ZG8WNaZEWS-a-0,639
104
+ khoj/database/migrations/0073_delete_usersearchmodelconfig.py,sha256=hKkVZK7l61LI6-be9ZbATIeyKsVYL1nfYbUfKEdzvdE,310
104
105
  khoj/database/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
105
- khoj/database/models/__init__.py,sha256=YWmaAAO6Ec3XDCFSgr2z69M9cO28qAMDlgQ4xrVRD4s,24282
106
+ khoj/database/models/__init__.py,sha256=ML1a09D2-U0-IDgVt8-SqDKXTJfmUnvUjmfCxdhyne8,24003
106
107
  khoj/interface/compiled/agents.svg,sha256=yFCRwIM-Qawa0C5ggAo3ekb-Q1ElmotBOKIGhtfIQqM,1722
107
108
  khoj/interface/compiled/automation.svg,sha256=o7L2XYwJWRSMvl8h6TBv6Pt28RTRVMHqF04EPY0AFj0,1467
108
109
  khoj/interface/compiled/chat.svg,sha256=l2JoYRRgk201adTTdvJ-buKUrc0WGfsudix5xEvtM3A,2424
109
110
  khoj/interface/compiled/close.svg,sha256=hQ2iFLkNzHk0_iyTrSbwnWAeXYlgA-c2Eof2Iqh76n4,417
110
111
  khoj/interface/compiled/copy-button-success.svg,sha256=byqWAYD3Pn9IOXRjOKudJ-TJbP2UESbQGvtLWazNGjY,829
111
112
  khoj/interface/compiled/copy-button.svg,sha256=05bKM2eRxksfBlAPT7yMaoNJEk85bZCxQg67EVrPeHo,669
112
- khoj/interface/compiled/index.html,sha256=0zH4ySzzLlvuvjwNyQkzfN7V9oCBmFDdc2cdiEbNRpQ,12314
113
- khoj/interface/compiled/index.txt,sha256=g4b-RQjo13eLcPe_vqXqsf8S9EVQ8SbyRJY-jw5JSX8,5673
113
+ khoj/interface/compiled/index.html,sha256=bOdWoY21AVCcOuEWKSQRxHqlSbitxg17XtVBpxzmwIw,12314
114
+ khoj/interface/compiled/index.txt,sha256=2Po9zH8iuphGwabEEn1gF_LYQD3AZ_uMnMZvBDNafA8,5673
114
115
  khoj/interface/compiled/khoj.webmanifest,sha256=lsknYkvEdMbRTOUYKXPM_8krN2gamJmM4u3qj8u9lrU,1682
115
116
  khoj/interface/compiled/logo.svg,sha256=_QCKVYM4WT2Qhcf7aVFImjq_s5CwjynGXYAOgI7yf8w,8059
116
117
  khoj/interface/compiled/send.svg,sha256=VdavOWkVddcwcGcld6pdfmwfz7S91M-9O28cfeiKJkM,635
117
118
  khoj/interface/compiled/share.svg,sha256=91lwo75PvMDrgocuZQab6EQ62CxRbubh9Bhw7CWMKbg,1221
118
119
  khoj/interface/compiled/thumbs-down.svg,sha256=JGNl-DwoRmH2XFMPWwFFklmoYtKxaQbkLE3nuYKe8ZY,1019
119
120
  khoj/interface/compiled/thumbs-up.svg,sha256=yS1wxTRtiztkN-6nZciLoYQUB_KTYNPV8xFRwH2TQFw,1036
120
- khoj/interface/compiled/404/index.html,sha256=p-MC_E-nbiGWuwdKkCL5XxvfM9gSTe56qNp8sdx-IEU,12051
121
- khoj/interface/compiled/_next/static/O_1IpS0h8YlPzp4qKS7Pz/_buildManifest.js,sha256=6I9QUstNpJnhe3leR2Daw0pSXwzcbBscv6h2jmmPpms,224
122
- khoj/interface/compiled/_next/static/O_1IpS0h8YlPzp4qKS7Pz/_ssgManifest.js,sha256=Z49s4suAsf5y_GfnQSvm4qtq2ggxEbZPfEDTXjy6XgA,80
121
+ khoj/interface/compiled/404/index.html,sha256=rYxqApYQS2AcJQh0mtHc8ukabZcc846oVGbtGMNq9Kg,12051
122
+ khoj/interface/compiled/_next/static/JfCnAJYWMXkmMgbWQv1u3/_buildManifest.js,sha256=6I9QUstNpJnhe3leR2Daw0pSXwzcbBscv6h2jmmPpms,224
123
+ khoj/interface/compiled/_next/static/JfCnAJYWMXkmMgbWQv1u3/_ssgManifest.js,sha256=Z49s4suAsf5y_GfnQSvm4qtq2ggxEbZPfEDTXjy6XgA,80
123
124
  khoj/interface/compiled/_next/static/chunks/1034-da58b679fcbb79c1.js,sha256=Na2MJjnR44aBYNaUX6faMh8swqUxaTRsWnmH_gR_Dbk,16380
124
125
  khoj/interface/compiled/_next/static/chunks/1210.132a7e1910006bbb.js,sha256=2dJueIfOg5qlQdanOM9HrgwcfrUXCD57bfd8Iv7iJcU,2104
125
126
  khoj/interface/compiled/_next/static/chunks/1279-f37ee4a388ebf544.js,sha256=U_1WaocOdgJ4HZB8tRx_izzYGD1EZlCohC1uLCffCWc,45582
126
127
  khoj/interface/compiled/_next/static/chunks/1459.690bf20e7d7b7090.js,sha256=z-ruZPxF_Z3ef_WOThd9Ox36AMhxaW3znizVivNnA34,34239
127
128
  khoj/interface/compiled/_next/static/chunks/1467-b331e469fe411347.js,sha256=doNFtg16H_GUiIl20nECSukOXd5nT_S6IF3VikZXE8Y,12009
128
129
  khoj/interface/compiled/_next/static/chunks/1603-c1568f45947e9f2c.js,sha256=b44y9AMEdvJMW6xc0mhcrHz_QKSvf1Rv2ZPMHjNt2mM,73175
129
- khoj/interface/compiled/_next/static/chunks/1970-d44050bf658ae5cc.js,sha256=6cdvTgAJqyyihAHrhAN0Ht8yA-Y6ERdj99lLIveswZg,29835
130
+ khoj/interface/compiled/_next/static/chunks/1970-90dd510762d820ba.js,sha256=6cdvTgAJqyyihAHrhAN0Ht8yA-Y6ERdj99lLIveswZg,29835
130
131
  khoj/interface/compiled/_next/static/chunks/3062-71ed4b46ac2bb87c.js,sha256=847h3nNxc8t4GOW20GIAp8c5kquVPEQ7EZurPzGySo0,258667
131
132
  khoj/interface/compiled/_next/static/chunks/3110-ef2cacd1b8d79ad8.js,sha256=6Mbnwyhm_BJLppjqXE74SDZsekJV-t1mhjTK86iE904,9508
132
- khoj/interface/compiled/_next/static/chunks/3423-f4b7df2f6f3362f7.js,sha256=z1E26qIrzaCx4q8FLKW4uRv8K8Qj5bZ4OQ9KB0onVjo,22206
133
+ khoj/interface/compiled/_next/static/chunks/3423-ff7402ae1dd66592.js,sha256=z1E26qIrzaCx4q8FLKW4uRv8K8Qj5bZ4OQ9KB0onVjo,22206
133
134
  khoj/interface/compiled/_next/static/chunks/394-6bcb8c429f168f21.js,sha256=eg8aHEE09K4aI1MfxpslzHWU_ol0iR52EqlcrsJr20I,1084027
134
135
  khoj/interface/compiled/_next/static/chunks/4504-1629487c8bc82203.js,sha256=z6NvJ2KOjYPbMNsYQKyX9PV4DeURUoP6LKoNb4kZXg0,11637
135
136
  khoj/interface/compiled/_next/static/chunks/4602-8eeb4b76385ad159.js,sha256=pz2lEr0JOrMdrddv2R2vej4e9uxpOr5KFX966ClLbOU,29928
@@ -138,10 +139,10 @@ khoj/interface/compiled/_next/static/chunks/6297-d1c842ed3f714ab0.js,sha256=4nzZ
138
139
  khoj/interface/compiled/_next/static/chunks/7023-a5bf5744d19b3bd3.js,sha256=TBJA7dTnI8nymtbljKuZzo2hbStXWR-P8Qkl57k2Tw8,123898
139
140
  khoj/interface/compiled/_next/static/chunks/7113-f2e114d7034a0835.js,sha256=_WB4I13sT-IJhhwbN6-pePwZYGrtDRVKERptTLMANzU,26827
140
141
  khoj/interface/compiled/_next/static/chunks/7883-b1305ec254213afe.js,sha256=dDbERTNiKRIIdC7idybjZq03gnxQtudMawrekye0zH8,241134
141
- khoj/interface/compiled/_next/static/chunks/8423-da57554315eebcbe.js,sha256=BGDKEnEm5-_23PGA36eE9l53NOL-iNxJAq6O894XRr4,12567
142
+ khoj/interface/compiled/_next/static/chunks/8423-f4976d6bda964f96.js,sha256=uMaXu1uSVfkbnLhX7apT5OFkPTTgZ_cUYrUbr1hRh1g,12571
142
143
  khoj/interface/compiled/_next/static/chunks/8840-b8d7b9f0923c6651.js,sha256=n1JrzFrvB_rC6THUiPniysyjauEG3Q3qAh20PTcfmhQ,173276
143
144
  khoj/interface/compiled/_next/static/chunks/9001-3b27af6d5f21df44.js,sha256=ran2mMGTO2kiAJebRGMyfyAu4Sdjw-WobS_m6g-qjz8,34223
144
- khoj/interface/compiled/_next/static/chunks/9417-0d0fc7eb49a86abb.js,sha256=F_6dFaA3bWVQX8ISxQ7mlz1CEaGFGsClOk0Fg_BQGSM,19548
145
+ khoj/interface/compiled/_next/static/chunks/9417-951f46451a8dd6d7.js,sha256=F_6dFaA3bWVQX8ISxQ7mlz1CEaGFGsClOk0Fg_BQGSM,19548
145
146
  khoj/interface/compiled/_next/static/chunks/94ca1967.5584df65931cfe83.js,sha256=lxdrZ8h3_IWkTuk6QlzM2Hd9Pvu9_p8h_EI4aveSOgE,1174519
146
147
  khoj/interface/compiled/_next/static/chunks/964ecbae.ea4eab2a3a835ffe.js,sha256=EccPkhdFk6L0NIAVQfWe4kOpRWqhf20PkYecy7R_fyo,1175119
147
148
  khoj/interface/compiled/_next/static/chunks/d3ac728e-a9e3522eef9b6b28.js,sha256=wK1TsLdl56xtbQG6HMRDpylzTOYXQaAnnn2xobFnX40,267216
@@ -150,9 +151,9 @@ khoj/interface/compiled/_next/static/chunks/framework-8e0e0f4a6b83a956.js,sha256
150
151
  khoj/interface/compiled/_next/static/chunks/main-app-6d6ee3495efe03d4.js,sha256=i52E7sWOcSq1G8eYZL3mtTxbUbwRNxcAbSWQ6uWpMsY,475
151
152
  khoj/interface/compiled/_next/static/chunks/main-f84cd3c1873cd842.js,sha256=jKg2A4pPMmEAQmrA10rACH3daS8XXJeMnGOz1AsTkdI,111099
152
153
  khoj/interface/compiled/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js,sha256=6QPOwdWeAVe8x-SsiDrm-Ga6u2DkqgG5SFqglrlyIgA,91381
153
- khoj/interface/compiled/_next/static/chunks/webpack-231d49c6f14bb230.js,sha256=LXKJeZH4z_KBmN3jrGJGdW_ZAige2SSTu0E3S6HUBlk,4065
154
+ khoj/interface/compiled/_next/static/chunks/webpack-363358fa8ff3d0b2.js,sha256=77XnNr6PXIVQSMtXKKdBbwmON_nucvFXobXY-LuxnHg,4065
154
155
  khoj/interface/compiled/_next/static/chunks/app/layout-d0f0a9067427fb20.js,sha256=ilPUPuMQt_2D48lC5c6AYeXT7J28ElR_Ym6VtjQwCO0,442
155
- khoj/interface/compiled/_next/static/chunks/app/page-07e54186b066f5ce.js,sha256=zQmhFhjWQB9PWNowHAiyyXJr8H2VI_wGX6KsFI28Cs4,29491
156
+ khoj/interface/compiled/_next/static/chunks/app/page-543c1ca0b0449be9.js,sha256=zQmhFhjWQB9PWNowHAiyyXJr8H2VI_wGX6KsFI28Cs4,29491
156
157
  khoj/interface/compiled/_next/static/chunks/app/_not-found/page-07ff4ab42b07845e.js,sha256=3mCUnxfMxyK44eqk21TVBrC6u--WSbvx31fTmQuOvMQ,1755
157
158
  khoj/interface/compiled/_next/static/chunks/app/agents/layout-75636ab3a413fa8e.js,sha256=0bdI7GBXZxpLy88hdWQiOc26QRZaD9R86YNMmGakWl4,372
158
159
  khoj/interface/compiled/_next/static/chunks/app/agents/page-5ae1e540bb5be8a9.js,sha256=RyqNewzRh_od2VJjj_u-Opoz-bcg7Xu52Z_ihzkCMtM,17724
@@ -176,9 +177,9 @@ khoj/interface/compiled/_next/static/css/467a524c75e7d7c0.css,sha256=yNoCTf6WSvm
176
177
  khoj/interface/compiled/_next/static/css/4cae6c0e5c72fb2d.css,sha256=3CjTMmtMrm_MYt1ywtUh2MHEjSLSl356SQLl4hdBuYw,534
177
178
  khoj/interface/compiled/_next/static/css/553f9cdcc7a2bcd6.css,sha256=JpjOOwmqP9Hba-w_8Lx9jWW0ZD0kD3wR0HvdPGDyUPo,2134
178
179
  khoj/interface/compiled/_next/static/css/5a400c87d295e68a.css,sha256=ojDUPJ9fJpEo9DzTAsEa-k1cg7Bef-nSTfpszMiqknQ,17711
180
+ khoj/interface/compiled/_next/static/css/798b0de12852bd20.css,sha256=W8665WxP8h0XuZJ_HkEOnSD0ncCHomCi1O7ABCe_RuA,8785
179
181
  khoj/interface/compiled/_next/static/css/80bd6301fc657983.css,sha256=T7_aQHcWpQBQLKadauHNzjYGw713FtRNTlUqmJjsL6I,1634
180
182
  khoj/interface/compiled/_next/static/css/a795ee88875f4853.css,sha256=8WpIhh6bDwAAe0ah1-B5HIWX6Sch9H7a6nXJLPXTKxo,3055778
181
- khoj/interface/compiled/_next/static/css/ddcc0cf73e062476.css,sha256=GhCBwb3i2oMWlIP9XEjY24nrM-wtgaWU-K99aL6y75U,8785
182
183
  khoj/interface/compiled/_next/static/media/0e790e04fd40ad16-s.p.woff2,sha256=41ewITd0G1ZAoB62BTHMW58a1q8Hl6vSbTQkkHP7EbI,39372
183
184
  khoj/interface/compiled/_next/static/media/4221e1667cd19c7d-s.woff2,sha256=_Y3g0keA8P6nZnFfm_VO5o2Sne1iST3v9xz4fBo3fwM,75532
184
185
  khoj/interface/compiled/_next/static/media/6c276159aa0eb14b-s.woff2,sha256=i9Ibzi_O7y5KpImujj2rEdOZf96lpNYxYzVvCryW5Uc,140408
@@ -251,8 +252,8 @@ khoj/interface/compiled/_next/static/media/flags.3afdda2f.webp,sha256=M2AW_HLpBn
251
252
  khoj/interface/compiled/_next/static/media/flags@2x.5fbe9fc1.webp,sha256=BBeRPBZkxY3-aKkMnYv5TSkxmbeMbyUH4VRIPfrWg1E,137406
252
253
  khoj/interface/compiled/_next/static/media/globe.98e105ca.webp,sha256=g3ofb8-W9GM75zIhlvQhaS8I2py9TtrovOKR3_7Jf04,514
253
254
  khoj/interface/compiled/_next/static/media/globe@2x.974df6f8.webp,sha256=I_N7Yke3IOoS-0CC6XD8o0IUWG8PdPbrHmf6lpgWlZY,1380
254
- khoj/interface/compiled/agents/index.html,sha256=GmnGorlhj3GoLuc3cROz-qjQLHwlsvOy-yzmizRrQg4,12658
255
- khoj/interface/compiled/agents/index.txt,sha256=pqJN9uctWix4cvPXYW-fHs71e45U2nkhItq5Z3ZN2VE,6045
255
+ khoj/interface/compiled/agents/index.html,sha256=viCVSfd7_ucPW_R2x8zELBlRaML817esSPj97S2Fm7A,12658
256
+ khoj/interface/compiled/agents/index.txt,sha256=k1Ie1-nZzo0APRv7oZOys-0AEYNmMdbG68ebeF_5slc,6045
256
257
  khoj/interface/compiled/assets/icons/khoj_lantern.ico,sha256=eggu-B_v3z1R53EjOFhIqqPnICBGdoaw1xnc0NrzHck,174144
257
258
  khoj/interface/compiled/assets/icons/khoj_lantern_128x128.png,sha256=aTxivDb3CYyThkVZWz8A19xl_dNut5DbkXhODWF3A9Q,5640
258
259
  khoj/interface/compiled/assets/icons/khoj_lantern_256x256.png,sha256=xPCMLHiaL7lYOdQLZrKwWE-Qjn5ZaysSZB0ScYv4UZU,12312
@@ -263,18 +264,18 @@ khoj/interface/compiled/assets/samples/desktop-remember-plan-sample.png,sha256=i
263
264
  khoj/interface/compiled/assets/samples/phone-browse-draw-sample.png,sha256=Dd4fPwtFl6BWqnHjeb1mCK_ND0hhHsWtx8sNE7EiMuE,406179
264
265
  khoj/interface/compiled/assets/samples/phone-plain-chat-sample.png,sha256=DEDaNRCkfEWUeh3kYZWIQDTVK1a6KKnYdwj5ZWisN_Q,82985
265
266
  khoj/interface/compiled/assets/samples/phone-remember-plan-sample.png,sha256=Ma3blirRmq3X4oYSsDbbT7MDn29rymDrjwmUfA9BMuM,236285
266
- khoj/interface/compiled/automations/index.html,sha256=i9eYsbhoKtNEUyLHwsS4qPyeBPG4iPxo7hd-oMTqRwk,30941
267
- khoj/interface/compiled/automations/index.txt,sha256=9a-iAcgXAwp5Vs9a8qGYuyiLzlGqKMASV0rmtw4AuwE,5633
268
- khoj/interface/compiled/chat/index.html,sha256=KW1rgXOMvlStkJjMqxEtzRqnZ66kG2d9Y2hnYa98CvQ,14117
269
- khoj/interface/compiled/chat/index.txt,sha256=uh5BiIcC4Onn0IDlHLX-5KX0EIjn4Y5U9NCI2ETI-gU,6684
270
- khoj/interface/compiled/factchecker/index.html,sha256=9BgtVSc84c-MKsnP0gxiBntkFObjI3VwUn0TyFtkjzE,29973
271
- khoj/interface/compiled/factchecker/index.txt,sha256=jrF9jaN8wTl7SJC1P9aqREP09QB-MLogwErKBzdaQaY,5788
272
- khoj/interface/compiled/search/index.html,sha256=kAhAUseIzWlqFJU9EcX-8Shu0-lrfSJCCgp4B8hxBXg,30161
273
- khoj/interface/compiled/search/index.txt,sha256=-yh_1pzgEhWewg1C674hZKHtBsCdWa3BMUw-eXTBFS4,5256
274
- khoj/interface/compiled/settings/index.html,sha256=9YxtKuNLOcUisGDJLJATAZd6q-0TKCFcB4XjJQfBaQ4,12831
275
- khoj/interface/compiled/settings/index.txt,sha256=-X6KrD3RoDKkqcNejblos0LSQKJSA1Gyw5LPdA0wCqQ,6078
276
- khoj/interface/compiled/share/chat/index.html,sha256=2w2fLlKklvlFz3ebZccBFLWy83344C4R8M-F2NcXnZA,15442
277
- khoj/interface/compiled/share/chat/index.txt,sha256=ufQn2GnRCXa22LyJVsyp7Mkguuq2E10IiGTB1bC2YIU,7495
267
+ khoj/interface/compiled/automations/index.html,sha256=VC7WaknOCooMRnri6bxdxMjpnc8IDfbb2eSKUYRYtVw,30941
268
+ khoj/interface/compiled/automations/index.txt,sha256=ZRlvuRcOoA9Uzphg70TZjDd6eQqtlVqScXkADYXBW_Y,5633
269
+ khoj/interface/compiled/chat/index.html,sha256=U2TsDsgYntv5x_8TlMkbErLScirjEeL7cLj1H6EK5PM,14117
270
+ khoj/interface/compiled/chat/index.txt,sha256=c7qti05pzTLkx7nrJMvvvZ-BdvrmT9Y07f8UQs8Fyhg,6684
271
+ khoj/interface/compiled/factchecker/index.html,sha256=M0YLCChvcUquaihVbkBkx5vBim9ZUC62fj0BpLi8bpE,29973
272
+ khoj/interface/compiled/factchecker/index.txt,sha256=hkXCXVa2HGFOs_75qx9k2Toc8lhmTOfFeqY1j7W6JNs,5788
273
+ khoj/interface/compiled/search/index.html,sha256=ottP0n10ra5f0ocHiew49m2yNwvPkHcr4U-4aSxJl68,30161
274
+ khoj/interface/compiled/search/index.txt,sha256=fYkoQtwst4py5YZ7s_doeWgOEwvGP96aPoDB3CtT6pw,5256
275
+ khoj/interface/compiled/settings/index.html,sha256=POSmvzHvWgdllwmju_JTWxyNtKCQKbO6KQrEkfDOzNU,12831
276
+ khoj/interface/compiled/settings/index.txt,sha256=WGNshJASZNb8GXuozX1_RC_Ej3S9nLLh8_5h9zyXthw,6078
277
+ khoj/interface/compiled/share/chat/index.html,sha256=mwofApjoVEL8nlaAMyE_oUYb-FGr5rwdy4aTWTvEy4I,15442
278
+ khoj/interface/compiled/share/chat/index.txt,sha256=mhLNjJr9mbvi11dG8utSpcrA5oatz-lGfwDptJB9ZfM,7495
278
279
  khoj/interface/email/feedback.html,sha256=xksuPFamx4hGWyTTxZKRgX_eiYQQEuv-eK9Xmkt-nwU,1216
279
280
  khoj/interface/email/magic_link.html,sha256=EoGKQucfPj3xQrWXhSZAzPFOYCHF_ZX94TWCd1XHl1M,941
280
281
  khoj/interface/email/task.html,sha256=tY7a0gzVeQ2lSQNu7WyXR_s7VYeWTrxWEj1iHVuoVE4,2813
@@ -308,7 +309,7 @@ khoj/migrations/migrate_version.py,sha256=6CTsLuxiLnFVF8A7CjsIz3PcnJd8fAOZeIx6tT
308
309
  khoj/processor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
309
310
  khoj/processor/embeddings.py,sha256=jGLLXkenvCxWEeFqw3g5YpX08hy2wgSZKvPC4BGD7Og,5527
310
311
  khoj/processor/content/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
311
- khoj/processor/content/text_to_entries.py,sha256=-xDXtAtPd283d_YPfbmOfPZr71kVP2VF7rTDnei5VXI,14610
312
+ khoj/processor/content/text_to_entries.py,sha256=mobsDnva4OVKVe1607dSPDOvB5MXqwtbNPeLQE5kaCM,14561
312
313
  khoj/processor/content/docx/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
313
314
  khoj/processor/content/docx/docx_to_entries.py,sha256=qCVbvetCDG30lxxUeEjg_BTNJtlYmCHZ1qDH0sBSkqk,4333
314
315
  khoj/processor/content/github/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -320,7 +321,7 @@ khoj/processor/content/markdown/markdown_to_entries.py,sha256=3ZXkJtehcVcMrNY6V4
320
321
  khoj/processor/content/notion/notion_to_entries.py,sha256=aFu41uynXTDU5TjXJhGpE6kYNDzXTB98NX3ruJUomRY,9858
321
322
  khoj/processor/content/org_mode/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
322
323
  khoj/processor/content/org_mode/org_to_entries.py,sha256=UYlCJRaNwwuf9LobiprVSGECOOyNV0q3R1kVnmOdvE8,10251
323
- khoj/processor/content/org_mode/orgnode.py,sha256=C0j0e6iHAY3bKBIcM9PaytqoR9dQ1Qd6hNHzMN-Zeg0,18476
324
+ khoj/processor/content/org_mode/orgnode.py,sha256=DlHZICxbCRxqGxA_osYf1faxslxpSuIqbHco8oxAKKM,18478
324
325
  khoj/processor/content/pdf/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
325
326
  khoj/processor/content/pdf/pdf_to_entries.py,sha256=kROQUGqHs6J8Xi2rEHVgkc_iLMcSlhtyXTAL5yafsRo,4912
326
327
  khoj/processor/content/plaintext/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -329,11 +330,11 @@ khoj/processor/conversation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMp
329
330
  khoj/processor/conversation/prompts.py,sha256=ec_sldNbX-FHrc1h824_2_MREnwbbRpcYHFZhU_sOg4,46807
330
331
  khoj/processor/conversation/utils.py,sha256=EY25pM0RpAHrPBU718pe2Uc4iACWwQZXrN0GHsWFWs8,25462
331
332
  khoj/processor/conversation/anthropic/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
332
- khoj/processor/conversation/anthropic/anthropic_chat.py,sha256=rhMbwhT40I9_H1h_hnGcY_7G6_a5c50CGzdkKADEqZE,8435
333
+ khoj/processor/conversation/anthropic/anthropic_chat.py,sha256=jWmko9jzYqaojQmv_u8Iow5GzU0FPbCEslP4z9XufWQ,8521
333
334
  khoj/processor/conversation/anthropic/utils.py,sha256=6_FnsfLRqjkubkfMVmPTEEBzvMUOAccIz5AHV6B9mU8,6623
334
335
  khoj/processor/conversation/google/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
335
336
  khoj/processor/conversation/google/gemini_chat.py,sha256=uI9_KaS-8zPSvQGwO7-zYmcAwMO3J-HYOqWypRk6wDk,8677
336
- khoj/processor/conversation/google/utils.py,sha256=fJmzmk_BG2fPpiw827t5E-VuRRVD2Cb7ujIS78D2Q2w,10165
337
+ khoj/processor/conversation/google/utils.py,sha256=-Z5crXL6-xJraEX4qShbI3Y4PAqKi55PEWiEDPSi-LM,10205
337
338
  khoj/processor/conversation/offline/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
338
339
  khoj/processor/conversation/offline/chat_model.py,sha256=D1CSBPDhVQ3sJrdrk_iXbIJxzyyzctPHc0PA78bD3IM,10876
339
340
  khoj/processor/conversation/offline/utils.py,sha256=51McImxl6u1qgRYvMt7uzsgLGSLq5SMFy74ymlNjIcc,3033
@@ -349,7 +350,7 @@ khoj/processor/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hS
349
350
  khoj/processor/tools/online_search.py,sha256=33r3Huwh7RaBKCdHASgVP_qjpr8VhvNqnqrmRe2QINw,14627
350
351
  khoj/processor/tools/run_code.py,sha256=BmGIO8vBBkDSVJ_CnjcC-DKm_23Irht5w2DVNQHf548,4851
351
352
  khoj/routers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
352
- khoj/routers/api.py,sha256=TvkA4CopbxmSVjw_wQwuNY697ssE4EwmArEJLvvcE5c,28212
353
+ khoj/routers/api.py,sha256=aBr3AKMnloxcvmXIYommebpCQt_Kz1-CDdaG77vpy2c,28168
353
354
  khoj/routers/api_agents.py,sha256=4T0osmOGFmYC-BhdAkT5HpT2zaktlL7Agj47-To-jxo,9773
354
355
  khoj/routers/api_chat.py,sha256=PK6sJlSigQlW9psZWMxsPWS3OWhK6_4VLis7aa9vO3Q,46383
355
356
  khoj/routers/api_content.py,sha256=lWunOwVWYvnl1ue_D81g9ZSwBc0UxHmBIrdJoVPxN_A,17900
@@ -370,7 +371,7 @@ khoj/search_filter/date_filter.py,sha256=7MCXyeDy9TGG81IesLrgV7vnTUDXWe8xj8NeeES
370
371
  khoj/search_filter/file_filter.py,sha256=H47C8yoVMiSub8VWu8wHerlIq-PffFnB08Nm2OJyBE8,1146
371
372
  khoj/search_filter/word_filter.py,sha256=5Yx95aSiqGke9kEIbp8T-Ak4dS9cTd3VxI1SaJoK1wY,1005
372
373
  khoj/search_type/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
373
- khoj/search_type/text_search.py,sha256=1ukoAJtFnu3Eamv_W3D2WNP5rZDVslHxn1z1Yqi485c,9507
374
+ khoj/search_type/text_search.py,sha256=aDoRdwlREh1G0J-PZZUPhfL0arHP8f-g1DZDlT117qE,9450
374
375
  khoj/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
375
376
  khoj/utils/cli.py,sha256=AgO3rO-bN5oI71sIReGxrJXPeXEH80fnCIsyVlZYgjI,3695
376
377
  khoj/utils/config.py,sha256=aiOkH0je8A30DAGYTHMRePrgJonFv_i07_7CdhhhcdA,1805
@@ -383,8 +384,8 @@ khoj/utils/models.py,sha256=Q5tcC9-z25sCiub048fLnvZ6_IIO1bcPNxt5payekk0,2009
383
384
  khoj/utils/rawconfig.py,sha256=kURDuk7x0MDtniGLU4x1IsvU4UIBS-V9dSM4GD8X-LY,4274
384
385
  khoj/utils/state.py,sha256=x4GTewP1YhOA6c_32N4wOjnV-3AA3xG_qbY1-wC2Uxc,1559
385
386
  khoj/utils/yaml.py,sha256=qy1Tkc61rDMesBw_Cyx2vOR6H-Hngcsm5kYfjwQBwkE,1543
386
- khoj-1.28.3.dev1.dist-info/METADATA,sha256=hEoS7cQVsKK-rjeRFQ9AS_bXueSgqd8EkUi6PTCnT40,7074
387
- khoj-1.28.3.dev1.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
388
- khoj-1.28.3.dev1.dist-info/entry_points.txt,sha256=KBIcez5N_jCgq_ER4Uxf-e1lxTBMTE_BBjMwwfeZyAg,39
389
- khoj-1.28.3.dev1.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
390
- khoj-1.28.3.dev1.dist-info/RECORD,,
387
+ khoj-1.28.4.dev7.dist-info/METADATA,sha256=05Jup24eqUUo8LICtGbw7w6eToroN3M_Hn18TZvWHQA,7074
388
+ khoj-1.28.4.dev7.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
389
+ khoj-1.28.4.dev7.dist-info/entry_points.txt,sha256=KBIcez5N_jCgq_ER4Uxf-e1lxTBMTE_BBjMwwfeZyAg,39
390
+ khoj-1.28.4.dev7.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
391
+ khoj-1.28.4.dev7.dist-info/RECORD,,
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8423],{38423:function(e,t,n){"use strict";n.d(t,{a:function(){return S}});var a=n(57437),s=n(37649),r=n.n(s),l=n(2265),o=n(11838),i=n.n(o);n(7395);var c=n(35719),d=n(86819),u=n(77689),h=n(86829),f=n(33009),g=n(51091),m=n(82119),x=n(42491),p=n(6780),j=n(50495),b=n(70571),v=n(19573),w=n(61485),y=n(93146),N=n(19666),C=n(58575),k=n(66820),R=n(9557),D=n(58485),E=n(89417);let S=(0,l.forwardRef)((e,t)=>{let[n,s]=(0,l.useState)(""),o=(0,l.useRef)(null),[S,O]=(0,l.useState)(null),[T,z]=(0,l.useState)(null),[M,I]=(0,l.useState)(!1),[_,L]=(0,l.useState)(null),[A,U]=(0,l.useState)(!1),[F,P]=(0,l.useState)(!1),[W,Y]=(0,l.useState)([]),[$,J]=(0,l.useState)([]),[H,K]=(0,l.useState)(!1),[B,Z]=(0,l.useState)(null),[V,X]=(0,l.useState)(0),[q,G]=(0,l.useState)(!1),[Q,ee]=(0,l.useState)(!1),[et,en]=(0,l.useState)(e.isResearchModeEnabled||!1);function ea(){if(F&&(P(!1),Y([]),$.forEach(t=>e.sendImage(t))),!n.trim())return;if(!e.isLoggedIn){L("Hey there, you need to be signed in to send messages to Khoj AI"),U(!0);return}let t=n.trim();et&&!t.startsWith("/research")&&(t="/research ".concat(t)),e.sendMessage(t),s("")}function es(n){var a,s;if(!e.isLoggedIn){L("Please login to chat with your files"),U(!0);return}let r=["jpg","jpeg","png","webp"],l=[];for(let e=0;e<n.length;e++){let t=n[e],a=t.name.split(".").pop();r.includes(a||"")&&l.push(i().sanitize(URL.createObjectURL(t)))}if(l.length>0){P(!0),Y(e=>[...e,...l]),null==t||null===(s=t.current)||void 0===s||s.focus();return}(0,R.ko)(n,O,I,z,e.setUploadedFiles,e.conversationId),null==t||null===(a=t.current)||void 0===a||a.focus()}async function er(){try{let e=await navigator.mediaDevices.getUserMedia({audio:!0}),t=new MediaRecorder(e,{mimeType:"audio/webm"}),n=[];t.ondataavailable=async e=>{n.push(e.data);let t=new Blob(n,{type:"audio/webm"}),a=new FormData;a.append("file",t);try{let e=await fetch("/api/transcribe",{method:"POST",body:a});if(!e.ok)throw Error("Network response was not ok");let t=await e.json();s(t.text.trim())}catch(e){console.error("Error sending audio to server:",e)}},t.start(1500),t.onstop=async()=>{let e=new Blob(n,{type:"audio/webm"}),a=new FormData;a.append("file",e);try{let e=await fetch("/api/transcribe",{method:"POST",body:a});if(!e.ok)throw Error("Network response was not ok");let n=await e.json();t.stream.getTracks().forEach(e=>e.stop()),Z(null),s(n.text.trim())}catch(e){console.error("Error sending audio to server:",e)}},Z(t)}catch(e){console.error("Error getting microphone",e)}}return(0,l.useEffect)(()=>{if(M||X(0),M){let e=setInterval(()=>{X(e=>{let t=e+(Math.floor(5*Math.random())+1);return t<100?t:100})},800);return()=>clearInterval(e)}},[M]),(0,l.useEffect)(()=>{async function e(){W.length>0&&J(await Promise.all(W.map(async e=>{let t=await fetch(e),n=await t.blob();return new Promise(e=>{let t=new FileReader;t.onload=()=>e(t.result),t.readAsDataURL(n)})}))),I(!1)}I(!0),e()},[W]),(0,l.useEffect)(()=>{e.isResearchModeEnabled&&en(e.isResearchModeEnabled)},[e.isResearchModeEnabled]),(0,l.useEffect)(()=>{!H&&B&&B.stop(),H&&!B&&er()},[H,B]),(0,l.useEffect)(()=>{(null==t?void 0:t.current)&&(t.current.style.height="auto",t.current.style.height=Math.max(t.current.scrollHeight-24,64)+"px",n.startsWith("/")&&1===n.split(" ").length?ee(!0):ee(!1))},[n]),(0,a.jsxs)(a.Fragment,{children:[A&&_&&(0,a.jsx)(k.Z,{onOpenChange:U,loginRedirectMessage:_}),M&&(0,a.jsx)(p.aR,{open:M,children:(0,a.jsxs)(p._T,{children:[(0,a.jsx)(p.fY,{children:(0,a.jsx)(p.f$,{children:"Uploading data. Please wait."})}),(0,a.jsx)(p.yT,{children:(0,a.jsx)(b.E,{indicatorColor:"bg-slate-500",className:"w-full h-2 rounded-full",value:V})}),(0,a.jsx)(p.OL,{className:"bg-slate-400 hover:bg-slate-500",onClick:()=>I(!1),children:"Dismiss"})]})}),S&&(0,a.jsx)(p.aR,{open:null!==S,children:(0,a.jsxs)(p._T,{children:[(0,a.jsx)(p.fY,{children:(0,a.jsx)(p.f$,{children:"Data Upload Warning"})}),(0,a.jsx)(p.yT,{children:S}),(0,a.jsx)(p.OL,{className:"bg-slate-400 hover:bg-slate-500",onClick:()=>O(null),children:"Close"})]})}),T&&(0,a.jsx)(p.aR,{open:null!==T,children:(0,a.jsxs)(p._T,{children:[(0,a.jsxs)(p.fY,{children:[(0,a.jsx)(p.f$,{children:"Oh no!"}),(0,a.jsx)(p.yT,{children:"Something went wrong while uploading your data"})]}),(0,a.jsx)(p.yT,{children:T}),(0,a.jsx)(p.OL,{className:"bg-slate-400 hover:bg-slate-500",onClick:()=>z(null),children:"Close"})]})}),Q&&(0,a.jsx)("div",{className:"flex justify-center text-center",children:(0,a.jsxs)(v.J2,{open:Q,onOpenChange:ee,children:[(0,a.jsx)(w.xo,{className:"flex justify-center text-center"}),(0,a.jsx)(v.yk,{onOpenAutoFocus:e=>e.preventDefault(),className:"".concat(e.isMobileWidth?"w-[100vw]":"w-full"," rounded-md"),side:"bottom",align:"center",sideOffset:e.conversationId?0:80,alignOffset:0,children:(0,a.jsxs)(x.mY,{className:"max-w-full",children:[(0,a.jsx)(x.sZ,{placeholder:"Type a command or search...",value:n,className:"hidden"}),(0,a.jsxs)(x.e8,{children:[(0,a.jsx)(x.rb,{children:"No matching commands."}),(0,a.jsx)(x.fu,{heading:"Agent Tools",children:e.chatOptionsData&&Object.entries(e.chatOptionsData).map(e=>{let[t,n]=e;return(0,a.jsx)(x.di,{className:"text-md",onSelect:()=>{s("/".concat(t," "))},children:(0,a.jsxs)("div",{className:"grid grid-cols-1 gap-1",children:[(0,a.jsxs)("div",{className:"font-bold flex items-center",children:[(0,E.vH)(t,"h-4 w-4 mr-2"),"/",t]}),(0,a.jsx)("div",{children:n})]})},t)})}),(0,a.jsx)(x.zz,{})]})]})})]})}),(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"".concat(r().actualInputArea," justify-between dark:bg-neutral-700 relative ").concat(q&&"animate-pulse"),onDragOver:function(e){e.preventDefault(),G(!0)},onDragLeave:function(e){e.preventDefault(),G(!1)},onDrop:function(e){e.preventDefault(),G(!1),e.dataTransfer.files&&es(e.dataTransfer.files)},children:[(0,a.jsx)("input",{type:"file",multiple:!0,ref:o,onChange:function(e){e.target.files&&es(e.target.files)},style:{display:"none"}}),(0,a.jsx)("div",{className:"flex items-center",children:(0,a.jsx)(j.z,{variant:"ghost",className:"!bg-none p-0 m-2 h-auto text-3xl rounded-full text-gray-300 hover:text-gray-500",disabled:e.sendDisabled,onClick:function(){o.current&&o.current.click()},children:(0,a.jsx)(c.p,{className:"w-8 h-8"})})}),(0,a.jsxs)("div",{className:"flex-grow flex flex-col w-full gap-1.5 relative",children:[(0,a.jsx)("div",{className:"flex items-center gap-2 overflow-x-auto",children:F&&W.map((e,t)=>(0,a.jsxs)("div",{className:"relative flex-shrink-0 pb-3 pt-2 group",children:[(0,a.jsx)("img",{src:e,alt:"img-".concat(t),className:"w-auto h-16 object-cover rounded-xl"}),(0,a.jsx)(j.z,{variant:"ghost",size:"icon",className:"absolute -top-0 -right-2 h-5 w-5 rounded-full bg-neutral-200 dark:bg-neutral-600 hover:bg-neutral-300 dark:hover:bg-neutral-500 opacity-0 group-hover:opacity-100 transition-opacity",onClick:()=>{Y(e=>e.filter((e,n)=>n!==t)),J(e=>e.filter((e,n)=>n!==t)),1===W.length&&P(!1)},children:(0,a.jsx)(d.X,{className:"h-3 w-3"})})]},t))}),(0,a.jsx)(y.g,{ref:t,className:"border-none focus:border-none\n focus:outline-none focus-visible:ring-transparent\n w-full h-16 min-h-16 max-h-[128px] md:py-4 rounded-lg resize-none dark:bg-neutral-700\n ".concat(e.isMobileWidth?"text-md":"text-lg"),placeholder:"Type / to see a list of commands",id:"message",autoFocus:!0,value:n,onKeyDown:t=>{"Enter"!==t.key||t.shiftKey||e.isMobileWidth||(P(!1),Y([]),t.preventDefault(),ea())},onChange:e=>s(e.target.value),disabled:e.sendDisabled||H})]}),(0,a.jsxs)("div",{className:"flex items-center",children:[H?(0,a.jsx)(N.pn,{children:(0,a.jsxs)(N.u,{children:[(0,a.jsx)(N.aJ,{asChild:!0,children:(0,a.jsx)(j.z,{variant:"default",className:"".concat(!H&&"hidden"," ").concat(e.agentColor?(0,C.tp)(e.agentColor):"bg-orange-300 hover:bg-orange-500"," rounded-full p-1 m-2 h-auto text-3xl transition transform md:hover:-translate-y-1"),onClick:()=>{K(!H)},disabled:e.sendDisabled,children:(0,a.jsx)(u.d,{weight:"fill",className:"w-6 h-6"})})}),(0,a.jsx)(N._v,{children:"Click to stop recording and transcribe your voice."})]})}):B?(0,a.jsx)(D.l,{}):(0,a.jsx)(N.pn,{children:(0,a.jsxs)(N.u,{children:[(0,a.jsx)(N.aJ,{asChild:!0,children:(0,a.jsx)(j.z,{variant:"default",className:"".concat(!n||H||"hidden"," ").concat(e.agentColor?(0,C.tp)(e.agentColor):"bg-orange-300 hover:bg-orange-500"," rounded-full p-1 m-2 h-auto text-3xl transition transform md:hover:-translate-y-1"),onClick:()=>{s("Listening..."),K(!H)},disabled:e.sendDisabled,children:(0,a.jsx)(h.P,{weight:"fill",className:"w-6 h-6"})})}),(0,a.jsx)(N._v,{children:"Click to transcribe your message with voice."})]})}),(0,a.jsx)(j.z,{className:"".concat((!n||H)&&"hidden"," ").concat(e.agentColor?(0,C.tp)(e.agentColor):"bg-orange-300 hover:bg-orange-500"," rounded-full p-1 m-2 h-auto text-3xl transition transform md:hover:-translate-y-1"),onClick:ea,disabled:e.sendDisabled,children:(0,a.jsx)(f.a,{className:"w-6 h-6",weight:"bold"})})]})]}),(0,a.jsx)(N.pn,{children:(0,a.jsxs)(N.u,{children:[(0,a.jsx)(N.aJ,{asChild:!0,children:(0,a.jsxs)(j.z,{variant:"ghost",className:"float-right justify-center gap-1 flex items-center p-1.5 mr-2 h-fit",onClick:()=>{var e;en(!et),null==t||null===(e=t.current)||void 0===e||e.focus()},children:[(0,a.jsx)("span",{className:"text-muted-foreground text-sm",children:"Research Mode"}),et?(0,a.jsx)(g.W,{className:"w-6 h-6 inline-block ".concat(e.agentColor?(0,C.oz)(e.agentColor):(0,C.oz)("orange")," rounded-full")}):(0,a.jsx)(m.$,{className:"w-6 h-6 inline-block rounded-full"})]})}),(0,a.jsx)(N._v,{className:"text-xs",children:"(Experimental) Research Mode allows you to get more deeply researched, detailed responses. Response times may be longer."})]})})]})]})});S.displayName="ChatInputArea"},66820:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var a=n(57437),s=n(6780),r=n(87138);function l(e){return(0,a.jsx)(s.aR,{open:!0,onOpenChange:e.onOpenChange,children:(0,a.jsxs)(s._T,{children:[(0,a.jsx)(s.fY,{children:(0,a.jsx)(s.f$,{children:"Sign in to Khoj to continue"})}),(0,a.jsxs)(s.yT,{children:[e.loginRedirectMessage,". By logging in, you agree to our"," ",(0,a.jsx)(r.default,{href:"https://khoj.dev/terms-of-service",children:"Terms of Service."})]}),(0,a.jsxs)(s.xo,{children:[(0,a.jsx)(s.le,{children:"Dismiss"}),(0,a.jsx)(s.OL,{className:"bg-slate-400 hover:bg-slate-500",onClick:()=>{window.location.href="/login?next=".concat(encodeURIComponent(window.location.pathname))},children:(0,a.jsxs)(r.default,{href:"/login?next=".concat(encodeURIComponent(window.location.pathname)),children:[" ","Login"]})})]})]})})}},70571:function(e,t,n){"use strict";n.d(t,{E:function(){return o}});var a=n(57437),s=n(2265),r=n(52431),l=n(37440);let o=s.forwardRef((e,t)=>{let{className:n,value:s,indicatorColor:o,...i}=e;return(0,a.jsx)(r.fC,{ref:t,className:(0,l.cn)("relative h-4 w-full overflow-hidden rounded-full bg-secondary",n),...i,children:(0,a.jsx)(r.z$,{className:"h-full w-full flex-1 bg-primary transition-all ".concat(o),style:{transform:"translateX(-".concat(100-(s||0),"%)")}})})});o.displayName=r.fC.displayName},93146:function(e,t,n){"use strict";n.d(t,{g:function(){return l}});var a=n(57437),s=n(2265),r=n(37440);let l=s.forwardRef((e,t)=>{let{className:n,...s}=e;return(0,a.jsx)("textarea",{className:(0,r.cn)("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",n),ref:t,...s})});l.displayName="Textarea"},19666:function(e,t,n){"use strict";n.d(t,{_v:function(){return d},aJ:function(){return c},pn:function(){return o},u:function(){return i}});var a=n(57437),s=n(2265),r=n(27071),l=n(37440);let o=r.zt,i=r.fC,c=r.xz,d=s.forwardRef((e,t)=>{let{className:n,sideOffset:s=4,...o}=e;return(0,a.jsx)(r.VY,{ref:t,sideOffset:s,className:(0,l.cn)("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",n),...o})});d.displayName=r.VY.displayName},37649:function(e){e.exports={actualInputArea:"chatInputArea_actualInputArea__Ha6cN"}}}]);