khoj 1.30.11.dev65__py3-none-any.whl → 1.30.11.dev69__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/1603-d41bb32d608bc77a.js +1 -0
- khoj/interface/compiled/_next/static/chunks/4200-ea75740bb3c6ae60.js +1 -0
- khoj/interface/compiled/_next/static/chunks/app/agents/{page-2ffa7560aebff9a1.js → page-2a0b821cf69bdf06.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/app/automations/{page-b0a6a6ed2267c1a2.js → page-ffa30be1dda97643.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/app/chat/{page-02f8616bba3e449e.js → page-994ac81e40d9aadb.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/app/{page-3ffd8f0934b896f3.js → page-083f798a7562cda5.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/app/search/{page-059f237514f77628.js → page-845fe099f1f4375e.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/app/settings/{page-32e9423bede5b4a1.js → page-3257ef0146ab18da.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/app/share/chat/{page-0b8d90dc57dbc1d8.js → page-f625859c1a122441.js} +1 -1
- khoj/interface/compiled/agents/index.html +1 -1
- khoj/interface/compiled/agents/index.txt +2 -2
- khoj/interface/compiled/automations/index.html +1 -1
- khoj/interface/compiled/automations/index.txt +2 -2
- khoj/interface/compiled/chat/index.html +1 -1
- khoj/interface/compiled/chat/index.txt +2 -2
- khoj/interface/compiled/index.html +1 -1
- khoj/interface/compiled/index.txt +2 -2
- khoj/interface/compiled/search/index.html +1 -1
- khoj/interface/compiled/search/index.txt +2 -2
- khoj/interface/compiled/settings/index.html +1 -1
- khoj/interface/compiled/settings/index.txt +2 -2
- khoj/interface/compiled/share/chat/index.html +1 -1
- khoj/interface/compiled/share/chat/index.txt +2 -2
- khoj/processor/conversation/anthropic/anthropic_chat.py +2 -4
- khoj/processor/conversation/google/gemini_chat.py +2 -4
- khoj/processor/conversation/offline/chat_model.py +3 -1
- khoj/processor/conversation/openai/gpt.py +3 -5
- khoj/processor/conversation/prompts.py +33 -21
- khoj/processor/conversation/utils.py +31 -30
- khoj/routers/api_chat.py +14 -1
- khoj/routers/helpers.py +11 -9
- {khoj-1.30.11.dev65.dist-info → khoj-1.30.11.dev69.dist-info}/METADATA +1 -1
- {khoj-1.30.11.dev65.dist-info → khoj-1.30.11.dev69.dist-info}/RECORD +39 -39
- khoj/interface/compiled/_next/static/chunks/1603-13cef426e0e650ec.js +0 -1
- khoj/interface/compiled/_next/static/chunks/4752-554a3db270186ce3.js +0 -1
- /khoj/interface/compiled/_next/static/{pzCibzlX5xLa_-x0rn8Ch → kPyLv34hw1nOJ8ghPklew}/_buildManifest.js +0 -0
- /khoj/interface/compiled/_next/static/{pzCibzlX5xLa_-x0rn8Ch → kPyLv34hw1nOJ8ghPklew}/_ssgManifest.js +0 -0
- {khoj-1.30.11.dev65.dist-info → khoj-1.30.11.dev69.dist-info}/WHEEL +0 -0
- {khoj-1.30.11.dev65.dist-info → khoj-1.30.11.dev69.dist-info}/entry_points.txt +0 -0
- {khoj-1.30.11.dev65.dist-info → khoj-1.30.11.dev69.dist-info}/licenses/LICENSE +0 -0
@@ -40,6 +40,7 @@ from khoj.utils.helpers import (
|
|
40
40
|
merge_dicts,
|
41
41
|
)
|
42
42
|
from khoj.utils.rawconfig import FileAttachment
|
43
|
+
from khoj.utils.yaml import yaml_dump
|
43
44
|
|
44
45
|
logger = logging.getLogger(__name__)
|
45
46
|
|
@@ -381,9 +382,8 @@ def generate_chatml_messages_with_context(
|
|
381
382
|
model_type="",
|
382
383
|
context_message="",
|
383
384
|
query_files: str = None,
|
384
|
-
generated_images: Optional[list[str]] = None,
|
385
385
|
generated_files: List[FileAttachment] = None,
|
386
|
-
|
386
|
+
generated_asset_results: Dict[str, Dict] = {},
|
387
387
|
program_execution_context: List[str] = [],
|
388
388
|
):
|
389
389
|
"""Generate chat messages with appropriate context from previous conversation to send to the chat model"""
|
@@ -403,11 +403,15 @@ def generate_chatml_messages_with_context(
|
|
403
403
|
message_context = ""
|
404
404
|
message_attached_files = ""
|
405
405
|
|
406
|
+
generated_assets = {}
|
407
|
+
|
406
408
|
chat_message = chat.get("message")
|
407
409
|
role = "user" if chat["by"] == "you" else "assistant"
|
408
410
|
|
411
|
+
# Legacy code to handle excalidraw diagrams prior to Dec 2024
|
409
412
|
if chat["by"] == "khoj" and "excalidraw" in chat["intent"].get("type", ""):
|
410
413
|
chat_message = chat["intent"].get("inferred-queries")[0]
|
414
|
+
|
411
415
|
if not is_none_or_empty(chat.get("context")):
|
412
416
|
references = "\n\n".join(
|
413
417
|
{
|
@@ -434,15 +438,23 @@ def generate_chatml_messages_with_context(
|
|
434
438
|
reconstructed_context_message = ChatMessage(content=message_context, role="user")
|
435
439
|
chatml_messages.insert(0, reconstructed_context_message)
|
436
440
|
|
437
|
-
if chat.get("images") and role == "assistant":
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
441
|
+
if not is_none_or_empty(chat.get("images")) and role == "assistant":
|
442
|
+
generated_assets["image"] = {
|
443
|
+
"query": chat.get("intent", {}).get("inferred-queries", [user_message])[0],
|
444
|
+
}
|
445
|
+
|
446
|
+
if not is_none_or_empty(chat.get("excalidrawDiagram")) and role == "assistant":
|
447
|
+
generated_assets["diagram"] = {
|
448
|
+
"query": chat.get("intent", {}).get("inferred-queries", [user_message])[0],
|
449
|
+
}
|
450
|
+
|
451
|
+
if not is_none_or_empty(generated_assets):
|
452
|
+
chatml_messages.append(
|
453
|
+
ChatMessage(
|
454
|
+
content=f"{prompts.generated_assets_context.format(generated_assets=yaml_dump(generated_assets))}\n",
|
455
|
+
role="user",
|
456
|
+
)
|
444
457
|
)
|
445
|
-
chatml_messages.append(ChatMessage(content=file_attachment_message, role="user"))
|
446
458
|
|
447
459
|
message_content = construct_structured_message(
|
448
460
|
chat_message, chat.get("images") if role == "user" else [], model_type, vision_enabled
|
@@ -465,33 +477,22 @@ def generate_chatml_messages_with_context(
|
|
465
477
|
role="user",
|
466
478
|
)
|
467
479
|
)
|
468
|
-
if not is_none_or_empty(context_message):
|
469
|
-
messages.append(ChatMessage(content=context_message, role="user"))
|
470
|
-
|
471
|
-
if generated_images:
|
472
|
-
messages.append(
|
473
|
-
ChatMessage(
|
474
|
-
content=construct_structured_message(
|
475
|
-
prompts.generated_image_attachment.format(), generated_images, model_type, vision_enabled
|
476
|
-
),
|
477
|
-
role="user",
|
478
|
-
)
|
479
|
-
)
|
480
480
|
|
481
481
|
if generated_files:
|
482
482
|
message_attached_files = gather_raw_query_files({file.name: file.content for file in generated_files})
|
483
483
|
messages.append(ChatMessage(content=message_attached_files, role="assistant"))
|
484
484
|
|
485
|
-
if
|
486
|
-
|
485
|
+
if not is_none_or_empty(generated_asset_results):
|
486
|
+
context_message += (
|
487
|
+
f"{prompts.generated_assets_context.format(generated_assets=yaml_dump(generated_asset_results))}\n\n"
|
488
|
+
)
|
487
489
|
|
488
490
|
if program_execution_context:
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
)
|
491
|
+
program_context_text = "\n".join(program_execution_context)
|
492
|
+
context_message += f"{prompts.additional_program_context.format(context=program_context_text)}\n"
|
493
|
+
|
494
|
+
if not is_none_or_empty(context_message):
|
495
|
+
messages.append(ChatMessage(content=context_message, role="user"))
|
495
496
|
|
496
497
|
if len(chatml_messages) > 0:
|
497
498
|
messages += chatml_messages
|
khoj/routers/api_chat.py
CHANGED
@@ -23,6 +23,7 @@ from khoj.database.adapters import (
|
|
23
23
|
aget_user_name,
|
24
24
|
)
|
25
25
|
from khoj.database.models import Agent, KhojUser
|
26
|
+
from khoj.processor.conversation import prompts
|
26
27
|
from khoj.processor.conversation.prompts import help_message, no_entries_found
|
27
28
|
from khoj.processor.conversation.utils import defilter_query, save_to_conversation_log
|
28
29
|
from khoj.processor.image.generate import text_to_image
|
@@ -765,6 +766,7 @@ async def chat(
|
|
765
766
|
researched_results = ""
|
766
767
|
online_results: Dict = dict()
|
767
768
|
code_results: Dict = dict()
|
769
|
+
generated_asset_results: Dict = dict()
|
768
770
|
## Extract Document References
|
769
771
|
compiled_references: List[Any] = []
|
770
772
|
inferred_queries: List[Any] = []
|
@@ -1128,6 +1130,10 @@ async def chat(
|
|
1128
1130
|
else:
|
1129
1131
|
generated_images.append(generated_image)
|
1130
1132
|
|
1133
|
+
generated_asset_results["images"] = {
|
1134
|
+
"query": improved_image_prompt,
|
1135
|
+
}
|
1136
|
+
|
1131
1137
|
async for result in send_event(
|
1132
1138
|
ChatEvent.GENERATED_ASSETS,
|
1133
1139
|
{
|
@@ -1166,6 +1172,10 @@ async def chat(
|
|
1166
1172
|
|
1167
1173
|
generated_excalidraw_diagram = diagram_description
|
1168
1174
|
|
1175
|
+
generated_asset_results["diagrams"] = {
|
1176
|
+
"query": better_diagram_description_prompt,
|
1177
|
+
}
|
1178
|
+
|
1169
1179
|
async for result in send_event(
|
1170
1180
|
ChatEvent.GENERATED_ASSETS,
|
1171
1181
|
{
|
@@ -1176,7 +1186,9 @@ async def chat(
|
|
1176
1186
|
else:
|
1177
1187
|
error_message = "Failed to generate diagram. Please try again later."
|
1178
1188
|
program_execution_context.append(
|
1179
|
-
|
1189
|
+
prompts.failed_diagram_generation.format(
|
1190
|
+
attempted_diagram=better_diagram_description_prompt
|
1191
|
+
)
|
1180
1192
|
)
|
1181
1193
|
|
1182
1194
|
async for result in send_event(ChatEvent.STATUS, error_message):
|
@@ -1209,6 +1221,7 @@ async def chat(
|
|
1209
1221
|
generated_files,
|
1210
1222
|
generated_excalidraw_diagram,
|
1211
1223
|
program_execution_context,
|
1224
|
+
generated_asset_results,
|
1212
1225
|
tracer,
|
1213
1226
|
)
|
1214
1227
|
|
khoj/routers/helpers.py
CHANGED
@@ -88,7 +88,10 @@ from khoj.processor.conversation.offline.chat_model import (
|
|
88
88
|
converse_offline,
|
89
89
|
send_message_to_model_offline,
|
90
90
|
)
|
91
|
-
from khoj.processor.conversation.openai.gpt import
|
91
|
+
from khoj.processor.conversation.openai.gpt import (
|
92
|
+
converse_openai,
|
93
|
+
send_message_to_model,
|
94
|
+
)
|
92
95
|
from khoj.processor.conversation.utils import (
|
93
96
|
ChatEvent,
|
94
97
|
ThreadedGenerator,
|
@@ -751,7 +754,7 @@ async def generate_excalidraw_diagram(
|
|
751
754
|
)
|
752
755
|
except Exception as e:
|
753
756
|
logger.error(f"Error generating Excalidraw diagram for {user.email}: {e}", exc_info=True)
|
754
|
-
yield
|
757
|
+
yield better_diagram_description_prompt, None
|
755
758
|
return
|
756
759
|
|
757
760
|
scratchpad = excalidraw_diagram_description.get("scratchpad")
|
@@ -1189,6 +1192,7 @@ def generate_chat_response(
|
|
1189
1192
|
raw_generated_files: List[FileAttachment] = [],
|
1190
1193
|
generated_excalidraw_diagram: str = None,
|
1191
1194
|
program_execution_context: List[str] = [],
|
1195
|
+
generated_asset_results: Dict[str, Dict] = {},
|
1192
1196
|
tracer: dict = {},
|
1193
1197
|
) -> Tuple[Union[ThreadedGenerator, Iterator[str]], Dict[str, str]]:
|
1194
1198
|
# Initialize Variables
|
@@ -1251,6 +1255,7 @@ def generate_chat_response(
|
|
1251
1255
|
agent=agent,
|
1252
1256
|
query_files=query_files,
|
1253
1257
|
generated_files=raw_generated_files,
|
1258
|
+
generated_asset_results=generated_asset_results,
|
1254
1259
|
tracer=tracer,
|
1255
1260
|
)
|
1256
1261
|
|
@@ -1258,7 +1263,7 @@ def generate_chat_response(
|
|
1258
1263
|
openai_chat_config = conversation_config.ai_model_api
|
1259
1264
|
api_key = openai_chat_config.api_key
|
1260
1265
|
chat_model = conversation_config.chat_model
|
1261
|
-
chat_response =
|
1266
|
+
chat_response = converse_openai(
|
1262
1267
|
compiled_references,
|
1263
1268
|
query_to_run,
|
1264
1269
|
query_images=query_images,
|
@@ -1278,8 +1283,7 @@ def generate_chat_response(
|
|
1278
1283
|
vision_available=vision_available,
|
1279
1284
|
query_files=query_files,
|
1280
1285
|
generated_files=raw_generated_files,
|
1281
|
-
|
1282
|
-
generated_excalidraw_diagram=generated_excalidraw_diagram,
|
1286
|
+
generated_asset_results=generated_asset_results,
|
1283
1287
|
program_execution_context=program_execution_context,
|
1284
1288
|
tracer=tracer,
|
1285
1289
|
)
|
@@ -1305,8 +1309,7 @@ def generate_chat_response(
|
|
1305
1309
|
vision_available=vision_available,
|
1306
1310
|
query_files=query_files,
|
1307
1311
|
generated_files=raw_generated_files,
|
1308
|
-
|
1309
|
-
generated_excalidraw_diagram=generated_excalidraw_diagram,
|
1312
|
+
generated_asset_results=generated_asset_results,
|
1310
1313
|
program_execution_context=program_execution_context,
|
1311
1314
|
tracer=tracer,
|
1312
1315
|
)
|
@@ -1331,8 +1334,7 @@ def generate_chat_response(
|
|
1331
1334
|
vision_available=vision_available,
|
1332
1335
|
query_files=query_files,
|
1333
1336
|
generated_files=raw_generated_files,
|
1334
|
-
|
1335
|
-
generated_excalidraw_diagram=generated_excalidraw_diagram,
|
1337
|
+
generated_asset_results=generated_asset_results,
|
1336
1338
|
program_execution_context=program_execution_context,
|
1337
1339
|
tracer=tracer,
|
1338
1340
|
)
|
@@ -113,28 +113,28 @@ khoj/interface/compiled/chat.svg,sha256=l2JoYRRgk201adTTdvJ-buKUrc0WGfsudix5xEvt
|
|
113
113
|
khoj/interface/compiled/close.svg,sha256=hQ2iFLkNzHk0_iyTrSbwnWAeXYlgA-c2Eof2Iqh76n4,417
|
114
114
|
khoj/interface/compiled/copy-button-success.svg,sha256=byqWAYD3Pn9IOXRjOKudJ-TJbP2UESbQGvtLWazNGjY,829
|
115
115
|
khoj/interface/compiled/copy-button.svg,sha256=05bKM2eRxksfBlAPT7yMaoNJEk85bZCxQg67EVrPeHo,669
|
116
|
-
khoj/interface/compiled/index.html,sha256=
|
117
|
-
khoj/interface/compiled/index.txt,sha256=
|
116
|
+
khoj/interface/compiled/index.html,sha256=vWK4YkgAKVbNv5y_yTkTFqacUB3RMdelkXQ_RxN1uIU,13432
|
117
|
+
khoj/interface/compiled/index.txt,sha256=bpV_b5xOBePWhvXTrpimLdMPL_PLSrxB3_9vM8QpD-A,5582
|
118
118
|
khoj/interface/compiled/khoj.webmanifest,sha256=9wOK2BMS6xH5NKd2eaUgTLg9WepIxB2K2U33KU89LD8,2543
|
119
119
|
khoj/interface/compiled/logo.svg,sha256=_QCKVYM4WT2Qhcf7aVFImjq_s5CwjynGXYAOgI7yf8w,8059
|
120
120
|
khoj/interface/compiled/send.svg,sha256=VdavOWkVddcwcGcld6pdfmwfz7S91M-9O28cfeiKJkM,635
|
121
121
|
khoj/interface/compiled/share.svg,sha256=91lwo75PvMDrgocuZQab6EQ62CxRbubh9Bhw7CWMKbg,1221
|
122
122
|
khoj/interface/compiled/thumbs-down.svg,sha256=JGNl-DwoRmH2XFMPWwFFklmoYtKxaQbkLE3nuYKe8ZY,1019
|
123
123
|
khoj/interface/compiled/thumbs-up.svg,sha256=yS1wxTRtiztkN-6nZciLoYQUB_KTYNPV8xFRwH2TQFw,1036
|
124
|
-
khoj/interface/compiled/404/index.html,sha256=
|
124
|
+
khoj/interface/compiled/404/index.html,sha256=lnMEdb8QO2xMzYzJ819lpGdRYx969RmXAPGrvHdQ0rs,13559
|
125
125
|
khoj/interface/compiled/_next/static/chunks/1210.ef7a0f9a7e43da1d.js,sha256=yOh1qtmNHPpDd6vR7CJOXSbq8M_slPujdTR_OXxaEYU,2121
|
126
126
|
khoj/interface/compiled/_next/static/chunks/1279-4cb23143aa2c0228.js,sha256=zHMz-ixoNkLNUjN2-C48RGEyMs2mI9wsNRCczXnzIvQ,45616
|
127
127
|
khoj/interface/compiled/_next/static/chunks/1459.690bf20e7d7b7090.js,sha256=z-ruZPxF_Z3ef_WOThd9Ox36AMhxaW3znizVivNnA34,34239
|
128
|
-
khoj/interface/compiled/_next/static/chunks/1603-
|
128
|
+
khoj/interface/compiled/_next/static/chunks/1603-d41bb32d608bc77a.js,sha256=tueZ9oQY75CrS6J11oV-CNXUhBNroeDJ8ivDJc8K-yg,91994
|
129
129
|
khoj/interface/compiled/_next/static/chunks/1970-1b63ac1497b03a10.js,sha256=r9S2sLd2AcvG8lqQloOcuDwvdtUdDA16CpsJJ9zs2Fs,29906
|
130
130
|
khoj/interface/compiled/_next/static/chunks/2646-92ba433951d02d52.js,sha256=Gf6rp2_N_ba2c4P84yJ1sW1I6Kcp7pjCkLTnYNP7_v8,237441
|
131
131
|
khoj/interface/compiled/_next/static/chunks/3072-be830e4f8412b9d2.js,sha256=BBUjJdE8AgmhoF6PA8WPC8d-01ppYgcZpjNyTGeayRE,35457
|
132
132
|
khoj/interface/compiled/_next/static/chunks/3463-081c031e873b7966.js,sha256=i2gtKYe_IoTm-o_WroIkfMPkBduFTcJ35qQ0zG3HlcM,1090912
|
133
133
|
khoj/interface/compiled/_next/static/chunks/3690-51312931ba1eae30.js,sha256=wNgE6XXRWdN4DwIsAcNhS--NuI94kKuJTYeB-_zSvZ8,37482
|
134
134
|
khoj/interface/compiled/_next/static/chunks/3717-b46079dbe9f55694.js,sha256=CDgJ8A-SuA9MSKRRv7mUAngABFU5Lof3JKd09hsnVDY,23625
|
135
|
+
khoj/interface/compiled/_next/static/chunks/4200-ea75740bb3c6ae60.js,sha256=ccU30FwJA73r3UAsBvXtJu4rqr-pvohIZBMDBev5kwo,432107
|
135
136
|
khoj/interface/compiled/_next/static/chunks/4504-62ac13e7d94c52f9.js,sha256=YJZXNOQENgdXRRU4s7PtlLajNRgKjJCzaZHfYYtA0tk,11651
|
136
137
|
khoj/interface/compiled/_next/static/chunks/4602-460621c3241e0d13.js,sha256=pz2lEr0JOrMdrddv2R2vej4e9uxpOr5KFX966ClLbOU,29928
|
137
|
-
khoj/interface/compiled/_next/static/chunks/4752-554a3db270186ce3.js,sha256=pGLGL_rf3O0FObAsNpf6aqoQeLyouH-noW80uIy9DrY,429218
|
138
138
|
khoj/interface/compiled/_next/static/chunks/5512-7cc62049bbe60e11.js,sha256=Ni89mckLMw1gUQbAWycg-c-LR94ju0VwyyoGdRORqHo,104335
|
139
139
|
khoj/interface/compiled/_next/static/chunks/5538-0ea2d3944ca051e1.js,sha256=_yzOXicmnqB8u27y84EQUSZSgHf0zcC7FykogFD6mzw,33892
|
140
140
|
khoj/interface/compiled/_next/static/chunks/7023-e8de2bded4df6539.js,sha256=TBJA7dTnI8nymtbljKuZzo2hbStXWR-P8Qkl57k2Tw8,123898
|
@@ -150,20 +150,20 @@ khoj/interface/compiled/_next/static/chunks/main-app-6d6ee3495efe03d4.js,sha256=
|
|
150
150
|
khoj/interface/compiled/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js,sha256=6QPOwdWeAVe8x-SsiDrm-Ga6u2DkqgG5SFqglrlyIgA,91381
|
151
151
|
khoj/interface/compiled/_next/static/chunks/webpack-64477b5a1e621214.js,sha256=v8DO-8HTKm12pVXSR6O_eaV8e4RYzRWfJDeDtSepWsQ,3991
|
152
152
|
khoj/interface/compiled/_next/static/chunks/app/layout-6310c57b674dd6f5.js,sha256=w4zG3noOTaiH6TMWlvYaV2jpxzSgmFNj10o1Yq6mKtI,709
|
153
|
-
khoj/interface/compiled/_next/static/chunks/app/page-
|
153
|
+
khoj/interface/compiled/_next/static/chunks/app/page-083f798a7562cda5.js,sha256=qSwqDsnApYaNBQH3bhrQBBaNywp2Y5nmKHewDh8-g58,33109
|
154
154
|
khoj/interface/compiled/_next/static/chunks/app/_not-found/page-cfba071f5a657256.js,sha256=3mCUnxfMxyK44eqk21TVBrC6u--WSbvx31fTmQuOvMQ,1755
|
155
155
|
khoj/interface/compiled/_next/static/chunks/app/agents/layout-1878cc328ea380bd.js,sha256=foKQN1MOnaGA0hgPpbiLKvn7H87Xmmr_TC2nKkkH5I8,180
|
156
|
-
khoj/interface/compiled/_next/static/chunks/app/agents/page-
|
156
|
+
khoj/interface/compiled/_next/static/chunks/app/agents/page-2a0b821cf69bdf06.js,sha256=fjgae8xUu2qw3NkBmtUsnSF5zFU5IiLW1PoeM-6VTgw,11740
|
157
157
|
khoj/interface/compiled/_next/static/chunks/app/automations/layout-7f1b79a2c67af0b4.js,sha256=MvPp1IfxmpfRaT4XDDpj-l6F4CV-loeGqi315QYXKZw,5143
|
158
|
-
khoj/interface/compiled/_next/static/chunks/app/automations/page-
|
158
|
+
khoj/interface/compiled/_next/static/chunks/app/automations/page-ffa30be1dda97643.js,sha256=xrg_Txvmi3eWD3ll73VlIfrgklT-pP6Uu5hz8h6MmXw,35406
|
159
159
|
khoj/interface/compiled/_next/static/chunks/app/chat/layout-9219a85f3477e722.js,sha256=m3FPwrm9nauoPVn_HTs2lgIb3YNc93tzAjKWazSd5ko,180
|
160
|
-
khoj/interface/compiled/_next/static/chunks/app/chat/page-
|
160
|
+
khoj/interface/compiled/_next/static/chunks/app/chat/page-994ac81e40d9aadb.js,sha256=iwMGXcHvC6OBU43yxtLTevU1mMQkk1iQpy0_1Nictww,7139
|
161
161
|
khoj/interface/compiled/_next/static/chunks/app/search/layout-2ca475462c0b2176.js,sha256=IFALoWD82flk0Rqq6cHUfnisFDLMsi8m7m3X6qKLhwU,180
|
162
|
-
khoj/interface/compiled/_next/static/chunks/app/search/page-
|
162
|
+
khoj/interface/compiled/_next/static/chunks/app/search/page-845fe099f1f4375e.js,sha256=XmVG9lRvWXhk82onM0EGpHIMKWaMHuUGFDMjpk-Vg9c,6948
|
163
163
|
khoj/interface/compiled/_next/static/chunks/app/settings/layout-f285795bc3154b8c.js,sha256=SBNluXZKXEfcDqJz2W3t8US0nsRbPHV2iblQ5Xiv2Y8,13218
|
164
|
-
khoj/interface/compiled/_next/static/chunks/app/settings/page-
|
164
|
+
khoj/interface/compiled/_next/static/chunks/app/settings/page-3257ef0146ab18da.js,sha256=EtX101Bp2PUTFU5BGRndRl4TvBMMa1kLx1IO4sVGBvg,32244
|
165
165
|
khoj/interface/compiled/_next/static/chunks/app/share/chat/layout-592e8c470f2c2084.js,sha256=f4uHzU7NvCArgecxL5t2nKni8w9rdQp_rZV6GPhDZHg,180
|
166
|
-
khoj/interface/compiled/_next/static/chunks/app/share/chat/page-
|
166
|
+
khoj/interface/compiled/_next/static/chunks/app/share/chat/page-f625859c1a122441.js,sha256=m32F2H2ZyGAYi78qQJ0RVvWK0aOqWHusraYhuGpOTf8,4366
|
167
167
|
khoj/interface/compiled/_next/static/chunks/pages/_app-f870474a17b7f2fd.js,sha256=eqdFPAN_XFyMUzZ9qwFk-_rhMWZrU7lgNVt1foVUANo,286
|
168
168
|
khoj/interface/compiled/_next/static/chunks/pages/_error-c66a4e8afc46f17b.js,sha256=vjERjtMAbVk-19LyPf1Jc-H6TMcrSznSz6brzNqbqf8,253
|
169
169
|
khoj/interface/compiled/_next/static/css/089de1d8526b96e9.css,sha256=sjpmNlk7H2uKEYK9_DFccNq9J8V9uR799cS0yT-E7EI,4041
|
@@ -174,6 +174,8 @@ khoj/interface/compiled/_next/static/css/4cae6c0e5c72fb2d.css,sha256=3CjTMmtMrm_
|
|
174
174
|
khoj/interface/compiled/_next/static/css/5a400c87d295e68a.css,sha256=ojDUPJ9fJpEo9DzTAsEa-k1cg7Bef-nSTfpszMiqknQ,17711
|
175
175
|
khoj/interface/compiled/_next/static/css/80bd6301fc657983.css,sha256=T7_aQHcWpQBQLKadauHNzjYGw713FtRNTlUqmJjsL6I,1634
|
176
176
|
khoj/interface/compiled/_next/static/css/cb167d6771069fbf.css,sha256=yZPsTnUYGAD_1KzBmop3_Zs7o2M7il0q4XjYpIOu_ZM,9211
|
177
|
+
khoj/interface/compiled/_next/static/kPyLv34hw1nOJ8ghPklew/_buildManifest.js,sha256=6I9QUstNpJnhe3leR2Daw0pSXwzcbBscv6h2jmmPpms,224
|
178
|
+
khoj/interface/compiled/_next/static/kPyLv34hw1nOJ8ghPklew/_ssgManifest.js,sha256=Z49s4suAsf5y_GfnQSvm4qtq2ggxEbZPfEDTXjy6XgA,80
|
177
179
|
khoj/interface/compiled/_next/static/media/1d8a05b60287ae6c-s.p.woff2,sha256=IzKBwB_bpSGvO7C9aRv29Js-jAbZPRDI-D-P4H2P918,14508
|
178
180
|
khoj/interface/compiled/_next/static/media/6f22fce21a7c433c-s.woff2,sha256=T773llrgKNUxGlJzhaH0DUs2rcuRHU7bQpf0DTC4sSU,21812
|
179
181
|
khoj/interface/compiled/_next/static/media/77c207b095007c34-s.p.woff2,sha256=vk9tBKB084h1U8mxwJ5WNHDz_pdUVqE_xb9-ILVhKXY,168144
|
@@ -247,10 +249,8 @@ khoj/interface/compiled/_next/static/media/flags.3afdda2f.webp,sha256=M2AW_HLpBn
|
|
247
249
|
khoj/interface/compiled/_next/static/media/flags@2x.5fbe9fc1.webp,sha256=BBeRPBZkxY3-aKkMnYv5TSkxmbeMbyUH4VRIPfrWg1E,137406
|
248
250
|
khoj/interface/compiled/_next/static/media/globe.98e105ca.webp,sha256=g3ofb8-W9GM75zIhlvQhaS8I2py9TtrovOKR3_7Jf04,514
|
249
251
|
khoj/interface/compiled/_next/static/media/globe@2x.974df6f8.webp,sha256=I_N7Yke3IOoS-0CC6XD8o0IUWG8PdPbrHmf6lpgWlZY,1380
|
250
|
-
khoj/interface/compiled/
|
251
|
-
khoj/interface/compiled/
|
252
|
-
khoj/interface/compiled/agents/index.html,sha256=sUFXuNMSDRKJXS-ccvmuNvRq7uvrO20XAsbiq9EV_4s,14091
|
253
|
-
khoj/interface/compiled/agents/index.txt,sha256=MqECqZkBboy22x12C3UOX7QQqCcSw-30zD6RR2kH-5w,6095
|
252
|
+
khoj/interface/compiled/agents/index.html,sha256=rriGFIw9KGIO-Qpet5kZKlbIP_5Vt1_cao4vVDyoEgc,14091
|
253
|
+
khoj/interface/compiled/agents/index.txt,sha256=W1WysNhhpVOHJsBgjHNvGRh-5l2jEI3Va7g6NiHIYAI,6095
|
254
254
|
khoj/interface/compiled/assets/icons/khoj_lantern.ico,sha256=eggu-B_v3z1R53EjOFhIqqPnICBGdoaw1xnc0NrzHck,174144
|
255
255
|
khoj/interface/compiled/assets/icons/khoj_lantern.svg,sha256=I_8XP5X84gEOoCRhCRKOQn_GKZrz3SUBXct7WxHvY7c,8767
|
256
256
|
khoj/interface/compiled/assets/icons/khoj_lantern_1200x1200.png,sha256=xDx0bbD-WMflgg8zck9oPIIuTIvywtuED2k7CjSQS4w,66194
|
@@ -265,16 +265,16 @@ khoj/interface/compiled/assets/samples/desktop-remember-plan-sample.png,sha256=i
|
|
265
265
|
khoj/interface/compiled/assets/samples/phone-browse-draw-sample.png,sha256=Dd4fPwtFl6BWqnHjeb1mCK_ND0hhHsWtx8sNE7EiMuE,406179
|
266
266
|
khoj/interface/compiled/assets/samples/phone-plain-chat-sample.png,sha256=DEDaNRCkfEWUeh3kYZWIQDTVK1a6KKnYdwj5ZWisN_Q,82985
|
267
267
|
khoj/interface/compiled/assets/samples/phone-remember-plan-sample.png,sha256=Ma3blirRmq3X4oYSsDbbT7MDn29rymDrjwmUfA9BMuM,236285
|
268
|
-
khoj/interface/compiled/automations/index.html,sha256=
|
269
|
-
khoj/interface/compiled/automations/index.txt,sha256=
|
270
|
-
khoj/interface/compiled/chat/index.html,sha256=
|
271
|
-
khoj/interface/compiled/chat/index.txt,sha256=
|
272
|
-
khoj/interface/compiled/search/index.html,sha256=
|
273
|
-
khoj/interface/compiled/search/index.txt,sha256=
|
274
|
-
khoj/interface/compiled/settings/index.html,sha256=
|
275
|
-
khoj/interface/compiled/settings/index.txt,sha256=
|
276
|
-
khoj/interface/compiled/share/chat/index.html,sha256=
|
277
|
-
khoj/interface/compiled/share/chat/index.txt,sha256=
|
268
|
+
khoj/interface/compiled/automations/index.html,sha256=a4IZ8kW4zw8dcktalC2H6og_f8f4Yc2ecLGqOIoobAU,33921
|
269
|
+
khoj/interface/compiled/automations/index.txt,sha256=5cgtV41n9FtsRDD8aWnfZ0IIwIbg4DZLwIYNtMF5ZZI,6373
|
270
|
+
khoj/interface/compiled/chat/index.html,sha256=4ov3UY3e-3LREDH56mNvOr77d8cDt20PnvIkOSNek6Y,15274
|
271
|
+
khoj/interface/compiled/chat/index.txt,sha256=yt96KK_K3oPvf6SOjMcsrvvzE7tn8PJD-tiKeuzkICE,6628
|
272
|
+
khoj/interface/compiled/search/index.html,sha256=1zrqDcR5E93iKdmrRIC2BuMHNhM8B3ahz9r7GkYho4Q,32875
|
273
|
+
khoj/interface/compiled/search/index.txt,sha256=oo6wSueRo4WeysejTXfdsEZIxIK9bgzSv8VSUONaEo0,5900
|
274
|
+
khoj/interface/compiled/settings/index.html,sha256=W3jhn25SrWl5018bdLTAmxsHNYgYlKXiNfOFzXjMknI,14885
|
275
|
+
khoj/interface/compiled/settings/index.txt,sha256=ouTRhDShnM9h30q_6XFn5P3dwf0Gi_7e898gjP7eM_o,6496
|
276
|
+
khoj/interface/compiled/share/chat/index.html,sha256=Fknx8ABhFM-GrMKCad8Ua1mRFZh7yFtFaZCtjUd38N4,16611
|
277
|
+
khoj/interface/compiled/share/chat/index.txt,sha256=DVEU6zjgQSBkEMtAPO2dfmUUDv4FwrBfpI95xBAYEJA,7444
|
278
278
|
khoj/interface/email/feedback.html,sha256=xksuPFamx4hGWyTTxZKRgX_eiYQQEuv-eK9Xmkt-nwU,1216
|
279
279
|
khoj/interface/email/magic_link.html,sha256=EoGKQucfPj3xQrWXhSZAzPFOYCHF_ZX94TWCd1XHl1M,941
|
280
280
|
khoj/interface/email/task.html,sha256=tY7a0gzVeQ2lSQNu7WyXR_s7VYeWTrxWEj1iHVuoVE4,2813
|
@@ -326,20 +326,20 @@ khoj/processor/content/pdf/pdf_to_entries.py,sha256=GQUvab61okhV9_DK0g2MCrMq8wKp
|
|
326
326
|
khoj/processor/content/plaintext/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
327
327
|
khoj/processor/content/plaintext/plaintext_to_entries.py,sha256=wFZwK_zIc7gWbRtO9sOHo9KvfhGAzL9psX_nKWYFduo,4975
|
328
328
|
khoj/processor/conversation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
329
|
-
khoj/processor/conversation/prompts.py,sha256=
|
330
|
-
khoj/processor/conversation/utils.py,sha256=
|
329
|
+
khoj/processor/conversation/prompts.py,sha256=dAmE_rPbyLK3JtdYF869iKVQWjeZswU7FzfCUzCbozg,51040
|
330
|
+
khoj/processor/conversation/utils.py,sha256=Se33hiNm6dEEuw3t0h75o0p8F8_JSeCt3rRTPDkcrQg,32738
|
331
331
|
khoj/processor/conversation/anthropic/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
332
|
-
khoj/processor/conversation/anthropic/anthropic_chat.py,sha256=
|
332
|
+
khoj/processor/conversation/anthropic/anthropic_chat.py,sha256=wNFqfcm7ZIXkK49WMNLEV-iOmG_xxlEYb1vw3YJTyAw,8983
|
333
333
|
khoj/processor/conversation/anthropic/utils.py,sha256=En5uBBsxDBWb6QTs5g8nH_f2FVBX1uYK40i13fDRAhc,7327
|
334
334
|
khoj/processor/conversation/google/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
335
|
-
khoj/processor/conversation/google/gemini_chat.py,sha256=
|
335
|
+
khoj/processor/conversation/google/gemini_chat.py,sha256=H90_TQOFeQWvetxeIe9CHny9qqVt7JmqxnsWPqmNvSA,9174
|
336
336
|
khoj/processor/conversation/google/utils.py,sha256=2vV7MNXFhJqBut5iMmQwcfvsqL_AkGoEd4XiViCk51s,10851
|
337
337
|
khoj/processor/conversation/offline/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
338
|
-
khoj/processor/conversation/offline/chat_model.py,sha256=
|
338
|
+
khoj/processor/conversation/offline/chat_model.py,sha256=8bePyMU_kObH6aYrWjCHSl8OnaKPD3M93_Tb2VylClo,11321
|
339
339
|
khoj/processor/conversation/offline/utils.py,sha256=51McImxl6u1qgRYvMt7uzsgLGSLq5SMFy74ymlNjIcc,3033
|
340
340
|
khoj/processor/conversation/offline/whisper.py,sha256=DJI-8y8DULO2cQ49m2VOvRyIZ2TxBypc15gM8O3HuMI,470
|
341
341
|
khoj/processor/conversation/openai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
342
|
-
khoj/processor/conversation/openai/gpt.py,sha256=
|
342
|
+
khoj/processor/conversation/openai/gpt.py,sha256=80VopHkTiZRrS6an5bpiHBuYB6uAcjRma9Q2V74zdJU,8531
|
343
343
|
khoj/processor/conversation/openai/utils.py,sha256=u-p-9wg6Xrd_ceNcalZd8x5g6ZSgBqarozEMqeLtYyE,7529
|
344
344
|
khoj/processor/conversation/openai/whisper.py,sha256=zoEeK1LNCg_tzP4xzYi5vRPzNPGuDGzpkrkG7d1LUn4,447
|
345
345
|
khoj/processor/image/generate.py,sha256=v1ZVeE0IQxP1-34j6IZBAB267knAbSvE8jYspO_tQw4,8807
|
@@ -351,14 +351,14 @@ khoj/processor/tools/run_code.py,sha256=pa8slKYU21yDxBxK2CoQTEwHxZIANA_-bI8GhEDj
|
|
351
351
|
khoj/routers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
352
352
|
khoj/routers/api.py,sha256=2cCCknPtPIRB3OD5yeh4RlWiuLSJp8tNSaX6lUadHVA,28498
|
353
353
|
khoj/routers/api_agents.py,sha256=vHPruCjlQxGBdm0lcmymEb9-aAELqbOplqh21WwD0DQ,9699
|
354
|
-
khoj/routers/api_chat.py,sha256
|
354
|
+
khoj/routers/api_chat.py,sha256=qjIyEti0pcfzULR76FSZMbc9x-CGbD-AqfGUMcHyC6Y,49030
|
355
355
|
khoj/routers/api_content.py,sha256=WNlB6lVwRW8hHDthO2HypbpPvqrqt9rTU5oMRNknpMU,21070
|
356
356
|
khoj/routers/api_model.py,sha256=KDsxNwHspC94eTcv6l3ehr773EOvgc670UnZLE1WZ4o,3642
|
357
357
|
khoj/routers/api_phone.py,sha256=p9yfc4WeMHDC0hg3aQk60a2VBy8rZPdEnz9wdJ7DzkU,2208
|
358
358
|
khoj/routers/api_subscription.py,sha256=qnbKwA6N1TWK8Aiu1FFLka_JhbPOuwqT262NSHGZDiQ,5569
|
359
359
|
khoj/routers/auth.py,sha256=kWPB2McwT6z4rGF6mWl92Q7ToRX-XezBPFefdxqQUk4,6579
|
360
360
|
khoj/routers/email.py,sha256=SGYNPQvfcvYeHf70F0YqpY0FLMRElF2ZekROXdwGI18,3821
|
361
|
-
khoj/routers/helpers.py,sha256=
|
361
|
+
khoj/routers/helpers.py,sha256=YDOT3G3Ix2a-OEX_j_PNrVMG9gwFoVWhncCdbur6mOg,84338
|
362
362
|
khoj/routers/notion.py,sha256=g53xyYFmjr2JnuIrTW2vytbfkiK_UkoRTxqnnLSmD5o,2802
|
363
363
|
khoj/routers/research.py,sha256=KjUuo-rwtSqUX-0BYjXgP6cWeH3xazffwtxfxKXZL00,16083
|
364
364
|
khoj/routers/storage.py,sha256=tJrwhFRVWv0MHv7V7huMc1Diwm-putZSwnZXJ3tqT_c,2338
|
@@ -383,8 +383,8 @@ khoj/utils/models.py,sha256=Q5tcC9-z25sCiub048fLnvZ6_IIO1bcPNxt5payekk0,2009
|
|
383
383
|
khoj/utils/rawconfig.py,sha256=bQ_MGbBzYt6ZUIsHUwZjaHKDLh6GQ7h-sENkv3fyVbQ,5028
|
384
384
|
khoj/utils/state.py,sha256=axjZhnby8L3bY-N1VVoWgBH1RpFGK6U3_ZeNo1Kt7hs,1679
|
385
385
|
khoj/utils/yaml.py,sha256=qy1Tkc61rDMesBw_Cyx2vOR6H-Hngcsm5kYfjwQBwkE,1543
|
386
|
-
khoj-1.30.11.
|
387
|
-
khoj-1.30.11.
|
388
|
-
khoj-1.30.11.
|
389
|
-
khoj-1.30.11.
|
390
|
-
khoj-1.30.11.
|
386
|
+
khoj-1.30.11.dev69.dist-info/METADATA,sha256=ROtPQus-xMXh81qnG2a6eRuZdKmT2REsgxdS8DqOuj4,7570
|
387
|
+
khoj-1.30.11.dev69.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
388
|
+
khoj-1.30.11.dev69.dist-info/entry_points.txt,sha256=KBIcez5N_jCgq_ER4Uxf-e1lxTBMTE_BBjMwwfeZyAg,39
|
389
|
+
khoj-1.30.11.dev69.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
|
390
|
+
khoj-1.30.11.dev69.dist-info/RECORD,,
|