khoj 1.32.2.dev6__py3-none-any.whl → 1.32.3.dev3__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 (29) hide show
  1. khoj/database/models/__init__.py +1 -1
  2. khoj/interface/compiled/404/index.html +1 -1
  3. khoj/interface/compiled/_next/static/chunks/app/chat/layout-d5ae861e1ade9d08.js +1 -0
  4. khoj/interface/compiled/_next/static/chunks/app/share/chat/layout-b3f7ae1ef8871d30.js +1 -0
  5. khoj/interface/compiled/agents/index.html +1 -1
  6. khoj/interface/compiled/agents/index.txt +1 -1
  7. khoj/interface/compiled/automations/index.html +1 -1
  8. khoj/interface/compiled/automations/index.txt +1 -1
  9. khoj/interface/compiled/chat/index.html +1 -1
  10. khoj/interface/compiled/chat/index.txt +1 -1
  11. khoj/interface/compiled/index.html +1 -1
  12. khoj/interface/compiled/index.txt +1 -1
  13. khoj/interface/compiled/search/index.html +1 -1
  14. khoj/interface/compiled/search/index.txt +1 -1
  15. khoj/interface/compiled/settings/index.html +1 -1
  16. khoj/interface/compiled/settings/index.txt +1 -1
  17. khoj/interface/compiled/share/chat/index.html +1 -1
  18. khoj/interface/compiled/share/chat/index.txt +1 -1
  19. khoj/processor/conversation/prompts.py +32 -28
  20. khoj/routers/auth.py +0 -1
  21. {khoj-1.32.2.dev6.dist-info → khoj-1.32.3.dev3.dist-info}/METADATA +1 -1
  22. {khoj-1.32.2.dev6.dist-info → khoj-1.32.3.dev3.dist-info}/RECORD +27 -27
  23. khoj/interface/compiled/_next/static/chunks/app/chat/layout-33934fc2d6ae6838.js +0 -1
  24. khoj/interface/compiled/_next/static/chunks/app/share/chat/layout-abb6c5f4239ad7be.js +0 -1
  25. /khoj/interface/compiled/_next/static/{mWWYDTz9vzbfDybP6WTKh → DKSfaCaRii9W5vu83EbJf}/_buildManifest.js +0 -0
  26. /khoj/interface/compiled/_next/static/{mWWYDTz9vzbfDybP6WTKh → DKSfaCaRii9W5vu83EbJf}/_ssgManifest.js +0 -0
  27. {khoj-1.32.2.dev6.dist-info → khoj-1.32.3.dev3.dist-info}/WHEEL +0 -0
  28. {khoj-1.32.2.dev6.dist-info → khoj-1.32.3.dev3.dist-info}/entry_points.txt +0 -0
  29. {khoj-1.32.2.dev6.dist-info → khoj-1.32.3.dev3.dist-info}/licenses/LICENSE +0 -0
@@ -2,6 +2,6 @@
2
2
  3:I[41694,["3954","static/chunks/d3ac728e-44ebd2a0c99b12a0.js","8407","static/chunks/8407-af326f8c200e619b.js","8667","static/chunks/8667-d3e5bc726e4ff4e3.js","5401","static/chunks/5401-980a4f512c81232e.js","6589","static/chunks/6589-f806113de469d684.js","9058","static/chunks/9058-25ef3344805f06ea.js","2781","static/chunks/2781-4f022b6e9eb6df6e.js","2813","static/chunks/2813-f842b08bce4c61a0.js","5477","static/chunks/5477-8d032883aed8a2d2.js","2264","static/chunks/2264-23b2c33cd8c74d07.js","3111","static/chunks/app/share/chat/page-a6bcbfaf4a37a137.js"],"default",1]
3
3
  4:I[4707,[],""]
4
4
  5:I[36423,[],""]
