khoj 1.20.1.dev3__py3-none-any.whl → 1.20.1.dev11__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/database/adapters/__init__.py +2 -2
- khoj/database/admin.py +2 -0
- khoj/interface/web/assets/icons/agents.svg +17 -5
- khoj/interface/web/assets/icons/automation.svg +40 -35
- khoj/interface/web/assets/icons/search.svg +40 -8
- khoj/interface/web/login.html +1 -1
- {khoj-1.20.1.dev3.dist-info → khoj-1.20.1.dev11.dist-info}/METADATA +1 -1
- {khoj-1.20.1.dev3.dist-info → khoj-1.20.1.dev11.dist-info}/RECORD +11 -11
- {khoj-1.20.1.dev3.dist-info → khoj-1.20.1.dev11.dist-info}/WHEEL +0 -0
- {khoj-1.20.1.dev3.dist-info → khoj-1.20.1.dev11.dist-info}/entry_points.txt +0 -0
- {khoj-1.20.1.dev3.dist-info → khoj-1.20.1.dev11.dist-info}/licenses/LICENSE +0 -0
|
@@ -752,7 +752,7 @@ class ConversationAdapters:
|
|
|
752
752
|
voice_model_config = await UserVoiceModelConfig.objects.filter(user=user).prefetch_related("setting").afirst()
|
|
753
753
|
if voice_model_config:
|
|
754
754
|
return voice_model_config.setting
|
|
755
|
-
return
|
|
755
|
+
return await VoiceModelOption.objects.afirst()
|
|
756
756
|
|
|
757
757
|
@staticmethod
|
|
758
758
|
def get_voice_model_options():
|
|
@@ -763,7 +763,7 @@ class ConversationAdapters:
|
|
|
763
763
|
voice_model_config = UserVoiceModelConfig.objects.filter(user=user).prefetch_related("setting").first()
|
|
764
764
|
if voice_model_config:
|
|
765
765
|
return voice_model_config.setting
|
|
766
|
-
return
|
|
766
|
+
return VoiceModelOption.objects.first()
|
|
767
767
|
|
|
768
768
|
@staticmethod
|
|
769
769
|
def get_default_conversation_config():
|
khoj/database/admin.py
CHANGED
|
@@ -27,6 +27,7 @@ from khoj.database.models import (
|
|
|
27
27
|
Subscription,
|
|
28
28
|
TextToImageModelConfig,
|
|
29
29
|
UserSearchModelConfig,
|
|
30
|
+
UserVoiceModelConfig,
|
|
30
31
|
VoiceModelOption,
|
|
31
32
|
)
|
|
32
33
|
from khoj.utils.helpers import ImageIntentType
|
|
@@ -99,6 +100,7 @@ admin.site.register(UserSearchModelConfig)
|
|
|
99
100
|
admin.site.register(ClientApplication)
|
|
100
101
|
admin.site.register(GithubConfig)
|
|
101
102
|
admin.site.register(NotionConfig)
|
|
103
|
+
admin.site.register(UserVoiceModelConfig)
|
|
102
104
|
admin.site.register(VoiceModelOption)
|
|
103
105
|
|
|
104
106
|
|
|
@@ -1,6 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
<!--
|
|
2
|
+
Icon Source: AI by Palash Jain from <a href="https://thenounproject.com/browse/icons/term/ai/" target="_blank" title="AI Icons">Noun Project</a> (CC BY 3.0)
|
|
3
|
+
-->
|
|
4
|
+
<svg
|
|
5
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
6
|
+
version="1.1"
|
|
7
|
+
viewBox="0 0 56 56"
|
|
8
|
+
width="56"
|
|
9
|
+
height="56"
|
|
10
|
+
fill="none"
|
|
11
|
+
>
|
|
12
|
+
<path
|
|
13
|
+
d="m 30.065286,2.6838408 c 0,-1.0516338 -0.536857,-0.2904639 -1.602626,-0.2904639 -1.065769,0 -2.256759,-0.7611699 -2.256759,0.2904639 v 4.7442407 c 0,0.019613 2.9e-4,0.03913 8.68e-4,0.058553 C 12.904724,8.2984689 2.0847457,17.487997 2.0847457,31.229969 c 0,3.541245 0.7282659,6.446979 2.1822891,8.775946 1.4616456,2.341058 3.5599931,3.944353 6.0242102,5.03229 4.798181,2.118273 11.240941,2.377047 17.844348,2.377047 6.603408,0 13.046168,-0.258774 17.844349,-2.377047 2.464217,-1.087937 4.562564,-2.691232 6.02421,-5.03229 1.454023,-2.328967 2.182289,-5.234701 2.182289,-8.775946 0,-13.741972 -10.819978,-22.9315001 -24.122023,-23.7433349 5.78e-4,-0.019422 8.68e-4,-0.03894 8.68e-4,-0.058553 z m -1.929693,8.5525432 c -12.474689,0 -22.1914625,8.103305 -22.1914625,19.993585 0,3.031408 0.6216504,5.19719 1.6087846,6.778396 0.9796083,1.568926 2.4136592,2.714368 4.3145029,3.553622 3.932038,1.735919 9.549855,2.044963 16.268175,2.044963 6.718321,0 12.336138,-0.309044 16.268176,-2.044963 1.900843,-0.839254 3.334894,-1.984696 4.314503,-3.553622 0.987134,-1.581206 1.608784,-3.746988 1.608784,-6.778396 0,-11.89028 -9.716773,-19.993585 -22.191463,-19.993585 z M 16.557439,22.66129 c 1.065769,0 1.929692,0.852488 1.929692,1.904151 v 5.712452 c 0,1.051663 -0.863923,1.904151 -1.929692,1.904151 -1.065769,0 -1.929692,-0.852488 -1.929692,-1.904151 v -5.712452 c 0,-1.051663 0.863923,-1.904151 1.929692,-1.904151 z m 22.191463,0 c 1.065769,0 1.929692,0.852488 1.929692,1.904151 v 5.712452 c 0,1.051663 -0.863923,1.904151 -1.929692,1.904151 -1.065769,0 -1.929693,-0.852488 -1.929693,-1.904151 v -5.712452 c 0,-1.051663 0.863924,-1.904151 1.929693,-1.904151 z M 8.2209746,53.949727 c 6.4574264,-1.16515 13.1131284,-1.774098 19.9146184,-1.774098 6.801587,0 13.457289,0.608948 19.914716,1.774098 1.048305,0.189177 2.053578,-0.496127 2.245293,-1.530557 0.191715,-1.034525 -0.502781,-2.026492 -1.551087,-2.215575 -6.685419,-1.206374 -13.573456,-1.836268 -20.608922,-1.836268 -7.035465,0 -13.923502,0.629894 -20.6088253,1.836268 -1.0484018,0.189083 -1.7428981,1.18105 -1.5511832,2.215575 0.1917149,1.03443 1.1969882,1.719734 2.2453901,1.530557 z"
|
|
14
|
+
clip-rule="evenodd"
|
|
15
|
+
fill-rule="evenodd"
|
|
16
|
+
fill="currentColor"
|
|
17
|
+
stroke-width="0.95844" />
|
|
6
18
|
</svg>
|
|
@@ -1,37 +1,42 @@
|
|
|
1
1
|
<svg
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
2
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
3
|
+
version="1.1"
|
|
4
|
+
viewBox="0 0 24 24"
|
|
5
|
+
width="800"
|
|
6
|
+
height="800"
|
|
7
|
+
fill="none"
|
|
8
|
+
>
|
|
9
|
+
<path
|
|
10
|
+
d="m 20.503667,19.512812 c 1.498791,-1.721309 2.505409,-4.113142 2.505409,-6.488822 0,-5.556853 -4.903485,-10.0615654 -10.952165,-10.0615654 -6.0487172,0 -10.9521652,4.5047124 -10.9521652,10.0615654 0,5.556818 4.903448,10.061562 10.9521652,10.061562 2.585967,0 4.962599,-0.823331 6.836268,-2.200243 z m -8.446756,1.973405 c -4.7113005,0 -9.4138363,-4.134038 -9.4138363,-8.462227 0,-4.3281914 4.7025358,-8.4622628 9.4138363,-8.4622628 4.711301,0 9.4138,4.3425313 9.4138,8.6707228 0,4.328187 -4.702499,8.253767 -9.4138,8.253767 z"
|
|
11
|
+
fill="currentColor"
|
|
12
|
+
fill-rule="evenodd"
|
|
13
|
+
clip-rule="evenodd"
|
|
14
|
+
fill-opacity="1"
|
|
15
|
+
stroke-width="1.16584"
|
|
16
|
+
stroke-dasharray="none"
|
|
17
|
+
/>
|
|
18
|
+
<path
|
|
19
|
+
d="m 14.703831,11.557853 0.0553,2.175599"
|
|
20
|
+
stroke="currentColor"
|
|
21
|
+
stroke-width="2.03174"
|
|
22
|
+
stroke-linecap="round"
|
|
23
|
+
/>
|
|
24
|
+
<path
|
|
25
|
+
d="m 9.470316,11.497919 0.055305,2.175598"
|
|
26
|
+
stroke="currentColor"
|
|
27
|
+
stroke-width="2.03172"
|
|
28
|
+
stroke-linecap="round"
|
|
29
|
+
/>
|
|
30
|
+
<path
|
|
31
|
+
d="m 13.921987,2.0293778 c -1.700446,0.00578 -2.945437,0.011553 -3.53279,0.01733"
|
|
32
|
+
stroke="currentColor"
|
|
33
|
+
stroke-width="1.69465"
|
|
34
|
+
stroke-linecap="round"
|
|
35
|
+
/>
|
|
36
|
+
<path
|
|
37
|
+
d="m 21.395697,5.8423397 -1.28226,1.167146"
|
|
38
|
+
stroke="currentColor"
|
|
39
|
+
stroke-width="2.03172"
|
|
40
|
+
stroke-linecap="round"
|
|
41
|
+
/>
|
|
37
42
|
</svg>
|
|
@@ -1,25 +1,57 @@
|
|
|
1
|
-
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<svg
|
|
2
3
|
width="800px"
|
|
3
4
|
height="800px"
|
|
4
5
|
viewBox="0 0 24 24"
|
|
5
6
|
fill="none"
|
|
6
|
-
version="1.1"
|
|
7
|
+
version="1.1"
|
|
8
|
+
id="svg3"
|
|
9
|
+
sodipodi:docname="search.svg"
|
|
10
|
+
inkscape:version="1.3 (0e150ed, 2023-07-21)"
|
|
11
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
12
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
13
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
14
|
+
xmlns:svg="http://www.w3.org/2000/svg">
|
|
15
|
+
<defs
|
|
16
|
+
id="defs3" />
|
|
17
|
+
<sodipodi:namedview
|
|
18
|
+
id="namedview3"
|
|
19
|
+
pagecolor="#ffffff"
|
|
20
|
+
bordercolor="#000000"
|
|
21
|
+
borderopacity="0.25"
|
|
22
|
+
inkscape:showpageshadow="2"
|
|
23
|
+
inkscape:pageopacity="0.0"
|
|
24
|
+
inkscape:pagecheckerboard="0"
|
|
25
|
+
inkscape:deskcolor="#d1d1d1"
|
|
26
|
+
inkscape:zoom="0.295"
|
|
27
|
+
inkscape:cx="398.30508"
|
|
28
|
+
inkscape:cy="400"
|
|
29
|
+
inkscape:window-width="1312"
|
|
30
|
+
inkscape:window-height="449"
|
|
31
|
+
inkscape:window-x="0"
|
|
32
|
+
inkscape:window-y="0"
|
|
33
|
+
inkscape:window-maximized="0"
|
|
34
|
+
inkscape:current-layer="svg3" />
|
|
7
35
|
<path
|
|
8
|
-
d="m 18.
|
|
36
|
+
d="m 18.682765,16.907843 c 1.380497,-1.679442 2.307667,-4.013099 2.307667,-6.330999 C 20.990432,5.1551476 16.473958,0.76 10.902674,0.76 5.3313555,0.76 0.81491525,5.1551476 0.81491525,10.576844 c 0,5.421663 4.51644025,9.816844 10.08775875,9.816844 2.381867,0 4.570922,-0.803307 6.296712,-2.14673 0.508475,-0.508475 4.616328,4.599619 4.616328,4.599619 1.036377,1.008544 2.113087,-0.02559 1.07671,-1.034139 z m -7.780091,1.925408 c -4.3394583,0 -8.6708434,-4.033489 -8.6708434,-8.256407 0,-4.2229187 4.3313851,-8.2564401 8.6708434,-8.2564401 4.339458,0 8.670809,4.2369112 8.670809,8.4598301 0,4.222918 -4.331351,8.053017 -8.670809,8.053017 z"
|
|
9
37
|
fill="#1c274c"
|
|
10
38
|
fill-rule="evenodd"
|
|
11
39
|
clip-rule="evenodd"
|
|
12
40
|
fill-opacity="1"
|
|
13
41
|
stroke-width="1.10519"
|
|
14
|
-
stroke-dasharray="none"
|
|
42
|
+
stroke-dasharray="none"
|
|
43
|
+
id="path1"
|
|
44
|
+
sodipodi:nodetypes="cssssccccsssss" />
|
|
15
45
|
<path
|
|
16
|
-
d="m 13.
|
|
46
|
+
d="m 13.457351,9.1002647 0.05184,2.1532893"
|
|
17
47
|
stroke="#1c274c"
|
|
18
48
|
stroke-width="1.95702"
|
|
19
|
-
stroke-linecap="round"
|
|
49
|
+
stroke-linecap="round"
|
|
50
|
+
id="path2" />
|
|
20
51
|
<path
|
|
21
|
-
d="M 8.
|
|
52
|
+
d="M 8.551347,9.0409457 8.603191,11.194235"
|
|
22
53
|
stroke="#1c274c"
|
|
23
54
|
stroke-width="1.95701"
|
|
24
|
-
stroke-linecap="round"
|
|
55
|
+
stroke-linecap="round"
|
|
56
|
+
id="path3" />
|
|
25
57
|
</svg>
|
khoj/interface/web/login.html
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
<div class="login-modal-title">Login to Khoj</div>
|
|
19
19
|
<!-- Sign in with Magic Link -->
|
|
20
20
|
<div class="khoj-magic-link">
|
|
21
|
-
<input type="email" id="email" placeholder="Email" required>
|
|
21
|
+
<input type="email" id="email" placeholder="Email" autofocus required>
|
|
22
22
|
<button id="magic-link-button">Send Magic Link</button>
|
|
23
23
|
</div>
|
|
24
24
|
<!-- Divider -->
|
|
@@ -8,10 +8,10 @@ khoj/app/asgi.py,sha256=soh3C1xazlgHt_bDgKzrfzo2TKXbNYJsckcXNEgTip8,388
|
|
|
8
8
|
khoj/app/settings.py,sha256=rNgaIXT0Z4l2ozNNleBm6mQsh1fWEmQ6cxDbBnAgPIw,6146
|
|
9
9
|
khoj/app/urls.py,sha256=7ECnusoAPAfbO_H_b5FUzYGvnb4LLdWaRDyKNvYuBvg,869
|
|
10
10
|
khoj/database/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
-
khoj/database/admin.py,sha256=
|
|
11
|
+
khoj/database/admin.py,sha256=ztXOIjsHMKAuZqJ10xZi3wRIrnug_Rg5o85QFzRevjE,8882
|
|
12
12
|
khoj/database/apps.py,sha256=pM4tkX5Odw4YW_hLLKK8Nd5kqGddf1en0oMCea44RZw,153
|
|
13
13
|
khoj/database/tests.py,sha256=mrbGGRNg5jwbTJtWWa7zSKdDyeB4vmgZCRc2nk6VY-g,60
|
|
14
|
-
khoj/database/adapters/__init__.py,sha256=
|
|
14
|
+
khoj/database/adapters/__init__.py,sha256=oM6S85bdRVHu4lYrgx5hT7Li4DrVycazIy_XmAse02o,49726
|
|
15
15
|
khoj/database/management/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
16
|
khoj/database/management/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
17
|
khoj/database/management/commands/change_generated_images_url.py,sha256=w52FwRlyOL4YRpp9O6jJUjSIuGLxVhaS2w1D7gtQgOE,2644
|
|
@@ -89,12 +89,12 @@ khoj/interface/email/welcome.html,sha256=Z4RP5J6c62adF7teH84OGx37shdsFzWQBwQjgfM
|
|
|
89
89
|
khoj/interface/web/base_config.html,sha256=vORIYJQ5UzaA3TAMcywRisk-YaaJEwkVAiEJGsbYxvA,12173
|
|
90
90
|
khoj/interface/web/content_source_github_input.html,sha256=YpsLBpsATW08ttrGysqktx2EczC4nebKlvWpwxtwmFY,8249
|
|
91
91
|
khoj/interface/web/khoj.webmanifest,sha256=G_Aphzn6SMaY73AYLCD12mgztZvagh_U2YpkjQXIY1U,1628
|
|
92
|
-
khoj/interface/web/login.html,sha256=
|
|
92
|
+
khoj/interface/web/login.html,sha256=WX0aKda5pxleEDsK4QEYM82UV3Ql9g1K0vhcN6o5eDk,6848
|
|
93
93
|
khoj/interface/web/utils.html,sha256=_UrcCvSkx1SAzhlTsvrj9LFlnJuJ-_cMtz6HY-rEIkI,3143
|
|
94
94
|
khoj/interface/web/assets/khoj.css,sha256=rhW8-RwvkpTC5GbtBt0EByaXaHjlxpxPYxrUuzMWDC0,5659
|
|
95
95
|
khoj/interface/web/assets/utils.js,sha256=A22W1nOVuD1osI7TtZC8fZ0r1g4pE66tXQ_4XNbhreo,1269
|
|
96
|
-
khoj/interface/web/assets/icons/agents.svg,sha256=
|
|
97
|
-
khoj/interface/web/assets/icons/automation.svg,sha256=
|
|
96
|
+
khoj/interface/web/assets/icons/agents.svg,sha256=_d5_QjyqF6U4Q7o5sIrQd8C0juJcsmJG-YgGcPKha7o,2579
|
|
97
|
+
khoj/interface/web/assets/icons/automation.svg,sha256=5PYprcNRK3rb1fVS2E3caR0sqLj32K4Thr2QPy_ZgsY,1549
|
|
98
98
|
khoj/interface/web/assets/icons/chat.svg,sha256=l2JoYRRgk201adTTdvJ-buKUrc0WGfsudix5xEvtM3A,2424
|
|
99
99
|
khoj/interface/web/assets/icons/favicon-128x128.ico,sha256=JMZf9aZor9AUbh5kuFNDaG3Mjxvoau5k80yRA9ly5TQ,205167
|
|
100
100
|
khoj/interface/web/assets/icons/favicon-128x128.png,sha256=aTxivDb3CYyThkVZWz8A19xl_dNut5DbkXhODWF3A9Q,5640
|
|
@@ -105,7 +105,7 @@ khoj/interface/web/assets/icons/khoj-logo-sideways-500.png,sha256=VQsQ20NC-sKYHa
|
|
|
105
105
|
khoj/interface/web/assets/icons/khoj-logo-sideways.svg,sha256=wLU1lBtzZMQNUS5maD0-vqY1q4D0vuqWnRmIUy7odk4,14772
|
|
106
106
|
khoj/interface/web/assets/icons/khoj.svg,sha256=8QZ0q3vazgY0aGhTT9Um432GbwtY1Vn64vxvAfoSwaI,7967
|
|
107
107
|
khoj/interface/web/assets/icons/logotype.svg,sha256=diy7UEKDBv9dFtGfE8Y5gf9JTdQUKTnq_dSdC2RGVIA,4031
|
|
108
|
-
khoj/interface/web/assets/icons/search.svg,sha256=
|
|
108
|
+
khoj/interface/web/assets/icons/search.svg,sha256=OrZuIEzj3bREKy642KKPx01YLhEv0N4ns2o9MjYG0UY,2193
|
|
109
109
|
khoj/interface/web/assets/icons/sync.svg,sha256=ZmwPaLLUBLDkNIly8bC1nCcWNspl30Kneiq-W9oYm34,639
|
|
110
110
|
khoj/interface/web/assets/samples/desktop-browse-draw-sample.png,sha256=v6u1g7_uEG_xN1D5UrulUC-rUkpzTlSPiUrbfxt4H2g,591182
|
|
111
111
|
khoj/interface/web/assets/samples/desktop-plain-chat-sample.png,sha256=SG1nFvJ3kWs5F3XXZxnkE-UnXCWY0Mz-EqTeU0nhs30,197173
|
|
@@ -193,8 +193,8 @@ khoj/utils/models.py,sha256=Q5tcC9-z25sCiub048fLnvZ6_IIO1bcPNxt5payekk0,2009
|
|
|
193
193
|
khoj/utils/rawconfig.py,sha256=luk7Vb_ODuoTdMd_IG-yVXGoyoU-RktyapBG5D1N_VI,3985
|
|
194
194
|
khoj/utils/state.py,sha256=x4GTewP1YhOA6c_32N4wOjnV-3AA3xG_qbY1-wC2Uxc,1559
|
|
195
195
|
khoj/utils/yaml.py,sha256=H0mfw0ZvBFUvFmCQn8pWkfxdmIebsrSykza7D8Wv6wQ,1430
|
|
196
|
-
khoj-1.20.1.
|
|
197
|
-
khoj-1.20.1.
|
|
198
|
-
khoj-1.20.1.
|
|
199
|
-
khoj-1.20.1.
|
|
200
|
-
khoj-1.20.1.
|
|
196
|
+
khoj-1.20.1.dev11.dist-info/METADATA,sha256=pMqIGIInZjGTuQh_566vc3h1P4cTd8eX_L0DQLzWuYk,6876
|
|
197
|
+
khoj-1.20.1.dev11.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
198
|
+
khoj-1.20.1.dev11.dist-info/entry_points.txt,sha256=KBIcez5N_jCgq_ER4Uxf-e1lxTBMTE_BBjMwwfeZyAg,39
|
|
199
|
+
khoj-1.20.1.dev11.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
|
|
200
|
+
khoj-1.20.1.dev11.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|