khoj 1.26.5.dev35__py3-none-any.whl → 1.26.5.dev37__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.
- khoj/interface/compiled/404/index.html +1 -1
- khoj/interface/compiled/_next/static/chunks/{webpack-35c06f544e18305f.js → webpack-7bf45b02023ca978.js} +1 -1
- khoj/interface/compiled/agents/index.html +1 -1
- khoj/interface/compiled/agents/index.txt +1 -1
- khoj/interface/compiled/automations/index.html +1 -1
- khoj/interface/compiled/automations/index.txt +1 -1
- khoj/interface/compiled/chat/index.html +1 -1
- khoj/interface/compiled/chat/index.txt +1 -1
- khoj/interface/compiled/factchecker/index.html +1 -1
- khoj/interface/compiled/factchecker/index.txt +1 -1
- khoj/interface/compiled/index.html +1 -1
- khoj/interface/compiled/index.txt +1 -1
- khoj/interface/compiled/search/index.html +1 -1
- khoj/interface/compiled/search/index.txt +1 -1
- khoj/interface/compiled/settings/index.html +1 -1
- khoj/interface/compiled/settings/index.txt +1 -1
- khoj/interface/compiled/share/chat/index.html +1 -1
- khoj/interface/compiled/share/chat/index.txt +1 -1
- khoj/processor/image/generate.py +2 -1
- khoj/routers/helpers.py +5 -11
- {khoj-1.26.5.dev35.dist-info → khoj-1.26.5.dev37.dist-info}/METADATA +1 -1
- {khoj-1.26.5.dev35.dist-info → khoj-1.26.5.dev37.dist-info}/RECORD +27 -27
- /khoj/interface/compiled/_next/static/{GH1Wb7mTB8D7ZsHW6iRF6 → Y8hF9wJ--zL8P7olERY9a}/_buildManifest.js +0 -0
- /khoj/interface/compiled/_next/static/{GH1Wb7mTB8D7ZsHW6iRF6 → Y8hF9wJ--zL8P7olERY9a}/_ssgManifest.js +0 -0
- {khoj-1.26.5.dev35.dist-info → khoj-1.26.5.dev37.dist-info}/WHEEL +0 -0
- {khoj-1.26.5.dev35.dist-info → khoj-1.26.5.dev37.dist-info}/entry_points.txt +0 -0
- {khoj-1.26.5.dev35.dist-info → khoj-1.26.5.dev37.dist-info}/licenses/LICENSE +0 -0
khoj/routers/helpers.py
CHANGED
@@ -684,10 +684,7 @@ async def generate_better_diagram_description(
|
|
684
684
|
prompts.personality_context.format(personality=agent.personality) if agent and agent.personality else ""
|
685
685
|
)
|
686
686
|
|
687
|
-
if location_data
|
688
|
-
location_prompt = prompts.user_location.format(location=f"{location_data}")
|
689
|
-
else:
|
690
|
-
location_prompt = "Unknown"
|
687
|
+
location = f"{location_data}" if location_data else "Unknown"
|
691
688
|
|
692
689
|
user_references = "\n\n".join([f"# {item['compiled']}" for item in note_references])
|
693
690
|
|
@@ -705,7 +702,7 @@ async def generate_better_diagram_description(
|
|
705
702
|
improve_diagram_description_prompt = prompts.improve_diagram_description_prompt.format(
|
706
703
|
query=q,
|
707
704
|
chat_history=chat_history,
|
708
|
-
location=
|
705
|
+
location=location,
|
709
706
|
current_date=today_date,
|
710
707
|
references=user_references,
|
711
708
|
online_results=simplified_online_results,
|
@@ -770,10 +767,7 @@ async def generate_better_image_prompt(
|
|
770
767
|
)
|
771
768
|
model_type = model_type or TextToImageModelConfig.ModelType.OPENAI
|
772
769
|
|
773
|
-
if location_data
|
774
|
-
location_prompt = prompts.user_location.format(location=f"{location_data}")
|
775
|
-
else:
|
776
|
-
location_prompt = "Unknown"
|
770
|
+
location = f"{location_data}" if location_data else "Unknown"
|
777
771
|
|
778
772
|
user_references = "\n\n".join([f"# {item['compiled']}" for item in note_references])
|
779
773
|
|
@@ -790,7 +784,7 @@ async def generate_better_image_prompt(
|
|
790
784
|
image_prompt = prompts.image_generation_improve_prompt_dalle.format(
|
791
785
|
query=q,
|
792
786
|
chat_history=conversation_history,
|
793
|
-
location=
|
787
|
+
location=location,
|
794
788
|
current_date=today_date,
|
795
789
|
references=user_references,
|
796
790
|
online_results=simplified_online_results,
|
@@ -800,7 +794,7 @@ async def generate_better_image_prompt(
|
|
800
794
|
image_prompt = prompts.image_generation_improve_prompt_sd.format(
|
801
795
|
query=q,
|
802
796
|
chat_history=conversation_history,
|
803
|
-
location=
|
797
|
+
location=location,
|
804
798
|
current_date=today_date,
|
805
799
|
references=user_references,
|
806
800
|
online_results=simplified_online_results,
|
@@ -109,17 +109,17 @@ khoj/interface/compiled/chat.svg,sha256=l2JoYRRgk201adTTdvJ-buKUrc0WGfsudix5xEvt
|
|
109
109
|
khoj/interface/compiled/close.svg,sha256=hQ2iFLkNzHk0_iyTrSbwnWAeXYlgA-c2Eof2Iqh76n4,417
|
110
110
|
khoj/interface/compiled/copy-button-success.svg,sha256=byqWAYD3Pn9IOXRjOKudJ-TJbP2UESbQGvtLWazNGjY,829
|
111
111
|
khoj/interface/compiled/copy-button.svg,sha256=05bKM2eRxksfBlAPT7yMaoNJEk85bZCxQg67EVrPeHo,669
|
112
|
-
khoj/interface/compiled/index.html,sha256=
|
113
|
-
khoj/interface/compiled/index.txt,sha256=
|
112
|
+
khoj/interface/compiled/index.html,sha256=eh_Cu8gn-KSGuuoYkE49EEN-HaZyk3PMeMfQH8eggF0,12184
|
113
|
+
khoj/interface/compiled/index.txt,sha256=lPRyQEEEFc8pu-_kAG7pd172tCOFJs_BvBg8dT_denI,5625
|
114
114
|
khoj/interface/compiled/khoj.webmanifest,sha256=lsknYkvEdMbRTOUYKXPM_8krN2gamJmM4u3qj8u9lrU,1682
|
115
115
|
khoj/interface/compiled/logo.svg,sha256=_QCKVYM4WT2Qhcf7aVFImjq_s5CwjynGXYAOgI7yf8w,8059
|
116
116
|
khoj/interface/compiled/send.svg,sha256=VdavOWkVddcwcGcld6pdfmwfz7S91M-9O28cfeiKJkM,635
|
117
117
|
khoj/interface/compiled/share.svg,sha256=91lwo75PvMDrgocuZQab6EQ62CxRbubh9Bhw7CWMKbg,1221
|
118
118
|
khoj/interface/compiled/thumbs-down.svg,sha256=JGNl-DwoRmH2XFMPWwFFklmoYtKxaQbkLE3nuYKe8ZY,1019
|
119
119
|
khoj/interface/compiled/thumbs-up.svg,sha256=yS1wxTRtiztkN-6nZciLoYQUB_KTYNPV8xFRwH2TQFw,1036
|
120
|
-
khoj/interface/compiled/404/index.html,sha256=
|
121
|
-
khoj/interface/compiled/_next/static/
|
122
|
-
khoj/interface/compiled/_next/static/
|
120
|
+
khoj/interface/compiled/404/index.html,sha256=eNKnayfdhOY65yEo5Dej574Ln5xRefAPEtcR9kyf9lE,12051
|
121
|
+
khoj/interface/compiled/_next/static/Y8hF9wJ--zL8P7olERY9a/_buildManifest.js,sha256=6I9QUstNpJnhe3leR2Daw0pSXwzcbBscv6h2jmmPpms,224
|
122
|
+
khoj/interface/compiled/_next/static/Y8hF9wJ--zL8P7olERY9a/_ssgManifest.js,sha256=Z49s4suAsf5y_GfnQSvm4qtq2ggxEbZPfEDTXjy6XgA,80
|
123
123
|
khoj/interface/compiled/_next/static/chunks/1210.132a7e1910006bbb.js,sha256=2dJueIfOg5qlQdanOM9HrgwcfrUXCD57bfd8Iv7iJcU,2104
|
124
124
|
khoj/interface/compiled/_next/static/chunks/1279-f37ee4a388ebf544.js,sha256=U_1WaocOdgJ4HZB8tRx_izzYGD1EZlCohC1uLCffCWc,45582
|
125
125
|
khoj/interface/compiled/_next/static/chunks/1459.690bf20e7d7b7090.js,sha256=z-ruZPxF_Z3ef_WOThd9Ox36AMhxaW3znizVivNnA34,34239
|
@@ -149,7 +149,7 @@ khoj/interface/compiled/_next/static/chunks/framework-8e0e0f4a6b83a956.js,sha256
|
|
149
149
|
khoj/interface/compiled/_next/static/chunks/main-app-6d6ee3495efe03d4.js,sha256=i52E7sWOcSq1G8eYZL3mtTxbUbwRNxcAbSWQ6uWpMsY,475
|
150
150
|
khoj/interface/compiled/_next/static/chunks/main-f84cd3c1873cd842.js,sha256=jKg2A4pPMmEAQmrA10rACH3daS8XXJeMnGOz1AsTkdI,111099
|
151
151
|
khoj/interface/compiled/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js,sha256=6QPOwdWeAVe8x-SsiDrm-Ga6u2DkqgG5SFqglrlyIgA,91381
|
152
|
-
khoj/interface/compiled/_next/static/chunks/webpack-
|
152
|
+
khoj/interface/compiled/_next/static/chunks/webpack-7bf45b02023ca978.js,sha256=6nJVIApJcHIyQXXubtiUd7G8mW2_wORjjt_v1h__n1E,4065
|
153
153
|
khoj/interface/compiled/_next/static/chunks/app/layout-d0f0a9067427fb20.js,sha256=ilPUPuMQt_2D48lC5c6AYeXT7J28ElR_Ym6VtjQwCO0,442
|
154
154
|
khoj/interface/compiled/_next/static/chunks/app/page-337bba1c554d0742.js,sha256=BXBu_vztHaYCc2NL7iaPBWP2D8xKb07ffH7BiaNVj_M,29522
|
155
155
|
khoj/interface/compiled/_next/static/chunks/app/_not-found/page-07ff4ab42b07845e.js,sha256=3mCUnxfMxyK44eqk21TVBrC6u--WSbvx31fTmQuOvMQ,1755
|
@@ -250,8 +250,8 @@ khoj/interface/compiled/_next/static/media/flags.3afdda2f.webp,sha256=M2AW_HLpBn
|
|
250
250
|
khoj/interface/compiled/_next/static/media/flags@2x.5fbe9fc1.webp,sha256=BBeRPBZkxY3-aKkMnYv5TSkxmbeMbyUH4VRIPfrWg1E,137406
|
251
251
|
khoj/interface/compiled/_next/static/media/globe.98e105ca.webp,sha256=g3ofb8-W9GM75zIhlvQhaS8I2py9TtrovOKR3_7Jf04,514
|
252
252
|
khoj/interface/compiled/_next/static/media/globe@2x.974df6f8.webp,sha256=I_N7Yke3IOoS-0CC6XD8o0IUWG8PdPbrHmf6lpgWlZY,1380
|
253
|
-
khoj/interface/compiled/agents/index.html,sha256=
|
254
|
-
khoj/interface/compiled/agents/index.txt,sha256=
|
253
|
+
khoj/interface/compiled/agents/index.html,sha256=GFSvv3AyK5mnbat6ZVeieGbf6gxRPY8MZFW8FFujf1A,12966
|
254
|
+
khoj/interface/compiled/agents/index.txt,sha256=Awhj1x0UrWpj4W0iZcRJwQwF5WeeNexv6Shre6Ov2pI,6178
|
255
255
|
khoj/interface/compiled/assets/icons/khoj_lantern.ico,sha256=eggu-B_v3z1R53EjOFhIqqPnICBGdoaw1xnc0NrzHck,174144
|
256
256
|
khoj/interface/compiled/assets/icons/khoj_lantern_128x128.png,sha256=aTxivDb3CYyThkVZWz8A19xl_dNut5DbkXhODWF3A9Q,5640
|
257
257
|
khoj/interface/compiled/assets/icons/khoj_lantern_256x256.png,sha256=xPCMLHiaL7lYOdQLZrKwWE-Qjn5ZaysSZB0ScYv4UZU,12312
|
@@ -262,18 +262,18 @@ khoj/interface/compiled/assets/samples/desktop-remember-plan-sample.png,sha256=i
|
|
262
262
|
khoj/interface/compiled/assets/samples/phone-browse-draw-sample.png,sha256=Dd4fPwtFl6BWqnHjeb1mCK_ND0hhHsWtx8sNE7EiMuE,406179
|
263
263
|
khoj/interface/compiled/assets/samples/phone-plain-chat-sample.png,sha256=DEDaNRCkfEWUeh3kYZWIQDTVK1a6KKnYdwj5ZWisN_Q,82985
|
264
264
|
khoj/interface/compiled/assets/samples/phone-remember-plan-sample.png,sha256=Ma3blirRmq3X4oYSsDbbT7MDn29rymDrjwmUfA9BMuM,236285
|
265
|
-
khoj/interface/compiled/automations/index.html,sha256=
|
266
|
-
khoj/interface/compiled/automations/index.txt,sha256=
|
267
|
-
khoj/interface/compiled/chat/index.html,sha256=
|
268
|
-
khoj/interface/compiled/chat/index.txt,sha256=
|
269
|
-
khoj/interface/compiled/factchecker/index.html,sha256=
|
270
|
-
khoj/interface/compiled/factchecker/index.txt,sha256=
|
271
|
-
khoj/interface/compiled/search/index.html,sha256=
|
272
|
-
khoj/interface/compiled/search/index.txt,sha256=
|
273
|
-
khoj/interface/compiled/settings/index.html,sha256=
|
274
|
-
khoj/interface/compiled/settings/index.txt,sha256=
|
275
|
-
khoj/interface/compiled/share/chat/index.html,sha256
|
276
|
-
khoj/interface/compiled/share/chat/index.txt,sha256=
|
265
|
+
khoj/interface/compiled/automations/index.html,sha256=G6HUpVDXsF05Hp9qeSKD__vWHhku87Nt-e0byyDjuJo,30941
|
266
|
+
khoj/interface/compiled/automations/index.txt,sha256=LxtE_53afOZxCoWwPFdWpWgUBl89mrebRN5BcGkgeBk,5633
|
267
|
+
khoj/interface/compiled/chat/index.html,sha256=Dj4Hyfd00wtxj7PUELomag6W4x7mjt1nrxb54Y61j5Y,13679
|
268
|
+
khoj/interface/compiled/chat/index.txt,sha256=x7sdGCVC8qDiar56KgZiEKbgZw4pgNRZgipbUrzpxqk,6503
|
269
|
+
khoj/interface/compiled/factchecker/index.html,sha256=vS4RZ3h4KAJgF-eyRU-nN8kdbdnX1Lnw6LKdafuKyz4,29973
|
270
|
+
khoj/interface/compiled/factchecker/index.txt,sha256=6TjGSbB_64OrTsqDgHNWrEQGMxZo8Erk4vGvwE8krOU,5788
|
271
|
+
khoj/interface/compiled/search/index.html,sha256=aboR1w97txeP7G8fawvvonmQCqMCPJYOlaxbiIZ1NWg,30161
|
272
|
+
khoj/interface/compiled/search/index.txt,sha256=7Hqb6i9mlG4wnqNB03cPqF41Lsk8aMoJaRb9M09mC68,5256
|
273
|
+
khoj/interface/compiled/settings/index.html,sha256=nHYEKs7q6uGXSUMSrxJXKQhoaNiVwk2NnsGy-c62DFI,12831
|
274
|
+
khoj/interface/compiled/settings/index.txt,sha256=6Mk3uyGQxw6Iu74vCzp5EpwWPXuqkwaxbI8lWLvmXpA,6078
|
275
|
+
khoj/interface/compiled/share/chat/index.html,sha256=MzlJ4QzJbONwrL99mqNShYTzcOeujgZmKkZ8_KzoEkk,15312
|
276
|
+
khoj/interface/compiled/share/chat/index.txt,sha256=NMTzekokkmtzd7oMhdJsyh7W0JSZ4rgCWjhBwVy7mhU,7447
|
277
277
|
khoj/interface/email/feedback.html,sha256=xksuPFamx4hGWyTTxZKRgX_eiYQQEuv-eK9Xmkt-nwU,1216
|
278
278
|
khoj/interface/email/magic_link.html,sha256=EoGKQucfPj3xQrWXhSZAzPFOYCHF_ZX94TWCd1XHl1M,941
|
279
279
|
khoj/interface/email/task.html,sha256=tY7a0gzVeQ2lSQNu7WyXR_s7VYeWTrxWEj1iHVuoVE4,2813
|
@@ -341,7 +341,7 @@ khoj/processor/conversation/openai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQe
|
|
341
341
|
khoj/processor/conversation/openai/gpt.py,sha256=QkSDxP_oKWmDrjP0GieO_VCztrZBj0Iltu6UWGkV7K8,7803
|
342
342
|
khoj/processor/conversation/openai/utils.py,sha256=tGRUauPfrRGPQ7W_9-lBxpRLld8EWzMuRiTY9EptFgY,5313
|
343
343
|
khoj/processor/conversation/openai/whisper.py,sha256=zoEeK1LNCg_tzP4xzYi5vRPzNPGuDGzpkrkG7d1LUn4,447
|
344
|
-
khoj/processor/image/generate.py,sha256=
|
344
|
+
khoj/processor/image/generate.py,sha256=AeHvIf6VKl9C2kfXc_VdyxTFluOOpIJn_76wOA1k5zg,9012
|
345
345
|
khoj/processor/speech/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
346
346
|
khoj/processor/speech/text_to_speech.py,sha256=Q7sapi5Hv6woXOumtrGqR0t6izZrFBkWXFOGrHM6dJ4,1929
|
347
347
|
khoj/processor/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -356,7 +356,7 @@ khoj/routers/api_phone.py,sha256=p9yfc4WeMHDC0hg3aQk60a2VBy8rZPdEnz9wdJ7DzkU,220
|
|
356
356
|
khoj/routers/api_subscription.py,sha256=sR5_XxQ4e_1hk3K4g0i3S8PZeULP23lnGtrWnfjhNDI,5307
|
357
357
|
khoj/routers/auth.py,sha256=HO54PR-BkWA_iJIktEobUrObcXVYG-00jpnIcEVdR5s,6564
|
358
358
|
khoj/routers/email.py,sha256=SGYNPQvfcvYeHf70F0YqpY0FLMRElF2ZekROXdwGI18,3821
|
359
|
-
khoj/routers/helpers.py,sha256=
|
359
|
+
khoj/routers/helpers.py,sha256=ehp1ERJ_5Fa6aUrQ51h2TlQ45N-8k0gH1wODAs8_k6s,74634
|
360
360
|
khoj/routers/notion.py,sha256=Lp67xP9rVgpAF9BQoGTjZFcVdF1HYtvPP0kjq6uurKU,2802
|
361
361
|
khoj/routers/storage.py,sha256=tJrwhFRVWv0MHv7V7huMc1Diwm-putZSwnZXJ3tqT_c,2338
|
362
362
|
khoj/routers/twilio.py,sha256=MLsuCm4--ETvr3sLxbF0CL_ehlg_l2rKBSLR2Qh2Xls,1081
|
@@ -380,8 +380,8 @@ khoj/utils/models.py,sha256=Q5tcC9-z25sCiub048fLnvZ6_IIO1bcPNxt5payekk0,2009
|
|
380
380
|
khoj/utils/rawconfig.py,sha256=kURDuk7x0MDtniGLU4x1IsvU4UIBS-V9dSM4GD8X-LY,4274
|
381
381
|
khoj/utils/state.py,sha256=x4GTewP1YhOA6c_32N4wOjnV-3AA3xG_qbY1-wC2Uxc,1559
|
382
382
|
khoj/utils/yaml.py,sha256=H0mfw0ZvBFUvFmCQn8pWkfxdmIebsrSykza7D8Wv6wQ,1430
|
383
|
-
khoj-1.26.5.
|
384
|
-
khoj-1.26.5.
|
385
|
-
khoj-1.26.5.
|
386
|
-
khoj-1.26.5.
|
387
|
-
khoj-1.26.5.
|
383
|
+
khoj-1.26.5.dev37.dist-info/METADATA,sha256=TQBliA6_htYytXhqoBNcV5SO2eN5N2pwfZxSkuUKFT0,7026
|
384
|
+
khoj-1.26.5.dev37.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
385
|
+
khoj-1.26.5.dev37.dist-info/entry_points.txt,sha256=KBIcez5N_jCgq_ER4Uxf-e1lxTBMTE_BBjMwwfeZyAg,39
|
386
|
+
khoj-1.26.5.dev37.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
|
387
|
+
khoj-1.26.5.dev37.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|