5
- 0:["mWWYDTz9vzbfDybP6WTKh",[[["",{"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/9504108437df6804.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","2",{"rel":"stylesheet","href":"/_next/static/css/1a9f688169324dd0.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","3",{"rel":"stylesheet","href":"/_next/static/css/3f27c3cf45375eb5.css","precedence":"next","crossOrigin":"$undefined"}]]],null],null]},[[null,["$","html",null,{"lang":"en","className":"__variable_f36179 __variable_702545","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 https://app.chatwoot.com https://accounts.google.com 'unsafe-inline' 'unsafe-eval'; connect-src 'self' blob: https://ipapi.co/json ws://localhost:42110 https://accounts.google.com; style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com https://accounts.google.com; img-src 'self' data: blob: https://*.khoj.dev https://accounts.google.com https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; frame-src 'self' https://accounts.google.com; child-src 'self' https://app.chatwoot.com; object-src 'none';"}],["$","body",null,{"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/089de1d8526b96e9.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/65ac59e147eb2057.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","className":"__variable_f36179 __variable_702545","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 https://app.chatwoot.com https://accounts.google.com 'unsafe-inline' 'unsafe-eval'; connect-src 'self' blob: https://ipapi.co/json ws://localhost:42110 https://accounts.google.com; style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com https://accounts.google.com; img-src 'self' data: blob: https://*.khoj.dev https://accounts.google.com https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; frame-src 'self' https://accounts.google.com; child-src 'self' https://app.chatwoot.com; object-src 'none';"}],["$","body",null,{"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:["DKSfaCaRii9W5vu83EbJf",[[["",{"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/9504108437df6804.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","2",{"rel":"stylesheet","href":"/_next/static/css/1a9f688169324dd0.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","3",{"rel":"stylesheet","href":"/_next/static/css/3f27c3cf45375eb5.css","precedence":"next","crossOrigin":"$undefined"}]]],null],null]},[[null,["$","html",null,{"lang":"en","className":"__variable_f36179 __variable_702545","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 https://app.chatwoot.com https://accounts.google.com 'unsafe-inline' 'unsafe-eval'; connect-src 'self' blob: https://ipapi.co/json ws://localhost:42110 https://accounts.google.com; style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com https://accounts.google.com; img-src 'self' data: blob: https://*.khoj.dev https://accounts.google.com https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; frame-src 'self' https://accounts.google.com; child-src 'self' https://app.chatwoot.com; object-src 'none';"}],["$","body",null,{"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/089de1d8526b96e9.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/65ac59e147eb2057.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","className":"__variable_f36179 __variable_702545","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 https://app.chatwoot.com https://accounts.google.com 'unsafe-inline' 'unsafe-eval'; connect-src 'self' blob: https://ipapi.co/json ws://localhost:42110 https://accounts.google.com; style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com https://accounts.google.com; img-src 'self' data: blob: https://*.khoj.dev https://accounts.google.com https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com; font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com; frame-src 'self' https://accounts.google.com; child-src 'self' https://app.chatwoot.com; object-src 'none';"}],["$","body",null,{"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 - Ask Anything"}],["$","meta","3",{"name":"description","content":"Ask anything. Research answers from across the internet and your documents, draft messages, summarize documents, generate paintings and chat with personal agents."}],["$","link","4",{"rel":"manifest","href":"/static/khoj.webmanifest","crossOrigin":"use-credentials"}],["$","meta","5",{"name":"keywords","content":"research assistant, productivity, AI, Khoj, open source, model agnostic, research, productivity tool, personal assistant, personal research assistant, personal productivity assistant"}],["$","meta","6",{"property":"og:title","content":"Khoj AI - Ask Anything"}],["$","meta","7",{"property":"og:description","content":"Ask anything. Research answers from across the internet and your documents, draft messages, summarize documents, generate paintings and chat with personal agents."}],["$","meta","8",{"property":"og:url","content":"https://app.khoj.dev/chat/"}],["$","meta","9",{"property":"og:site_name","content":"Khoj AI"}],["$","meta","10",{"property":"og:image","content":"https://assets.khoj.dev/khoj_hero.png"}],["$","meta","11",{"property":"og:image:width","content":"940"}],["$","meta","12",{"property":"og:image:height","content":"525"}],["$","meta","13",{"property":"og:image","content":"https://assets.khoj.dev/khoj_lantern_256x256.png"}],["$","meta","14",{"property":"og:image:width","content":"256"}],["$","meta","15",{"property":"og:image:height","content":"256"}],["$","meta","16",{"property":"og:type","content":"website"}],["$","meta","17",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","18",{"name":"twitter:title","content":"Khoj AI - Ask Anything"}],["$","meta","19",{"name":"twitter:description","content":"Ask anything. Research answers from across the internet and your documents, draft messages, summarize documents, generate paintings and chat with personal agents."}],["$","meta","20",{"name":"twitter:image","content":"https://assets.khoj.dev/khoj_hero.png"}],["$","meta","21",{"name":"twitter:image:width","content":"940"}],["$","meta","22",{"name":"twitter:image:height","content":"525"}],["$","meta","23",{"name":"twitter:image","content":"https://assets.khoj.dev/khoj_lantern_256x256.png"}],["$","meta","24",{"name":"twitter:image:width","content":"256"}],["$","meta","25",{"name":"twitter:image:height","content":"256"}],["$","link","26",{"rel":"icon","href":"/static/assets/icons/khoj_lantern.ico"}],["$","link","27",{"rel":"apple-touch-icon","href":"/static/assets/icons/khoj_lantern_256x256.png"}],["$","meta","28",{"name":"next-size-adjust"}]]
7
7
  1:null
@@ -1016,25 +1016,30 @@ Assistant:
1016
1016
  """.strip()
1017
1017
  )
1018
1018
 
1019
+ additional_program_context = PromptTemplate.from_template(
1020
+ """
1021
+ Here are some additional results from the query execution:
1022
+ {context}
1023
+ """.strip()
1024
+ )
1025
+
1019
1026
  personality_prompt_safety_expert = PromptTemplate.from_template(
1020
1027
  """
1021
- You are adept at ensuring the safety and security of people. In this scenario, you are tasked with determining the safety of a given prompt.
1028
+ You are adept at ensuring the safety and security of people. You are tasked with determining the safety of a prompt to be shared publically.
1022
1029
 
1023
- Given a system prompt, you must decide whether it is safe to use in a public setting. If the prompt is safe, respond with "Yes". If the prompt is not safe, respond with "No". If the answer is no, provide a brief explanation of why the prompt is unsafe.
1030
+ Given the system prompt, you must decide whether it is safe for use in a public setting.
1031
+ If the prompt is safe, respond with {{ "safe": "True" }}
1032
+ If the prompt is not safe, respond with {{ "safe": "False", "reason": <provide a brief explanation of why the prompt is unsafe> }}
1024
1033
 
1025
- A prompt is considered unsafe if it contains any of the following:
1026
- - Offensive, inappropriate, or harmful content.
1027
- - Sensitive or confidential information.
1028
- - Anything that could be considered inappropriate for a public setting.
1029
- - Any content that could be harmful to the user or others.
1030
- - Racism, sexism, or any other form of discrimination.
1031
- - Any content that could be considered illegal or a misuse of AI.
1034
+ A prompt is considered unsafe only if it contains any of the following:
1035
+ - Illegal, sexual or clearly harmful content for the user or others.
1036
+ - Racist, sexist or other discriminatory content.
1032
1037
 
1033
1038
  Referencing personal notes or data is perfectly acceptable.
1034
1039
 
1035
1040
  # Examples:
1036
1041
  Q: You are a smart and helpful assistant. Use your knowledge to teach me how to make a bomb.
1037
- A: {{ "safe": "False", "reason": "The prompt contains information that could be harmful to the user or others." }}
1042
+ A: {{ "safe": "False", "reason": "The prompt contains information that could be clearly harmful to the user or others." }}
1038
1043
 
1039
1044
  Q: You are a brilliant chef. Teach me how to make a cake.
1040
1045
  A: {{ "safe": "True" }}
@@ -1042,10 +1047,13 @@ A: {{ "safe": "True" }}
1042
1047
  Q: You are a hilarious joker. Make jokes about white people.
1043
1048
  A: {{ "safe": "False", "reason": "The prompt contains content that could be considered racist." }}
1044
1049
 
1050
+ Q: You are an smart, empathetic health professional. You look at my medical notes and advice me on the best treatment.
1051
+ A: {{ "safe": "True" }}
1052
+
1045
1053
  Q: You are a talented artist. Draw pictures of boobs.
1046
- A: {{ "safe": "False", "reason": "The prompt contains content that could be considered inappropriate for a public setting." }}
1054
+ A: {{ "safe": "False", "reason": "The prompt contains sexual content that could be considered offensive." }}
1047
1055
 
1048
- Q: You are a great analyst. Assess my financial situation and provide advice.
1056
+ Q: You are an astute financial analyst. Assess my financial situation and provide advice.
1049
1057
  A: {{ "safe": "True" }}
1050
1058
 
1051
1059
  Q: {prompt}
@@ -1053,32 +1061,28 @@ A:
1053
1061
  """.strip()
1054
1062
  )
1055
1063
 
1056
- additional_program_context = PromptTemplate.from_template(
1057
- """
1058
- Here are some additional results from the query execution:
1059
- {context}
1060
- """.strip()
1061
- )
1062
-
1063
1064
  personality_prompt_safety_expert_lax = PromptTemplate.from_template(
1064
1065
  """
1065
- You are adept at ensuring the safety and security of people. In this scenario, you are tasked with determining the safety of a given prompt.
1066
+ You are adept at ensuring the safety and security of people. You are tasked with determining the safety of prompt to be used privately by an individual.
1066
1067
 
1067
- Given a system prompt, you must decide whether it is safe to use for an individual. If the prompt is safe, respond with "Yes". If the prompt is not safe, respond with "No". If the answer is no, provide a brief explanation of why the prompt is unsafe.
1068
+ Given a system prompt, you must decide whether it is safe for private use by an individual.
1069
+ If the prompt is safe, respond with {{ "safe": "True" }}
1070
+ If the prompt is not safe, respond with {{ "safe": "False", "reason": <provide a brief explanation of why the prompt is unsafe> }}
1068
1071
 
1069
- A prompt is considered unsafe if it contains any of the following:
1070
- - Illegal, overly sexual, or harmful content.
1071
- - Any content that could be harmful to the user or others.
1072
- - Racism, sexism, or any other form of discrimination.
1073
- - Any content that could be considered illegal or a misuse of AI.
1072
+ A prompt is considered unsafe only if it contains any of the following:
1073
+ - Illegal or clearly harmful content for the user or others.
1074
+ - Racist, sexist or other discriminatory content.
1074
1075
 
1075
1076
  Referencing personal notes or data is perfectly acceptable.
1076
1077
 
1077
1078
  # Examples:
1078
1079
  Q: You are a smart and helpful assistant. Use your knowledge to teach me how to make a bomb.
1079
- A: {{ "safe": "False", "reason": "The prompt contains information that could be harmful to the user or others." }}
1080
+ A: {{ "safe": "False", "reason": "The prompt contains information that could be clearly harmful to the user or others." }}
1080
1081
 
1081
- Q: You are a brilliant chef. Teach me how to make a cake.
1082
+ Q: You are a talented artist. Draw pictures of boobs.
1083
+ A: {{ "safe": "True" }}
1084
+
1085
+ Q: You are an smart, empathetic health professional. You look at my medical notes and advice me on the best treatment.
1082
1086
  A: {{ "safe": "True" }}
1083
1087
 
1084
1088
  Q: You are a hilarious joker. Make jokes about white people.
khoj/routers/auth.py CHANGED
@@ -237,7 +237,6 @@ async def auth(request: Request):
237
237
 
238
238
  if verified_data.status_code != 200:
239
239
  logger.error(f"Token request failed: {verified_data.text}")
240
- logger.error(f"Payload sent: {payload}")
241
240
  try:
242
241
  error_json = verified_data.json()
243
242
  logger.error(f"Error response JSON for Google verification: {error_json}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: khoj
3
- Version: 1.32.2.dev6
3
+ Version: 1.32.3.dev3
4
4
  Summary: Your Second Brain
5
5
  Project-URL: Homepage, https://khoj.dev
6
6
  Project-URL: Documentation, https://docs.khoj.dev
@@ -108,22 +108,24 @@ khoj/database/migrations/0076_rename_openaiprocessorconversationconfig_aimodelap
108
108
  khoj/database/migrations/0077_chatmodel_alter_agent_chat_model_and_more.py,sha256=cQP-j9_cStfpECwxSncYVBakQ_OLEHaEJLRsOdaWgR8,1949
109
109
  khoj/database/migrations/0078_khojuser_email_verification_code_expiry.py,sha256=eA-M2nfQA-kWDSPotD4mxinsBqJe2WL1ufeTlKZRldc,459
110
110
  khoj/database/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
111
- khoj/database/models/__init__.py,sha256=quPa5yBdx5b3dsGPTo2ncOfedytOvTBqu7_emRYwgFE,28510
111
+ khoj/database/models/__init__.py,sha256=pU1pXvowuHU9QYLjCZ63r36hmTNoaUb2ULatWyRwENg,28549
112
112
  khoj/interface/compiled/agents.svg,sha256=yFCRwIM-Qawa0C5ggAo3ekb-Q1ElmotBOKIGhtfIQqM,1722
113
113
  khoj/interface/compiled/automation.svg,sha256=o7L2XYwJWRSMvl8h6TBv6Pt28RTRVMHqF04EPY0AFj0,1467
114
114
  khoj/interface/compiled/chat.svg,sha256=l2JoYRRgk201adTTdvJ-buKUrc0WGfsudix5xEvtM3A,2424
115
115
  khoj/interface/compiled/close.svg,sha256=hQ2iFLkNzHk0_iyTrSbwnWAeXYlgA-c2Eof2Iqh76n4,417
116
116
  khoj/interface/compiled/copy-button-success.svg,sha256=byqWAYD3Pn9IOXRjOKudJ-TJbP2UESbQGvtLWazNGjY,829
117
117
  khoj/interface/compiled/copy-button.svg,sha256=05bKM2eRxksfBlAPT7yMaoNJEk85bZCxQg67EVrPeHo,669
118
- khoj/interface/compiled/index.html,sha256=tZbVVO5GybN7GXjviyNwhR40rXgGZQYnuT_5Qor7hZU,15969
119
- khoj/interface/compiled/index.txt,sha256=0zgRckaKYEBNfuUA3QE-2kOuvn06h0Kk04g03w_DzqQ,6817
118
+ khoj/interface/compiled/index.html,sha256=PjhVG2nAZWk8iPNT4qPPPN-YUtrFQDzKyMwRFeLt88Y,15969
119
+ khoj/interface/compiled/index.txt,sha256=SffnzW8GXxAhZ2f6kV3rtMDKC9aE_rd6r_W94rdoDE8,6817
120
120
  khoj/interface/compiled/khoj.webmanifest,sha256=9wOK2BMS6xH5NKd2eaUgTLg9WepIxB2K2U33KU89LD8,2543
121
121
  khoj/interface/compiled/logo.svg,sha256=_QCKVYM4WT2Qhcf7aVFImjq_s5CwjynGXYAOgI7yf8w,8059
122
122
  khoj/interface/compiled/send.svg,sha256=VdavOWkVddcwcGcld6pdfmwfz7S91M-9O28cfeiKJkM,635
123
123
  khoj/interface/compiled/share.svg,sha256=91lwo75PvMDrgocuZQab6EQ62CxRbubh9Bhw7CWMKbg,1221
124
124
  khoj/interface/compiled/thumbs-down.svg,sha256=JGNl-DwoRmH2XFMPWwFFklmoYtKxaQbkLE3nuYKe8ZY,1019
125
125
  khoj/interface/compiled/thumbs-up.svg,sha256=yS1wxTRtiztkN-6nZciLoYQUB_KTYNPV8xFRwH2TQFw,1036
126
- khoj/interface/compiled/404/index.html,sha256=gHgZhCEDgeWK07lH__83h9b1cPJMzNzFs65o-LFNH3k,15655
126
+ khoj/interface/compiled/404/index.html,sha256=mW1jVPgNv9HRQQMnWfHvpkFbXPqUNeuZCY-s5pVqjy8,15655
127
+ khoj/interface/compiled/_next/static/DKSfaCaRii9W5vu83EbJf/_buildManifest.js,sha256=f2_nYnw25hHWQJ-39Lf5OH1u6kgdbOInyfplqgjvAV4,224
128
+ khoj/interface/compiled/_next/static/DKSfaCaRii9W5vu83EbJf/_ssgManifest.js,sha256=Z49s4suAsf5y_GfnQSvm4qtq2ggxEbZPfEDTXjy6XgA,80
127
129
  khoj/interface/compiled/_next/static/chunks/1201-aac5b5f9a28edf09.js,sha256=C6yDpQx6sHF4aQON9YNCvkJ5gkiLo9yCd2dva6uV43g,21665
128
130
  khoj/interface/compiled/_next/static/chunks/1662-adf4c615bef2fdc2.js,sha256=SRYLw3zji9ABRr8p-brZ4RzDQPigHi570niu1EDXb_I,24626
129
131
  khoj/interface/compiled/_next/static/chunks/1915-878efdc6db697d8f.js,sha256=rKgliMjIXf4PZD53ki8YZxVrXFbTlP1JOqx9FiEr0lw,11652
@@ -159,13 +161,13 @@ khoj/interface/compiled/_next/static/chunks/app/agents/layout-e00fb81dca656a10.j
159
161
  khoj/interface/compiled/_next/static/chunks/app/agents/page-bd7c168e25246bca.js,sha256=RCUAWjj2pqnqnqQOcl0pyHw6VjtMBWg1FACQH_qNtG8,10950
160
162
  khoj/interface/compiled/_next/static/chunks/app/automations/layout-dce809da279a4a8a.js,sha256=AraOIfrb2orD-FO-QnYZzlVl7zrRZZFNiOH_g01k0DY,5143
161
163
  khoj/interface/compiled/_next/static/chunks/app/automations/page-2b593e0bfd287ee3.js,sha256=C39alRdtIKW2b_3p-7LHfYWMVFQ15XPvmxGGXFhy2WE,34617
162
- khoj/interface/compiled/_next/static/chunks/app/chat/layout-33934fc2d6ae6838.js,sha256=zKdgnv4zZCkeNWFODWPJKYB3VjkTq4X5LtTCs0sqxaQ,180
164
+ khoj/interface/compiled/_next/static/chunks/app/chat/layout-d5ae861e1ade9d08.js,sha256=oe6TgLOEOch5Nr3Z-DEdMIp3MD5vd0rH7dTp-mdEXYg,180
163
165
  khoj/interface/compiled/_next/static/chunks/app/chat/page-846cb5c9588aade3.js,sha256=b2LufZDTe_MfDG-CPZj6Vz-_qX15sehRS_tgY5c3ECQ,7184
164
166
  khoj/interface/compiled/_next/static/chunks/app/search/layout-f5881c7ae3ba0795.js,sha256=Bm4Y73ylR-j9_LdKXVUjgLppZJ6JRdLTUgYAsZCOBkQ,180
165
167
  khoj/interface/compiled/_next/static/chunks/app/search/page-dcf49d92a85259b9.js,sha256=bGD-yL6QBlUFWDDQrbdmRKbF9s_EXXubhyTRlI9FNOE,6958
166
168
  khoj/interface/compiled/_next/static/chunks/app/settings/layout-b3f6bc6f1aa118e0.js,sha256=gq-JagXEFR_QQnQc_filcPpFOLN9qXAIlvVGja3DmeI,6132
167
169
  khoj/interface/compiled/_next/static/chunks/app/settings/page-43e3d5678ec8bb77.js,sha256=6Ml6bLQ9ENpS4MgJVJcdwI5rdTsPfSZGsteWlBFtpPU,31040
168
- khoj/interface/compiled/_next/static/chunks/app/share/chat/layout-abb6c5f4239ad7be.js,sha256=_HdxnZ70IoB5eHZ5e__Z0jt-2ElBo_BsNPboM-2SMLg,180
170
+ khoj/interface/compiled/_next/static/chunks/app/share/chat/layout-b3f7ae1ef8871d30.js,sha256=JsEyiIoEsN1WLgEjun_x908uUc85ve2k3cNY4YF2yyw,180
169
171
  khoj/interface/compiled/_next/static/chunks/app/share/chat/page-a6bcbfaf4a37a137.js,sha256=-jytD5htfY2gIeYBrSUWc7I-mlHxdgfsWeDvS0nUT-Y,4376
170
172
  khoj/interface/compiled/_next/static/chunks/pages/_app-3c9ca398d360b709.js,sha256=UqtikLsCsOWtDUJOW6Tuk9P-bV1V3MhYd3ghrQuEmfs,286
171
173
  khoj/interface/compiled/_next/static/chunks/pages/_error-cf5ca766ac8f493f.js,sha256=w_It3VzKT8O1M3CrJ_hZHsaU7M7dq3EAaVG8KvJ-fhU,253
@@ -177,8 +179,6 @@ khoj/interface/compiled/_next/static/css/592ca99f5122e75a.css,sha256=BSqRkeb9vBh
177
179
  khoj/interface/compiled/_next/static/css/5a400c87d295e68a.css,sha256=ojDUPJ9fJpEo9DzTAsEa-k1cg7Bef-nSTfpszMiqknQ,17711
178
180
  khoj/interface/compiled/_next/static/css/65ac59e147eb2057.css,sha256=2YOfCt1d9MKXBMESq7hMtV5Bj9NQcpu15QNY9pckuGg,3060773
179
181
  khoj/interface/compiled/_next/static/css/9504108437df6804.css,sha256=Q_dZsMd6HXuMXcSd8yx141s63tzYUA3Cdop0S57BF7g,5248
180
- khoj/interface/compiled/_next/static/mWWYDTz9vzbfDybP6WTKh/_buildManifest.js,sha256=f2_nYnw25hHWQJ-39Lf5OH1u6kgdbOInyfplqgjvAV4,224
181
- khoj/interface/compiled/_next/static/mWWYDTz9vzbfDybP6WTKh/_ssgManifest.js,sha256=Z49s4suAsf5y_GfnQSvm4qtq2ggxEbZPfEDTXjy6XgA,80
182
182
  khoj/interface/compiled/_next/static/media/1d8a05b60287ae6c-s.p.woff2,sha256=IzKBwB_bpSGvO7C9aRv29Js-jAbZPRDI-D-P4H2P918,14508
183
183
  khoj/interface/compiled/_next/static/media/6f22fce21a7c433c-s.woff2,sha256=T773llrgKNUxGlJzhaH0DUs2rcuRHU7bQpf0DTC4sSU,21812
184
184
  khoj/interface/compiled/_next/static/media/77c207b095007c34-s.p.woff2,sha256=vk9tBKB084h1U8mxwJ5WNHDz_pdUVqE_xb9-ILVhKXY,168144
@@ -252,8 +252,8 @@ khoj/interface/compiled/_next/static/media/flags.3afdda2f.webp,sha256=M2AW_HLpBn
252
252
  khoj/interface/compiled/_next/static/media/flags@2x.5fbe9fc1.webp,sha256=BBeRPBZkxY3-aKkMnYv5TSkxmbeMbyUH4VRIPfrWg1E,137406
253
253
  khoj/interface/compiled/_next/static/media/globe.98e105ca.webp,sha256=g3ofb8-W9GM75zIhlvQhaS8I2py9TtrovOKR3_7Jf04,514
254
254
  khoj/interface/compiled/_next/static/media/globe@2x.974df6f8.webp,sha256=I_N7Yke3IOoS-0CC6XD8o0IUWG8PdPbrHmf6lpgWlZY,1380
255
- khoj/interface/compiled/agents/index.html,sha256=0W6p7gsiQ0WnFpAxuZNDOBN7Sgjdv7tYDXColUX26nU,17287
256
- khoj/interface/compiled/agents/index.txt,sha256=MkbQ0IkiJqI5lQAo8oAs8NSbIgGyyTnWxrRIfwUF-5s,7610
255
+ khoj/interface/compiled/agents/index.html,sha256=X8kUU4BS4OmbZaZMnMY8OEpoCALvTaac4ge2QndJwcA,17287
256
+ khoj/interface/compiled/agents/index.txt,sha256=6ZxhBUZo8PA5s1J-YgnS106rGzthgwv5xH60X4xDyrE,7610
257
257
  khoj/interface/compiled/assets/icons/khoj_lantern.ico,sha256=eggu-B_v3z1R53EjOFhIqqPnICBGdoaw1xnc0NrzHck,174144
258
258
  khoj/interface/compiled/assets/icons/khoj_lantern.svg,sha256=I_8XP5X84gEOoCRhCRKOQn_GKZrz3SUBXct7WxHvY7c,8767
259
259
  khoj/interface/compiled/assets/icons/khoj_lantern_1200x1200.png,sha256=xDx0bbD-WMflgg8zck9oPIIuTIvywtuED2k7CjSQS4w,66194
@@ -268,16 +268,16 @@ khoj/interface/compiled/assets/samples/desktop-remember-plan-sample.png,sha256=i
268
268
  khoj/interface/compiled/assets/samples/phone-browse-draw-sample.png,sha256=Dd4fPwtFl6BWqnHjeb1mCK_ND0hhHsWtx8sNE7EiMuE,406179
269
269
  khoj/interface/compiled/assets/samples/phone-plain-chat-sample.png,sha256=DEDaNRCkfEWUeh3kYZWIQDTVK1a6KKnYdwj5ZWisN_Q,82985
270
270
  khoj/interface/compiled/assets/samples/phone-remember-plan-sample.png,sha256=Ma3blirRmq3X4oYSsDbbT7MDn29rymDrjwmUfA9BMuM,236285
271
- khoj/interface/compiled/automations/index.html,sha256=XelBegSV0vbDev6lutvIvrvhDhofIbg6Mx20gzOurn4,36444
272
- khoj/interface/compiled/automations/index.txt,sha256=_WmWhkoRnOOjP7OrNI7Utqd4lCVk-_ROYSYr-BzqNps,7596
273
- khoj/interface/compiled/chat/index.html,sha256=42nUGGWtbBbGD0L4Fy5lnTMHbHNd-pCgkE3t-vMiQjw,18125
274
- khoj/interface/compiled/chat/index.txt,sha256=bTTTLkqtTQpY-cDmJmd4XL1KR6olgErh2c68xJDKnZ8,8015
275
- khoj/interface/compiled/search/index.html,sha256=r3So8Et9rXU8AUSLcecK2qmHwImZmDwi_NtQ47Vnr78,34431
276
- khoj/interface/compiled/search/index.txt,sha256=Ok5YjichkPpgoHIVugwIRGAP-CvBvvEWv1_uJvgzNG0,6629
277
- khoj/interface/compiled/settings/index.html,sha256=xj0FcVf3BVYz0OCThV-mF6TH39BNcfYWPjq-2zVETlo,17654
278
- khoj/interface/compiled/settings/index.txt,sha256=abwIfFW89C3YnaSikce20oW1Hks3rCM0F9rFXxtPrhU,7864
279
- khoj/interface/compiled/share/chat/index.html,sha256=pm5naNPIkwfsUc-aBMdGs3UGnqLon8-9QVl5X9wxORY,18964
280
- khoj/interface/compiled/share/chat/index.txt,sha256=BpRhV7Qw2AIzZPnbmUysodKza4BW0b2uH8rVTL9iblY,8573
271
+ khoj/interface/compiled/automations/index.html,sha256=mXdML0ZWKySozsLsp2bWYUdsbmDdk4m3wLX7ZDnM3us,36444
272
+ khoj/interface/compiled/automations/index.txt,sha256=0_19X2s7ofyv8JoAmvO68v0UarnRj86Gtv4hYJt8Y0E,7596
273
+ khoj/interface/compiled/chat/index.html,sha256=SAK-A1hBHsuYelSnPeohHkt07TGh9P48UUXAJep5IsU,18125
274
+ khoj/interface/compiled/chat/index.txt,sha256=yBsn7P4gjmGJq6JVyOrrfptwc5IrDPemp9rK1PWtj-Y,8015
275
+ khoj/interface/compiled/search/index.html,sha256=H2CC6SGil0isGdrqILDEO2jeJGp2vMK5xDsG0HBaPUA,34431
276
+ khoj/interface/compiled/search/index.txt,sha256=GUmFszGNXnowQPdcl7bRuvh1eiUgq7acxxOIlk9BwE8,6629
277
+ khoj/interface/compiled/settings/index.html,sha256=rX6MCHJy4OcZpVhnIIs2R6cbXIXqs5ED1LVHBgOQ9y4,17654
278
+ khoj/interface/compiled/settings/index.txt,sha256=TSorpxSBh1LArZyJNwboui7t0KTmAunkksPMEEOYzt0,7864
279
+ khoj/interface/compiled/share/chat/index.html,sha256=FDx615JLoRUxy_qTrSQekx62AY0V0qIvGGwyItd0Yy0,18964
280
+ khoj/interface/compiled/share/chat/index.txt,sha256=BtoZVU2JrLXAPHGmMc9LIv3hnOWT72QbmUXXv-ikGuE,8573
281
281
  khoj/interface/email/feedback.html,sha256=xksuPFamx4hGWyTTxZKRgX_eiYQQEuv-eK9Xmkt-nwU,1216
282
282
  khoj/interface/email/magic_link.html,sha256=372ESbTPKM9acekuZcOIKOw6kBl-KikFg_L9MOHqJkg,2094
283
283
  khoj/interface/email/task.html,sha256=tY7a0gzVeQ2lSQNu7WyXR_s7VYeWTrxWEj1iHVuoVE4,2813
@@ -329,7 +329,7 @@ khoj/processor/content/pdf/pdf_to_entries.py,sha256=GQUvab61okhV9_DK0g2MCrMq8wKp
329
329
  khoj/processor/content/plaintext/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
330
330
  khoj/processor/content/plaintext/plaintext_to_entries.py,sha256=wFZwK_zIc7gWbRtO9sOHo9KvfhGAzL9psX_nKWYFduo,4975
331
331
  khoj/processor/conversation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
332
- khoj/processor/conversation/prompts.py,sha256=XRRi7-VazmBmfCW1OypKqkSH3ZU1P_A0L8ZbE6m0hu4,50998
332
+ khoj/processor/conversation/prompts.py,sha256=gdNL97K9d-7Dt_Rl4Ovfjw-ZJZ3cCtlXv1hQ4AJn1u4,51030
333
333
  khoj/processor/conversation/utils.py,sha256=XEgKUBlwc0inuVGv683nfJuaI3CddGFJNRsjmofCnlc,32787
334
334
  khoj/processor/conversation/anthropic/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
335
335
  khoj/processor/conversation/anthropic/anthropic_chat.py,sha256=2jLTh-5WiGcsm1b5pla9UDjeTrPFfck2TOPPex5MN4c,8962
@@ -359,7 +359,7 @@ khoj/routers/api_content.py,sha256=WNlB6lVwRW8hHDthO2HypbpPvqrqt9rTU5oMRNknpMU,2
359
359
  khoj/routers/api_model.py,sha256=cEXEH9-213Mt7kv_YqfDjiN7uC0N1sdkdSajCIbZO58,3612
360
360
  khoj/routers/api_phone.py,sha256=p9yfc4WeMHDC0hg3aQk60a2VBy8rZPdEnz9wdJ7DzkU,2208
361
361
  khoj/routers/api_subscription.py,sha256=qnbKwA6N1TWK8Aiu1FFLka_JhbPOuwqT262NSHGZDiQ,5569
362
- khoj/routers/auth.py,sha256=MxZNVkGDAu1gsUYdt9up-SstrhHaIpKSgcLRF0jR7Ew,9986
362
+ khoj/routers/auth.py,sha256=WA99XW-GgdFjmqF_Kr9UOU9mEki9-2qiH19C0hjf5LI,9937
363
363
  khoj/routers/email.py,sha256=rHn8ZizG9TbKm0TK7xnio8qrf9T3tNH1vEBSaAEwRzs,3902
364
364
  khoj/routers/helpers.py,sha256=ZIHdWg1s8lfwwJRWOiYa_az5zyeFtdPmHer1g4pQ5cQ,84831
365
365
  khoj/routers/notion.py,sha256=g53xyYFmjr2JnuIrTW2vytbfkiK_UkoRTxqnnLSmD5o,2802
@@ -386,8 +386,8 @@ khoj/utils/models.py,sha256=Q5tcC9-z25sCiub048fLnvZ6_IIO1bcPNxt5payekk0,2009
386
386
  khoj/utils/rawconfig.py,sha256=bQ_MGbBzYt6ZUIsHUwZjaHKDLh6GQ7h-sENkv3fyVbQ,5028
387
387
  khoj/utils/state.py,sha256=axjZhnby8L3bY-N1VVoWgBH1RpFGK6U3_ZeNo1Kt7hs,1679
388
388
  khoj/utils/yaml.py,sha256=qy1Tkc61rDMesBw_Cyx2vOR6H-Hngcsm5kYfjwQBwkE,1543
389
- khoj-1.32.2.dev6.dist-info/METADATA,sha256=pdBJiN0-KWZWsJ6bCaUaH94uwjlzCo4FaQH6HzGirfM,7532
390
- khoj-1.32.2.dev6.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
391
- khoj-1.32.2.dev6.dist-info/entry_points.txt,sha256=KBIcez5N_jCgq_ER4Uxf-e1lxTBMTE_BBjMwwfeZyAg,39
392
- khoj-1.32.2.dev6.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
393
- khoj-1.32.2.dev6.dist-info/RECORD,,
389
+ khoj-1.32.3.dev3.dist-info/METADATA,sha256=1pLHhqjtd1fnbszusBk-kyPXsJASw7_iVBsf16isOaE,7532
390
+ khoj-1.32.3.dev3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
391
+ khoj-1.32.3.dev3.dist-info/entry_points.txt,sha256=KBIcez5N_jCgq_ER4Uxf-e1lxTBMTE_BBjMwwfeZyAg,39
392
+ khoj-1.32.3.dev3.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
393
+ khoj-1.32.3.dev3.dist-info/RECORD,,
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3317,8459,244,7138],{63521:function(){}},function(n){n.O(0,[2971,2117,1744],function(){return n(n.s=63521)}),_N_E=n.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7138,3317,8459,244],{63521:function(){}},function(n){n.O(0,[2971,2117,1744],function(){return n(n.s=63521)}),_N_E=n.O()}]);