khoj 2.0.0b11.dev15__py3-none-any.whl → 2.0.0b12__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 +2 -2
- khoj/interface/compiled/_next/static/chunks/app/agents/{page-9a4610474cd59a71.js → page-5db6ad18da10d353.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/app/automations/{page-f7bb9d777b7745d4.js → page-6271e2e31c7571d1.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/app/chat/{page-8e1c4f2af3c9429e.js → page-4bc2938df5d57981.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/app/{page-2b3056cba8aa96ce.js → page-a19a597629e87fb8.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/app/search/layout-f5881c7ae3ba0795.js +1 -0
- khoj/interface/compiled/_next/static/chunks/app/search/{page-4885df3cd175c957.js → page-fa366ac14b228688.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/app/settings/{page-8be3b35178abf2ec.js → page-8f9a85f96088c18b.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/app/share/chat/layout-abb6c5f4239ad7be.js +1 -0
- khoj/interface/compiled/_next/static/chunks/app/share/chat/{page-4a4b0c0f4749c2b2.js → page-ed7787cf4938b8e3.js} +1 -1
- khoj/interface/compiled/_next/static/chunks/{webpack-2d7431816511b8a5.js → webpack-4b00e5a0da4a9dae.js} +1 -1
- khoj/interface/compiled/_next/static/css/{821d0d60b0b6871d.css → 93eeacc43e261162.css} +1 -1
- khoj/interface/compiled/_next/static/css/{23b26df423cd8a9c.css → a0c2fd63bb396f04.css} +1 -1
- khoj/interface/compiled/agents/index.html +2 -2
- khoj/interface/compiled/agents/index.txt +2 -2
- khoj/interface/compiled/automations/index.html +2 -2
- khoj/interface/compiled/automations/index.txt +3 -3
- khoj/interface/compiled/chat/index.html +2 -2
- khoj/interface/compiled/chat/index.txt +2 -2
- khoj/interface/compiled/index.html +2 -2
- khoj/interface/compiled/index.txt +2 -2
- khoj/interface/compiled/search/index.html +2 -2
- khoj/interface/compiled/search/index.txt +2 -2
- khoj/interface/compiled/settings/index.html +2 -2
- khoj/interface/compiled/settings/index.txt +4 -4
- khoj/interface/compiled/share/chat/index.html +2 -2
- khoj/interface/compiled/share/chat/index.txt +2 -2
- khoj/processor/conversation/openai/gpt.py +2 -2
- khoj/processor/conversation/openai/utils.py +28 -11
- khoj/processor/conversation/prompts.py +9 -6
- khoj/routers/api_chat.py +44 -0
- khoj/utils/helpers.py +4 -4
- {khoj-2.0.0b11.dev15.dist-info → khoj-2.0.0b12.dist-info}/METADATA +1 -1
- {khoj-2.0.0b11.dev15.dist-info → khoj-2.0.0b12.dist-info}/RECORD +46 -46
- khoj/interface/compiled/_next/static/chunks/app/search/layout-c02531d586972d7d.js +0 -1
- khoj/interface/compiled/_next/static/chunks/app/share/chat/layout-e8e5db7830bf3f47.js +0 -1
- /khoj/interface/compiled/_next/static/{nqIeU27JxQkTS-5OXP3OU → TTch40tYWOfh0SzwjwZXV}/_buildManifest.js +0 -0
- /khoj/interface/compiled/_next/static/{nqIeU27JxQkTS-5OXP3OU → TTch40tYWOfh0SzwjwZXV}/_ssgManifest.js +0 -0
- /khoj/interface/compiled/_next/static/chunks/{1327-1a9107b9a2a04a98.js → 1327-3b1a41af530fa8ee.js} +0 -0
- /khoj/interface/compiled/_next/static/chunks/{1915-5c6508f6ebb62a30.js → 1915-fbfe167c84ad60c5.js} +0 -0
- /khoj/interface/compiled/_next/static/chunks/{2117-080746c8e170c81a.js → 2117-e78b6902ad6f75ec.js} +0 -0
- /khoj/interface/compiled/_next/static/chunks/{2939-4af3fd24b8ffc9ad.js → 2939-4d4084c5b888b960.js} +0 -0
- /khoj/interface/compiled/_next/static/chunks/{4447-cd95608f8e93e711.js → 4447-d6cf93724d57e34b.js} +0 -0
- /khoj/interface/compiled/_next/static/chunks/{8667-50b03a89e82e0ba7.js → 8667-4b7790573b08c50d.js} +0 -0
- /khoj/interface/compiled/_next/static/chunks/{9139-8ac4d9feb10f8869.js → 9139-ce1ae935dac9c871.js} +0 -0
- {khoj-2.0.0b11.dev15.dist-info → khoj-2.0.0b12.dist-info}/WHEEL +0 -0
- {khoj-2.0.0b11.dev15.dist-info → khoj-2.0.0b12.dist-info}/entry_points.txt +0 -0
- {khoj-2.0.0b11.dev15.dist-info → khoj-2.0.0b12.dist-info}/licenses/LICENSE +0 -0
khoj/routers/api_chat.py
CHANGED
@@ -1596,6 +1596,7 @@ async def process_chat_request(
|
|
1596
1596
|
self.last_flush = time.perf_counter()
|
1597
1597
|
|
1598
1598
|
message_buffer = MessageBuffer()
|
1599
|
+
thought_buffer = MessageBuffer()
|
1599
1600
|
BUFFER_FLUSH_INTERVAL = 0.1 # 100ms buffer interval
|
1600
1601
|
BUFFER_MAX_SIZE = 512 # Flush if buffer reaches this size
|
1601
1602
|
|
@@ -1611,6 +1612,18 @@ async def process_chat_request(
|
|
1611
1612
|
message_buffer.timeout = None
|
1612
1613
|
yield buffered_content
|
1613
1614
|
|
1615
|
+
async def flush_thought_buffer():
|
1616
|
+
"""Flush the accumulated thought buffer to the client"""
|
1617
|
+
nonlocal thought_buffer
|
1618
|
+
if thought_buffer.content:
|
1619
|
+
thought_event = json.dumps({"type": ChatEvent.THOUGHT.value, "data": thought_buffer.content})
|
1620
|
+
thought_buffer.content = ""
|
1621
|
+
thought_buffer.last_flush = time.perf_counter()
|
1622
|
+
if thought_buffer.timeout:
|
1623
|
+
thought_buffer.timeout.cancel()
|
1624
|
+
thought_buffer.timeout = None
|
1625
|
+
yield thought_event
|
1626
|
+
|
1614
1627
|
try:
|
1615
1628
|
# Since we are using websockets, we can ignore the stream parameter and always stream
|
1616
1629
|
response_iterator = event_generator(
|
@@ -1629,6 +1642,37 @@ async def process_chat_request(
|
|
1629
1642
|
chunks = "".join([chunk async for chunk in flush_message_buffer()])
|
1630
1643
|
await websocket.send_text(chunks)
|
1631
1644
|
await websocket.send_text(ChatEvent.END_EVENT.value)
|
1645
|
+
elif evt_json["type"] == ChatEvent.THOUGHT.value:
|
1646
|
+
# Buffer THOUGHT events for better streaming performance
|
1647
|
+
thought_buffer.content += str(evt_json.get("data", ""))
|
1648
|
+
|
1649
|
+
# Flush if buffer is too large or enough time has passed
|
1650
|
+
current_time = time.perf_counter()
|
1651
|
+
should_flush_time = (current_time - thought_buffer.last_flush) >= BUFFER_FLUSH_INTERVAL
|
1652
|
+
should_flush_size = len(thought_buffer.content) >= BUFFER_MAX_SIZE
|
1653
|
+
|
1654
|
+
if should_flush_size or should_flush_time:
|
1655
|
+
thought_event = "".join([chunk async for chunk in flush_thought_buffer()])
|
1656
|
+
await websocket.send_text(thought_event)
|
1657
|
+
await websocket.send_text(ChatEvent.END_EVENT.value)
|
1658
|
+
else:
|
1659
|
+
# Cancel any previous timeout tasks to reset the flush timer
|
1660
|
+
if thought_buffer.timeout:
|
1661
|
+
thought_buffer.timeout.cancel()
|
1662
|
+
|
1663
|
+
async def delayed_thought_flush():
|
1664
|
+
"""Flush thought buffer if no new messages arrive within debounce interval."""
|
1665
|
+
await asyncio.sleep(BUFFER_FLUSH_INTERVAL)
|
1666
|
+
# Check if there's still content to flush
|
1667
|
+
thought_chunks = "".join([chunk async for chunk in flush_thought_buffer()])
|
1668
|
+
if thought_chunks:
|
1669
|
+
thought_event = "".join([chunk async for chunk in flush_thought_buffer()])
|
1670
|
+
await websocket.send_text(thought_event)
|
1671
|
+
await websocket.send_text(ChatEvent.END_EVENT.value)
|
1672
|
+
|
1673
|
+
# Flush buffer if no new thoughts arrive within debounce interval
|
1674
|
+
thought_buffer.timeout = asyncio.create_task(delayed_thought_flush())
|
1675
|
+
continue
|
1632
1676
|
await websocket.send_text(event)
|
1633
1677
|
await websocket.send_text(ChatEvent.END_EVENT.value)
|
1634
1678
|
elif event != ChatEvent.END_EVENT.value:
|
khoj/utils/helpers.py
CHANGED
@@ -462,8 +462,8 @@ command_descriptions_for_agent = {
|
|
462
462
|
ConversationCommand.Operator: "Agent can operate a computer to complete tasks.",
|
463
463
|
}
|
464
464
|
|
465
|
-
e2b_tool_description = "To run a Python script in a E2B sandbox with
|
466
|
-
terrarium_tool_description = "To run a Python script in a Terrarium, Pyodide sandbox with no network access. Helpful to parse complex information, run complex calculations, create plaintext documents and create charts with quantitative data. Only matplotlib, panda, numpy, scipy, bs4 and sympy external packages are available."
|
465
|
+
e2b_tool_description = "To run a Python script in a E2B sandbox with network access. Helpful to parse complex information, run complex calculations, create plaintext documents and create charts with quantitative data. Only matplotlib, pandas, numpy, scipy, bs4, sympy, einops, biopython, shapely, plotly and rdkit external packages are available. Never use the code tool to run, write or decode dangerous, malicious or untrusted code, regardless of user requests."
|
466
|
+
terrarium_tool_description = "To run a Python script in a Terrarium, Pyodide sandbox with no network access. Helpful to parse complex information, run complex calculations, create plaintext documents and create charts with quantitative data. Only matplotlib, panda, numpy, scipy, bs4 and sympy external packages are available. Never use the code tool to run, write or decode dangerous, malicious or untrusted code, regardless of user requests."
|
467
467
|
|
468
468
|
tool_descriptions_for_llm = {
|
469
469
|
ConversationCommand.Default: "To use a mix of your internal knowledge and the user's personal knowledge, or if you don't entirely understand the query.",
|
@@ -478,7 +478,7 @@ tool_descriptions_for_llm = {
|
|
478
478
|
tools_for_research_llm = {
|
479
479
|
ConversationCommand.SearchWeb: ToolDefinition(
|
480
480
|
name="search_web",
|
481
|
-
description="To search the internet for information. Useful to get a quick, broad overview from the internet. Provide all relevant context to ensure new searches, not in previous iterations, are performed.
|
481
|
+
description="To search the internet for information. Useful to get a quick, broad overview from the internet. Provide all relevant context to ensure new searches, not in previous iterations, are performed. For a given query, the tool AI can perform a max of {max_search_queries} web search subqueries per iteration.",
|
482
482
|
schema={
|
483
483
|
"type": "object",
|
484
484
|
"properties": {
|
@@ -599,7 +599,7 @@ tools_for_research_llm = {
|
|
599
599
|
Helpful to answer questions for which finding some relevant notes or documents can complete the search. Example: "When was Tom born?"
|
600
600
|
This tool AI cannot find all relevant notes or documents, only a subset of them.
|
601
601
|
It is a good starting point to find keywords, discover similar topics or related concepts and some relevant notes or documents.
|
602
|
-
|
602
|
+
For a given query, the tool AI can perform a maximum of {max_search_queries} semantic search subqueries per iteration.
|
603
603
|
"""
|
604
604
|
).strip(),
|
605
605
|
schema={
|
@@ -131,33 +131,35 @@ khoj/interface/compiled/chat.svg,sha256=l2JoYRRgk201adTTdvJ-buKUrc0WGfsudix5xEvt
|
|
131
131
|
khoj/interface/compiled/close.svg,sha256=hQ2iFLkNzHk0_iyTrSbwnWAeXYlgA-c2Eof2Iqh76n4,417
|
132
132
|
khoj/interface/compiled/copy-button-success.svg,sha256=byqWAYD3Pn9IOXRjOKudJ-TJbP2UESbQGvtLWazNGjY,829
|
133
133
|
khoj/interface/compiled/copy-button.svg,sha256=05bKM2eRxksfBlAPT7yMaoNJEk85bZCxQg67EVrPeHo,669
|
134
|
-
khoj/interface/compiled/index.html,sha256=
|
135
|
-
khoj/interface/compiled/index.txt,sha256=
|
134
|
+
khoj/interface/compiled/index.html,sha256=yg-1VsxmiHO6-Z_1mSkY5RjaINeIBDEcpwtU38xI4q8,53350
|
135
|
+
khoj/interface/compiled/index.txt,sha256=stlj5k2A8g3FZTybWmTUXG8dL11nIcBR8WYOOLrsi0g,7747
|
136
136
|
khoj/interface/compiled/khoj.webmanifest,sha256=9wOK2BMS6xH5NKd2eaUgTLg9WepIxB2K2U33KU89LD8,2543
|
137
137
|
khoj/interface/compiled/logo.svg,sha256=_QCKVYM4WT2Qhcf7aVFImjq_s5CwjynGXYAOgI7yf8w,8059
|
138
138
|
khoj/interface/compiled/send.svg,sha256=VdavOWkVddcwcGcld6pdfmwfz7S91M-9O28cfeiKJkM,635
|
139
139
|
khoj/interface/compiled/share.svg,sha256=91lwo75PvMDrgocuZQab6EQ62CxRbubh9Bhw7CWMKbg,1221
|
140
140
|
khoj/interface/compiled/thumbs-down.svg,sha256=JGNl-DwoRmH2XFMPWwFFklmoYtKxaQbkLE3nuYKe8ZY,1019
|
141
141
|
khoj/interface/compiled/thumbs-up.svg,sha256=yS1wxTRtiztkN-6nZciLoYQUB_KTYNPV8xFRwH2TQFw,1036
|
142
|
-
khoj/interface/compiled/404/index.html,sha256=
|
142
|
+
khoj/interface/compiled/404/index.html,sha256=7DGwWlZz_QFqhxYsPf0l0lejdRcZ3ZJbEMl2SkN4zKc,17407
|
143
|
+
khoj/interface/compiled/_next/static/TTch40tYWOfh0SzwjwZXV/_buildManifest.js,sha256=f2_nYnw25hHWQJ-39Lf5OH1u6kgdbOInyfplqgjvAV4,224
|
144
|
+
khoj/interface/compiled/_next/static/TTch40tYWOfh0SzwjwZXV/_ssgManifest.js,sha256=Z49s4suAsf5y_GfnQSvm4qtq2ggxEbZPfEDTXjy6XgA,80
|
143
145
|
khoj/interface/compiled/_next/static/chunks/1191.b547ec13349b4aed.js,sha256=3qtdOft2SSaGT0qhyPunEraJEZUxIqDV4q3ULnFantg,10913
|
144
|
-
khoj/interface/compiled/_next/static/chunks/1327-
|
146
|
+
khoj/interface/compiled/_next/static/chunks/1327-3b1a41af530fa8ee.js,sha256=7NmSOycXRGHpTN98sMAirnWN8ZUL971FsQpWmOs4Fxs,442974
|
145
147
|
khoj/interface/compiled/_next/static/chunks/1588.f0558a0bdffc4761.js,sha256=ZSpLe7ui7FG7AvK00JHPg1YjYz8R9l1Obzu1mYHpzjo,89845
|
146
|
-
khoj/interface/compiled/_next/static/chunks/1915-
|
148
|
+
khoj/interface/compiled/_next/static/chunks/1915-fbfe167c84ad60c5.js,sha256=qP_naVeN_Vqu4o2bOYGBoDEYCFVDphWwLqa_3_WeYjU,11294
|
147
149
|
khoj/interface/compiled/_next/static/chunks/1918.925cb4a35518d258.js,sha256=WWqQcBDm9KEZUpj0P9p-iiVxoVjnM4PGtAyQXGAZ4yo,6088
|
148
|
-
khoj/interface/compiled/_next/static/chunks/2117-
|
150
|
+
khoj/interface/compiled/_next/static/chunks/2117-e78b6902ad6f75ec.js,sha256=yOBtQrL5NRMjI60r4pmZRRTHZv8_xwZm4DQp-RI8H9M,123994
|
149
151
|
khoj/interface/compiled/_next/static/chunks/2242.9a07e19f1a3a8b16.js,sha256=gE2wenv7eMCWo8FlC8uOffniVrbcSyi2BfpoDygPJbQ,6535
|
150
152
|
khoj/interface/compiled/_next/static/chunks/2327-ea623ca2d22f78e9.js,sha256=Cwaj5_kmqMRmZH2CdtZG5T5dvdyBL8fL2HrpY4jfLCI,127516
|
151
153
|
khoj/interface/compiled/_next/static/chunks/2612.bcf5a623b3da209e.js,sha256=_odabGQTNjtpFLdU6FmDdC9zZQkYKJOs8_8QVgMJmEI,76988
|
152
154
|
khoj/interface/compiled/_next/static/chunks/2849.dc00ae5ba7219cfc.js,sha256=cVUiYRj2GweNQ4unKpJIhdr_xO5s2hRy3UWK-81rZW8,182
|
153
|
-
khoj/interface/compiled/_next/static/chunks/2939-
|
155
|
+
khoj/interface/compiled/_next/static/chunks/2939-4d4084c5b888b960.js,sha256=8BI0oAQSZQj37UZX_igaTvuTgW0nGvVtvyG9G9byr_k,35749
|
154
156
|
khoj/interface/compiled/_next/static/chunks/303.fe76de943e930fbd.js,sha256=gvkmkEYSLe4Iy-8Ti4Ty_OYjkHyrIpgUnfuoQSX577g,178
|
155
157
|
khoj/interface/compiled/_next/static/chunks/3265.924139c4146ee344.js,sha256=O0nwy9HzDY8Df66o72--Lw9RguS5Mh4ExT-uBxdRUbA,636
|
156
158
|
khoj/interface/compiled/_next/static/chunks/3489.c523fe96a2eee74f.js,sha256=s2F6I_29rsqcu-8229-nssfws7vZO7cuQJYqehK7tbk,21715
|
157
159
|
khoj/interface/compiled/_next/static/chunks/3592-b2a2444b0ec7b119.js,sha256=ADfFNp0QHqmz0sHmTSpE-hWnh09AxVVzZb6zcx_ATmg,42200
|
158
160
|
khoj/interface/compiled/_next/static/chunks/3595-ac8e81e04ecb89cb.js,sha256=43eYa6m0ZuFnnBOPTa6S-T0WeLftHEZDlkMe4b7fmIA,21564
|
159
161
|
khoj/interface/compiled/_next/static/chunks/4327.8d2a1b8f1ea78208.js,sha256=VKeC1Y6778Nlt-spX9W9dL8Ex-d2N5AEj53AOVUXGWE,322147
|
160
|
-
khoj/interface/compiled/_next/static/chunks/4447-
|
162
|
+
khoj/interface/compiled/_next/static/chunks/4447-d6cf93724d57e34b.js,sha256=PUldPCrWRAgi5rxqTzWS1boopyuyAQpzzBg-p4TQnNw,19716
|
161
163
|
khoj/interface/compiled/_next/static/chunks/4533.586e74b45a2bde25.js,sha256=eDHOyGa-CuCVeyXtnx3YWmjvlpWveAj6Mu-bMlm3OJg,25567
|
162
164
|
khoj/interface/compiled/_next/static/chunks/4551.82ce1476b5516bc2.js,sha256=G1EoTZRkMLtwYqsLCyQ9iA_9nvi8oj7_t3qboNWtdfY,71097
|
163
165
|
khoj/interface/compiled/_next/static/chunks/4609-33aa487dff03a9fd.js,sha256=1M6QAfVZa2g2Q4jXRdSI1wjrZ4G9yKjINJt8qyTKm1A,24698
|
@@ -183,14 +185,14 @@ khoj/interface/compiled/_next/static/chunks/7760.35649cc21d9585bd.js,sha256=MJ9q
|
|
183
185
|
khoj/interface/compiled/_next/static/chunks/83.48e2db193a940052.js,sha256=j8X0kemaNExxw4lDZCgkev1HeK37NM_kE6p73WuHjs8,175
|
184
186
|
khoj/interface/compiled/_next/static/chunks/8427.844694e06133fb51.js,sha256=U388feyx6dj6PZblInnwOgAKlPg1f2Vp-oCFhh2SiXY,186
|
185
187
|
khoj/interface/compiled/_next/static/chunks/8665.4db7e6b2e8933497.js,sha256=HovLNJSM0SJRkjLNg0cim_NDnGiVPbUrEQG8YQkGA2Y,45791
|
186
|
-
khoj/interface/compiled/_next/static/chunks/8667-
|
188
|
+
khoj/interface/compiled/_next/static/chunks/8667-4b7790573b08c50d.js,sha256=kyiAVJTylsiOPFTb63uZn_pMlk4pYhDYt_N7xL76PTM,7214
|
187
189
|
khoj/interface/compiled/_next/static/chunks/8694.2bd9c2f65d8c5847.js,sha256=JKqMqrtPf1LK-SmVgLk_F8EjAC6IGKl4lnfWU6q4JXA,33661
|
188
190
|
khoj/interface/compiled/_next/static/chunks/872.caf84cc1a39ae59f.js,sha256=xdPZDnCGiugQ4JwV1FzzYyBEvuXQLOqSw_cMbOJKjtw,11253
|
189
191
|
khoj/interface/compiled/_next/static/chunks/8888.ebe0e552b59e7fed.js,sha256=c5icsYFTx7epn588gtjfP9lKKMdINc07w1P7t56ac8E,3775
|
190
192
|
khoj/interface/compiled/_next/static/chunks/8890.6e8a59e4de6978bc.js,sha256=UgHpyhvA3s1knHgPf3oPgvJ6bqStNOv-6uhQUHBtOGE,36317
|
191
193
|
khoj/interface/compiled/_next/static/chunks/8950.5f2272e0ac923f9e.js,sha256=pxyd8W7Yv79gp8mslLSR_We6gpJOc-JoNkRbM7rgZ94,412
|
192
194
|
khoj/interface/compiled/_next/static/chunks/90542734.2c21f16f18b22411.js,sha256=mFFt4YDMnvCB84YuPgH0V6wX9UvHwoztnhHgL6cad-g,426479
|
193
|
-
khoj/interface/compiled/_next/static/chunks/9139-
|
195
|
+
khoj/interface/compiled/_next/static/chunks/9139-ce1ae935dac9c871.js,sha256=uwVs14McY01hs1lkHG2t8Z_z2EC11NConM1NJPuMXbc,48934
|
194
196
|
khoj/interface/compiled/_next/static/chunks/9202.c703864fcedc8d1f.js,sha256=q728YuRC6vTO64ARqaguEZH6Udhdu6IU3rDGmfdtN6I,24367
|
195
197
|
khoj/interface/compiled/_next/static/chunks/9245.a04e92d034540234.js,sha256=NH1VEr8vi6CkKDFpPgGimz2jfNwpoE4AUFQ86SKmRwg,145680
|
196
198
|
khoj/interface/compiled/_next/static/chunks/9320.6aca4885d541aa44.js,sha256=mMJG3Ncy8a0GVDZPNPan_vWjjYTrr6R8PRFHo1MAXBI,4207
|
@@ -207,31 +209,31 @@ khoj/interface/compiled/_next/static/chunks/framework-8e0e0f4a6b83a956.js,sha256
|
|
207
209
|
khoj/interface/compiled/_next/static/chunks/main-app-de1f09df97a3cfc7.js,sha256=bqnztujKItXfFBzQlaBmDZyfJpQt_M93CXOuchJfpD0,471
|
208
210
|
khoj/interface/compiled/_next/static/chunks/main-fc8e0fefa2ef3d8c.js,sha256=t9FZIByh6V52m41LQ2yyAReF1CAuY7gLMBuWBeKCX2g,116793
|
209
211
|
khoj/interface/compiled/_next/static/chunks/polyfills-42372ed130431b0a.js,sha256=CXPB1kyIrcjjyVBBDLWLKI9yEY1ZZbeASUON648vloM,112594
|
210
|
-
khoj/interface/compiled/_next/static/chunks/webpack-
|
212
|
+
khoj/interface/compiled/_next/static/chunks/webpack-4b00e5a0da4a9dae.js,sha256=1G9q97S90rcgHFal1FwdaGeIpYjsIyGZZibypp85R90,4951
|
211
213
|
khoj/interface/compiled/_next/static/chunks/app/layout-c2de87a25fededbb.js,sha256=jcU3C37p73V24B118uVRQffNaQES9jihsTGYF4fZ_8o,3949
|
212
|
-
khoj/interface/compiled/_next/static/chunks/app/page-
|
214
|
+
khoj/interface/compiled/_next/static/chunks/app/page-a19a597629e87fb8.js,sha256=lfXNkiSiwMKG1q3y0S3MUUsvQNznDHtfpwVKtx38gLk,29930
|
213
215
|
khoj/interface/compiled/_next/static/chunks/app/_not-found/page-84f94d15b2da4eac.js,sha256=zElhiTkdu2JqrEvJ8Lrxh4HCyfLmPllBHHWOuDtrVlw,1755
|
214
216
|
khoj/interface/compiled/_next/static/chunks/app/agents/layout-4e2a134ec26aa606.js,sha256=B3HJ6CKzJccEIOk54Erl1FtKUxGJq2p-ch932X1vjwE,180
|
215
|
-
khoj/interface/compiled/_next/static/chunks/app/agents/page-
|
217
|
+
khoj/interface/compiled/_next/static/chunks/app/agents/page-5db6ad18da10d353.js,sha256=zUXTmNbpn0tA_IWn0vSzHWn6GLRW8AAGS6Fa-07bdwY,17483
|
216
218
|
khoj/interface/compiled/_next/static/chunks/app/automations/layout-63603d2cb33279f7.js,sha256=4OX_fcTQdNVs6HxDdJVWdadMVC_gM86Tkqo2TjBA4gw,5143
|
217
|
-
khoj/interface/compiled/_next/static/chunks/app/automations/page-
|
219
|
+
khoj/interface/compiled/_next/static/chunks/app/automations/page-6271e2e31c7571d1.js,sha256=vOD3YLeKBh_M6ZLtlW4m4fbi2YJf5qyo60251kIMtX8,34829
|
218
220
|
khoj/interface/compiled/_next/static/chunks/app/chat/layout-ad4d1792ab1a4108.js,sha256=g815zvSZenVssWcOYjyqAOPDjTCa359nqspXeIsXQ5A,180
|
219
|
-
khoj/interface/compiled/_next/static/chunks/app/chat/page-
|
220
|
-
khoj/interface/compiled/_next/static/chunks/app/search/layout-
|
221
|
-
khoj/interface/compiled/_next/static/chunks/app/search/page-
|
221
|
+
khoj/interface/compiled/_next/static/chunks/app/chat/page-4bc2938df5d57981.js,sha256=RgHwJtqeKF5mhzjhZs5lIQNuVUsmhc7FVk98LL_-dQs,29308
|
222
|
+
khoj/interface/compiled/_next/static/chunks/app/search/layout-f5881c7ae3ba0795.js,sha256=Bm4Y73ylR-j9_LdKXVUjgLppZJ6JRdLTUgYAsZCOBkQ,180
|
223
|
+
khoj/interface/compiled/_next/static/chunks/app/search/page-fa366ac14b228688.js,sha256=vdwyjWiRZD2Q6pe2-5K0nZzK7JCGf9tSK1JqbL73X6w,30929
|
222
224
|
khoj/interface/compiled/_next/static/chunks/app/settings/layout-f88cedfe9ad4df7c.js,sha256=aFBEgUCsKnoeyULmh7g-DmaznQ0ztcq6y2pj4bSMCIY,6132
|
223
|
-
khoj/interface/compiled/_next/static/chunks/app/settings/page-
|
224
|
-
khoj/interface/compiled/_next/static/chunks/app/share/chat/layout-
|
225
|
-
khoj/interface/compiled/_next/static/chunks/app/share/chat/page-
|
225
|
+
khoj/interface/compiled/_next/static/chunks/app/settings/page-8f9a85f96088c18b.js,sha256=g0S5cRFSD0mkplsB5LuU6bi3pe-CEVwmhNuHB14mx3s,27892
|
226
|
+
khoj/interface/compiled/_next/static/chunks/app/share/chat/layout-abb6c5f4239ad7be.js,sha256=_HdxnZ70IoB5eHZ5e__Z0jt-2ElBo_BsNPboM-2SMLg,180
|
227
|
+
khoj/interface/compiled/_next/static/chunks/app/share/chat/page-ed7787cf4938b8e3.js,sha256=jWx4PswoIgW3jA1NxhI-1oKh_ZcVq-E8ZnqFc3PbHJI,5563
|
226
228
|
khoj/interface/compiled/_next/static/chunks/pages/_app-3c9ca398d360b709.js,sha256=UqtikLsCsOWtDUJOW6Tuk9P-bV1V3MhYd3ghrQuEmfs,286
|
227
229
|
khoj/interface/compiled/_next/static/chunks/pages/_error-cf5ca766ac8f493f.js,sha256=w_It3VzKT8O1M3CrJ_hZHsaU7M7dq3EAaVG8KvJ-fhU,253
|
228
|
-
khoj/interface/compiled/_next/static/css/23b26df423cd8a9c.css,sha256=phmdXegDf59vMIRVETPEUiuioVjJzp09sj3ErX6_nFY,34642
|
229
230
|
khoj/interface/compiled/_next/static/css/3090706713c12a32.css,sha256=lHBNcr2SPiAMdZQONh2MMlVM_huteuNSM9jCqGkS2d0,3075782
|
230
231
|
khoj/interface/compiled/_next/static/css/37a73b87f02df402.css,sha256=hp0vlekKu0K2eITR5YIqFmLHQPqV3JETFnRd_-Uh0mk,165
|
231
232
|
khoj/interface/compiled/_next/static/css/5b28ced915454767.css,sha256=Bk56AIRHovIWNUw8QWvMbXIxxPiyWEiObkMA7RwpMrs,4842
|
232
233
|
khoj/interface/compiled/_next/static/css/76c658ee459140a9.css,sha256=7tI24VB66ZUsAPUxRdQhboopun0AXLUnF64uv9RkC08,1833
|
233
234
|
khoj/interface/compiled/_next/static/css/7889a30fe9c83846.css,sha256=IUkZhkx4GpYOIhN-EJw9T1DqGMO3Wa3mNpUwaOBuZoY,7204
|
234
|
-
khoj/interface/compiled/_next/static/css/
|
235
|
+
khoj/interface/compiled/_next/static/css/93eeacc43e261162.css,sha256=rbrg1ppryE0iLWmJexa3Qibtrb6gegftRjKIIMpnR2s,9736
|
236
|
+
khoj/interface/compiled/_next/static/css/a0c2fd63bb396f04.css,sha256=8q0xBA3l7uP-YOqSnRnQEfPbGUgP9xRP0Q75UHSt6vc,34737
|
235
237
|
khoj/interface/compiled/_next/static/css/db7d90554f3ab82b.css,sha256=A3ZAf0StEG3sr_LxAIizczSTYRe1NbtNUpfslvmkqgk,17713
|
236
238
|
khoj/interface/compiled/_next/static/css/ea5485b3f3859a5a.css,sha256=tn6qi2xSLTWhtzDUE8UlC8iipH9QGV6A9oGj1ap-Sk4,1659
|
237
239
|
khoj/interface/compiled/_next/static/media/1d8a05b60287ae6c-s.p.woff2,sha256=IzKBwB_bpSGvO7C9aRv29Js-jAbZPRDI-D-P4H2P918,14508
|
@@ -311,10 +313,8 @@ khoj/interface/compiled/_next/static/media/flags.3afdda2f.webp,sha256=M2AW_HLpBn
|
|
311
313
|
khoj/interface/compiled/_next/static/media/flags@2x.5fbe9fc1.webp,sha256=BBeRPBZkxY3-aKkMnYv5TSkxmbeMbyUH4VRIPfrWg1E,137406
|
312
314
|
khoj/interface/compiled/_next/static/media/globe.98e105ca.webp,sha256=g3ofb8-W9GM75zIhlvQhaS8I2py9TtrovOKR3_7Jf04,514
|
313
315
|
khoj/interface/compiled/_next/static/media/globe@2x.974df6f8.webp,sha256=I_N7Yke3IOoS-0CC6XD8o0IUWG8PdPbrHmf6lpgWlZY,1380
|
314
|
-
khoj/interface/compiled/
|
315
|
-
khoj/interface/compiled/
|
316
|
-
khoj/interface/compiled/agents/index.html,sha256=H7QIexgn8MuLYRCAwlQsPUHAol-8Nsqbw2Es9hG1m0M,16532
|
317
|
-
khoj/interface/compiled/agents/index.txt,sha256=vyZk1OZaOibBxC7R-qhDp_Z6yTcuffOqfKAqjcUB3Pw,7351
|
316
|
+
khoj/interface/compiled/agents/index.html,sha256=MOm_agthSOcqWuNpM2hfUlEtUWuUITa2ONvKbk3psW0,16532
|
317
|
+
khoj/interface/compiled/agents/index.txt,sha256=ikOjLJN69fkiMYp3yTpTvRcBl9fMRevImELFBRPa6t0,7351
|
318
318
|
khoj/interface/compiled/assets/icons/khoj_lantern.ico,sha256=eggu-B_v3z1R53EjOFhIqqPnICBGdoaw1xnc0NrzHck,174144
|
319
319
|
khoj/interface/compiled/assets/icons/khoj_lantern.svg,sha256=I_8XP5X84gEOoCRhCRKOQn_GKZrz3SUBXct7WxHvY7c,8767
|
320
320
|
khoj/interface/compiled/assets/icons/khoj_lantern_1200x1200.png,sha256=xDx0bbD-WMflgg8zck9oPIIuTIvywtuED2k7CjSQS4w,66194
|
@@ -329,16 +329,16 @@ khoj/interface/compiled/assets/samples/desktop-remember-plan-sample.png,sha256=i
|
|
329
329
|
khoj/interface/compiled/assets/samples/phone-browse-draw-sample.png,sha256=Dd4fPwtFl6BWqnHjeb1mCK_ND0hhHsWtx8sNE7EiMuE,406179
|
330
330
|
khoj/interface/compiled/assets/samples/phone-plain-chat-sample.png,sha256=DEDaNRCkfEWUeh3kYZWIQDTVK1a6KKnYdwj5ZWisN_Q,82985
|
331
331
|
khoj/interface/compiled/assets/samples/phone-remember-plan-sample.png,sha256=Ma3blirRmq3X4oYSsDbbT7MDn29rymDrjwmUfA9BMuM,236285
|
332
|
-
khoj/interface/compiled/automations/index.html,sha256=
|
333
|
-
khoj/interface/compiled/automations/index.txt,sha256=
|
334
|
-
khoj/interface/compiled/chat/index.html,sha256=
|
335
|
-
khoj/interface/compiled/chat/index.txt,sha256=
|
336
|
-
khoj/interface/compiled/search/index.html,sha256=
|
337
|
-
khoj/interface/compiled/search/index.txt,sha256=
|
338
|
-
khoj/interface/compiled/settings/index.html,sha256=
|
339
|
-
khoj/interface/compiled/settings/index.txt,sha256=
|
340
|
-
khoj/interface/compiled/share/chat/index.html,sha256=
|
341
|
-
khoj/interface/compiled/share/chat/index.txt,sha256=
|
332
|
+
khoj/interface/compiled/automations/index.html,sha256=GRFfVs2XKSK39AQjcxcaS_cx8Vf4RRf3OoDstFBSM34,54402
|
333
|
+
khoj/interface/compiled/automations/index.txt,sha256=EvnHotYfr3kE5B7kKW1-x07_m0Z3l2HNdFDQk7MPoeE,7580
|
334
|
+
khoj/interface/compiled/chat/index.html,sha256=D7fhAe_K2seuxcyuaOftptYTMiAb4bUbZr8303wa_HA,53532
|
335
|
+
khoj/interface/compiled/chat/index.txt,sha256=hVzlrn9pumdQDI7bi0WdZCkoPiRfAI_bFX1zwp-WxKY,7991
|
336
|
+
khoj/interface/compiled/search/index.html,sha256=clesuEg3AFgpTCk3e_Aa3lCbZSC8EO5ZUDhy0FflcBI,55611
|
337
|
+
khoj/interface/compiled/search/index.txt,sha256=Va0lMH5Ix_FET5Pqb4hRv7AmghEdX_o3X_UmPLmU7Jg,6698
|
338
|
+
khoj/interface/compiled/settings/index.html,sha256=5mcob0A2VbjuArqYF2iGxLftPj_UEYEJHFckmzxVIXQ,53050
|
339
|
+
khoj/interface/compiled/settings/index.txt,sha256=nOoalEeVmuJVC8bR4w7RzMpzRqgoeIQLwTuQdyKG2PM,7834
|
340
|
+
khoj/interface/compiled/share/chat/index.html,sha256=hjxmjC-LoWBW0CHt5YhFtC63v3LA8NsfrXuOFGmrq50,54112
|
341
|
+
khoj/interface/compiled/share/chat/index.txt,sha256=rK8GxIUR_PmrGmKwxl1fSx_f8yGyU6vwL8kO34yxsMg,8453
|
342
342
|
khoj/interface/email/feedback.html,sha256=xksuPFamx4hGWyTTxZKRgX_eiYQQEuv-eK9Xmkt-nwU,1216
|
343
343
|
khoj/interface/email/magic_link.html,sha256=372ESbTPKM9acekuZcOIKOw6kBl-KikFg_L9MOHqJkg,2094
|
344
344
|
khoj/interface/email/task.html,sha256=tY7a0gzVeQ2lSQNu7WyXR_s7VYeWTrxWEj1iHVuoVE4,2813
|
@@ -391,7 +391,7 @@ khoj/processor/content/pdf/pdf_to_entries.py,sha256=GQUvab61okhV9_DK0g2MCrMq8wKp
|
|
391
391
|
khoj/processor/content/plaintext/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
392
392
|
khoj/processor/content/plaintext/plaintext_to_entries.py,sha256=wFZwK_zIc7gWbRtO9sOHo9KvfhGAzL9psX_nKWYFduo,4975
|
393
393
|
khoj/processor/conversation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
394
|
-
khoj/processor/conversation/prompts.py,sha256=
|
394
|
+
khoj/processor/conversation/prompts.py,sha256=Ho94_T2rwyHQFOW6HnmPYYF0K2ft15lMHvI_yJB3VWc,54571
|
395
395
|
khoj/processor/conversation/utils.py,sha256=ts7tMK3H4IrShop7hBNDyO1ZCXLrCIFgmPKsR5QjN-s,48618
|
396
396
|
khoj/processor/conversation/anthropic/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
397
397
|
khoj/processor/conversation/anthropic/anthropic_chat.py,sha256=6IG-YlpFx86EgW3PdGuv4xGMRzvHx4xVUcQMqkKn4vs,5358
|
@@ -404,8 +404,8 @@ khoj/processor/conversation/offline/chat_model.py,sha256=zsb6HJhfHJ5l6cegq0A6k7Y
|
|
404
404
|
khoj/processor/conversation/offline/utils.py,sha256=51McImxl6u1qgRYvMt7uzsgLGSLq5SMFy74ymlNjIcc,3033
|
405
405
|
khoj/processor/conversation/offline/whisper.py,sha256=DJI-8y8DULO2cQ49m2VOvRyIZ2TxBypc15gM8O3HuMI,470
|
406
406
|
khoj/processor/conversation/openai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
407
|
-
khoj/processor/conversation/openai/gpt.py,sha256=
|
408
|
-
khoj/processor/conversation/openai/utils.py,sha256=
|
407
|
+
khoj/processor/conversation/openai/gpt.py,sha256=B7TPhJk4lxwDNJ4RPLfJbTvfL4dZ2PJWAb-s8jcCiw4,6097
|
408
|
+
khoj/processor/conversation/openai/utils.py,sha256=VFSabEiw-QB9jOsq5xE34DECd7ATBwEMP_Gv9VHEVzA,38645
|
409
409
|
khoj/processor/conversation/openai/whisper.py,sha256=zoEeK1LNCg_tzP4xzYi5vRPzNPGuDGzpkrkG7d1LUn4,447
|
410
410
|
khoj/processor/image/generate.py,sha256=bF80fjsHKkU2f2ADiXJei8-ViqcT0EHaM0wH78KPUC8,12199
|
411
411
|
khoj/processor/operator/README.md,sha256=QaV00W1IB7i8ZrvhNkpjmFMVDtORFt-OASieRQGE_UE,2308
|
@@ -429,7 +429,7 @@ khoj/routers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
429
429
|
khoj/routers/api.py,sha256=BFiKwdYjkR-4aHBumM7Hu4XdN2RvQ0Z9V4_2Wd8aPiM,8633
|
430
430
|
khoj/routers/api_agents.py,sha256=JHtB3hneUNLhdfiagWGkF1SFx48_5iaDenncU1OElhE,17271
|
431
431
|
khoj/routers/api_automation.py,sha256=ux990dRLbcFadV01T-1McPwvFeR0KLyrWAVpCJ3YLvk,9399
|
432
|
-
khoj/routers/api_chat.py,sha256=
|
432
|
+
khoj/routers/api_chat.py,sha256=RLKdg4EZUHV3FrV_AEJGAWat9BkmjwdaciFPM-qp2Tk,69584
|
433
433
|
khoj/routers/api_content.py,sha256=GFChoWm4nYdilhzB1ElbJjaJJRfLn8XtkKmLnZOUHrU,24580
|
434
434
|
khoj/routers/api_model.py,sha256=hjIgOQqva4YVv1osQK8p-317_oSKsv1mHbAYFQICxnM,5273
|
435
435
|
khoj/routers/api_phone.py,sha256=p9yfc4WeMHDC0hg3aQk60a2VBy8rZPdEnz9wdJ7DzkU,2208
|
@@ -454,15 +454,15 @@ khoj/utils/cli.py,sha256=fI1XQYMtJzLGOKQZQ5XxFOrC8sGjK3Alnteg5U62rWI,3882
|
|
454
454
|
khoj/utils/config.py,sha256=aiOkH0je8A30DAGYTHMRePrgJonFv_i07_7CdhhhcdA,1805
|
455
455
|
khoj/utils/constants.py,sha256=4pIq5yimBR-uFwqrukwjlFvfr8Ir190x4rCkysn-sbE,4244
|
456
456
|
khoj/utils/fs_syncer.py,sha256=5nqwAZqRk3Nwhkwd8y4IomTPZQmW32GwAqyMzal5KyY,9996
|
457
|
-
khoj/utils/helpers.py,sha256=
|
457
|
+
khoj/utils/helpers.py,sha256=HffoHFI0aXvHqz3nBLQW5jX6pP8t27ag_nTY23-wrgQ,42906
|
458
458
|
khoj/utils/initialization.py,sha256=_KslgIsoo-1A_ZuouHH3WDbV-TpqBSaID_0b-1xXE0U,15169
|
459
459
|
khoj/utils/jsonl.py,sha256=0Ac_COqr8sLCXntzZtquxuCEVRM2c3yKeDRGhgOBRpQ,1192
|
460
460
|
khoj/utils/models.py,sha256=Q5tcC9-z25sCiub048fLnvZ6_IIO1bcPNxt5payekk0,2009
|
461
461
|
khoj/utils/rawconfig.py,sha256=lgq0FfJOkdALLkoISjmBSEnzuaTPShsTuFUbXlf6brk,5406
|
462
462
|
khoj/utils/state.py,sha256=s_GFWOqRzpEDx0eCPStuzBTK2VEw-qgRpH0aiEdGnDo,1791
|
463
463
|
khoj/utils/yaml.py,sha256=qy1Tkc61rDMesBw_Cyx2vOR6H-Hngcsm5kYfjwQBwkE,1543
|
464
|
-
khoj-2.0.
|
465
|
-
khoj-2.0.
|
466
|
-
khoj-2.0.
|
467
|
-
khoj-2.0.
|
468
|
-
khoj-2.0.
|
464
|
+
khoj-2.0.0b12.dist-info/METADATA,sha256=BEpLwGXoZo1dwVD91lE9sOZPGF1AKbkrsSnM9dUWmF4,8969
|
465
|
+
khoj-2.0.0b12.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
466
|
+
khoj-2.0.0b12.dist-info/entry_points.txt,sha256=KBIcez5N_jCgq_ER4Uxf-e1lxTBMTE_BBjMwwfeZyAg,39
|
467
|
+
khoj-2.0.0b12.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
|
468
|
+
khoj-2.0.0b12.dist-info/RECORD,,
|
@@ -1 +0,0 @@
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[244,8459,3317,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,8459,3317,244],{63521:function(){}},function(n){n.O(0,[2971,2117,1744],function(){return n(n.s=63521)}),_N_E=n.O()}]);
|
File without changes
|
File without changes
|
/khoj/interface/compiled/_next/static/chunks/{1327-1a9107b9a2a04a98.js → 1327-3b1a41af530fa8ee.js}
RENAMED
File without changes
|
/khoj/interface/compiled/_next/static/chunks/{1915-5c6508f6ebb62a30.js → 1915-fbfe167c84ad60c5.js}
RENAMED
File without changes
|
/khoj/interface/compiled/_next/static/chunks/{2117-080746c8e170c81a.js → 2117-e78b6902ad6f75ec.js}
RENAMED
File without changes
|
/khoj/interface/compiled/_next/static/chunks/{2939-4af3fd24b8ffc9ad.js → 2939-4d4084c5b888b960.js}
RENAMED
File without changes
|
/khoj/interface/compiled/_next/static/chunks/{4447-cd95608f8e93e711.js → 4447-d6cf93724d57e34b.js}
RENAMED
File without changes
|
/khoj/interface/compiled/_next/static/chunks/{8667-50b03a89e82e0ba7.js → 8667-4b7790573b08c50d.js}
RENAMED
File without changes
|
/khoj/interface/compiled/_next/static/chunks/{9139-8ac4d9feb10f8869.js → 9139-ce1ae935dac9c871.js}
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|