khoj 1.16.1.dev15__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/__init__.py +0 -0
- khoj/app/README.md +94 -0
- khoj/app/__init__.py +0 -0
- khoj/app/asgi.py +16 -0
- khoj/app/settings.py +192 -0
- khoj/app/urls.py +25 -0
- khoj/configure.py +424 -0
- khoj/database/__init__.py +0 -0
- khoj/database/adapters/__init__.py +1234 -0
- khoj/database/admin.py +290 -0
- khoj/database/apps.py +6 -0
- khoj/database/management/__init__.py +0 -0
- khoj/database/management/commands/__init__.py +0 -0
- khoj/database/management/commands/change_generated_images_url.py +61 -0
- khoj/database/management/commands/convert_images_png_to_webp.py +99 -0
- khoj/database/migrations/0001_khojuser.py +98 -0
- khoj/database/migrations/0002_googleuser.py +32 -0
- khoj/database/migrations/0003_vector_extension.py +10 -0
- khoj/database/migrations/0004_content_types_and_more.py +181 -0
- khoj/database/migrations/0005_embeddings_corpus_id.py +19 -0
- khoj/database/migrations/0006_embeddingsdates.py +33 -0
- khoj/database/migrations/0007_add_conversation.py +27 -0
- khoj/database/migrations/0008_alter_conversation_conversation_log.py +17 -0
- khoj/database/migrations/0009_khojapiuser.py +24 -0
- khoj/database/migrations/0010_chatmodeloptions_and_more.py +83 -0
- khoj/database/migrations/0010_rename_embeddings_entry_and_more.py +30 -0
- khoj/database/migrations/0011_merge_20231102_0138.py +14 -0
- khoj/database/migrations/0012_entry_file_source.py +21 -0
- khoj/database/migrations/0013_subscription.py +37 -0
- khoj/database/migrations/0014_alter_googleuser_picture.py +17 -0
- khoj/database/migrations/0015_alter_subscription_user.py +21 -0
- khoj/database/migrations/0016_alter_subscription_renewal_date.py +17 -0
- khoj/database/migrations/0017_searchmodel.py +32 -0
- khoj/database/migrations/0018_searchmodelconfig_delete_searchmodel.py +30 -0
- khoj/database/migrations/0019_alter_googleuser_family_name_and_more.py +27 -0
- khoj/database/migrations/0020_reflectivequestion.py +36 -0
- khoj/database/migrations/0021_speechtotextmodeloptions_and_more.py +42 -0
- khoj/database/migrations/0022_texttoimagemodelconfig.py +25 -0
- khoj/database/migrations/0023_usersearchmodelconfig.py +33 -0
- khoj/database/migrations/0024_alter_entry_embeddings.py +18 -0
- khoj/database/migrations/0025_clientapplication_khojuser_phone_number_and_more.py +46 -0
- khoj/database/migrations/0025_searchmodelconfig_embeddings_inference_endpoint_and_more.py +22 -0
- khoj/database/migrations/0026_searchmodelconfig_cross_encoder_inference_endpoint_and_more.py +22 -0
- khoj/database/migrations/0027_merge_20240118_1324.py +13 -0
- khoj/database/migrations/0028_khojuser_verified_phone_number.py +17 -0
- khoj/database/migrations/0029_userrequests.py +27 -0
- khoj/database/migrations/0030_conversation_slug_and_title.py +38 -0
- khoj/database/migrations/0031_agent_conversation_agent.py +53 -0
- khoj/database/migrations/0031_alter_googleuser_locale.py +30 -0
- khoj/database/migrations/0032_merge_20240322_0427.py +14 -0
- khoj/database/migrations/0033_rename_tuning_agent_personality.py +17 -0
- khoj/database/migrations/0034_alter_chatmodeloptions_chat_model.py +32 -0
- khoj/database/migrations/0035_processlock.py +26 -0
- khoj/database/migrations/0036_alter_processlock_name.py +19 -0
- khoj/database/migrations/0036_delete_offlinechatprocessorconversationconfig.py +15 -0
- khoj/database/migrations/0036_publicconversation.py +42 -0
- khoj/database/migrations/0037_chatmodeloptions_openai_config_and_more.py +51 -0
- khoj/database/migrations/0037_searchmodelconfig_bi_encoder_docs_encode_config_and_more.py +32 -0
- khoj/database/migrations/0038_merge_20240425_0857.py +14 -0
- khoj/database/migrations/0038_merge_20240426_1640.py +12 -0
- khoj/database/migrations/0039_merge_20240501_0301.py +12 -0
- khoj/database/migrations/0040_alter_processlock_name.py +26 -0
- khoj/database/migrations/0040_merge_20240504_1010.py +14 -0
- khoj/database/migrations/0041_merge_20240505_1234.py +14 -0
- khoj/database/migrations/0042_serverchatsettings.py +46 -0
- khoj/database/migrations/0043_alter_chatmodeloptions_model_type.py +21 -0
- khoj/database/migrations/0044_conversation_file_filters.py +17 -0
- khoj/database/migrations/0045_fileobject.py +37 -0
- khoj/database/migrations/0046_khojuser_email_verification_code_and_more.py +22 -0
- khoj/database/migrations/0047_alter_entry_file_type.py +31 -0
- khoj/database/migrations/0048_voicemodeloption_uservoicemodelconfig.py +52 -0
- khoj/database/migrations/0049_datastore.py +38 -0
- khoj/database/migrations/0049_texttoimagemodelconfig_api_key_and_more.py +58 -0
- khoj/database/migrations/0050_alter_processlock_name.py +25 -0
- khoj/database/migrations/0051_merge_20240702_1220.py +14 -0
- khoj/database/migrations/0052_alter_searchmodelconfig_bi_encoder_docs_encode_config_and_more.py +27 -0
- khoj/database/migrations/__init__.py +0 -0
- khoj/database/models/__init__.py +402 -0
- khoj/database/tests.py +3 -0
- khoj/interface/email/feedback.html +34 -0
- khoj/interface/email/magic_link.html +17 -0
- khoj/interface/email/task.html +40 -0
- khoj/interface/email/welcome.html +61 -0
- khoj/interface/web/404.html +56 -0
- khoj/interface/web/agent.html +312 -0
- khoj/interface/web/agents.html +276 -0
- khoj/interface/web/assets/icons/agents.svg +6 -0
- khoj/interface/web/assets/icons/automation.svg +37 -0
- khoj/interface/web/assets/icons/cancel.svg +3 -0
- khoj/interface/web/assets/icons/chat.svg +24 -0
- khoj/interface/web/assets/icons/collapse.svg +17 -0
- khoj/interface/web/assets/icons/computer.png +0 -0
- khoj/interface/web/assets/icons/confirm-icon.svg +1 -0
- khoj/interface/web/assets/icons/copy-button-success.svg +6 -0
- khoj/interface/web/assets/icons/copy-button.svg +5 -0
- khoj/interface/web/assets/icons/credit-card.png +0 -0
- khoj/interface/web/assets/icons/delete.svg +26 -0
- khoj/interface/web/assets/icons/docx.svg +7 -0
- khoj/interface/web/assets/icons/edit.svg +4 -0
- khoj/interface/web/assets/icons/favicon-128x128.ico +0 -0
- khoj/interface/web/assets/icons/favicon-128x128.png +0 -0
- khoj/interface/web/assets/icons/favicon-256x256.png +0 -0
- khoj/interface/web/assets/icons/favicon.icns +0 -0
- khoj/interface/web/assets/icons/github.svg +1 -0
- khoj/interface/web/assets/icons/key.svg +4 -0
- khoj/interface/web/assets/icons/khoj-logo-sideways-200.png +0 -0
- khoj/interface/web/assets/icons/khoj-logo-sideways-500.png +0 -0
- khoj/interface/web/assets/icons/khoj-logo-sideways.svg +5385 -0
- khoj/interface/web/assets/icons/logotype.svg +1 -0
- khoj/interface/web/assets/icons/markdown.svg +1 -0
- khoj/interface/web/assets/icons/new.svg +23 -0
- khoj/interface/web/assets/icons/notion.svg +4 -0
- khoj/interface/web/assets/icons/openai-logomark.svg +1 -0
- khoj/interface/web/assets/icons/org.svg +1 -0
- khoj/interface/web/assets/icons/pdf.svg +23 -0
- khoj/interface/web/assets/icons/pencil-edit.svg +5 -0
- khoj/interface/web/assets/icons/plaintext.svg +1 -0
- khoj/interface/web/assets/icons/question-mark-icon.svg +1 -0
- khoj/interface/web/assets/icons/search.svg +25 -0
- khoj/interface/web/assets/icons/send.svg +1 -0
- khoj/interface/web/assets/icons/share.svg +8 -0
- khoj/interface/web/assets/icons/speaker.svg +4 -0
- khoj/interface/web/assets/icons/stop-solid.svg +37 -0
- khoj/interface/web/assets/icons/sync.svg +4 -0
- khoj/interface/web/assets/icons/thumbs-down-svgrepo-com.svg +6 -0
- khoj/interface/web/assets/icons/thumbs-up-svgrepo-com.svg +6 -0
- khoj/interface/web/assets/icons/user-silhouette.svg +4 -0
- khoj/interface/web/assets/icons/voice.svg +8 -0
- khoj/interface/web/assets/icons/web.svg +2 -0
- khoj/interface/web/assets/icons/whatsapp.svg +17 -0
- khoj/interface/web/assets/khoj.css +237 -0
- khoj/interface/web/assets/markdown-it.min.js +8476 -0
- khoj/interface/web/assets/natural-cron.min.js +1 -0
- khoj/interface/web/assets/org.min.js +1823 -0
- khoj/interface/web/assets/pico.min.css +5 -0
- khoj/interface/web/assets/purify.min.js +3 -0
- khoj/interface/web/assets/samples/desktop-browse-draw-sample.png +0 -0
- khoj/interface/web/assets/samples/desktop-plain-chat-sample.png +0 -0
- khoj/interface/web/assets/samples/desktop-remember-plan-sample.png +0 -0
- khoj/interface/web/assets/samples/phone-browse-draw-sample.png +0 -0
- khoj/interface/web/assets/samples/phone-plain-chat-sample.png +0 -0
- khoj/interface/web/assets/samples/phone-remember-plan-sample.png +0 -0
- khoj/interface/web/assets/utils.js +33 -0
- khoj/interface/web/base_config.html +445 -0
- khoj/interface/web/chat.html +3546 -0
- khoj/interface/web/config.html +1011 -0
- khoj/interface/web/config_automation.html +1103 -0
- khoj/interface/web/content_source_computer_input.html +139 -0
- khoj/interface/web/content_source_github_input.html +216 -0
- khoj/interface/web/content_source_notion_input.html +94 -0
- khoj/interface/web/khoj.webmanifest +51 -0
- khoj/interface/web/login.html +219 -0
- khoj/interface/web/public_conversation.html +2006 -0
- khoj/interface/web/search.html +470 -0
- khoj/interface/web/utils.html +48 -0
- khoj/main.py +241 -0
- khoj/manage.py +22 -0
- khoj/migrations/__init__.py +0 -0
- khoj/migrations/migrate_offline_chat_default_model.py +69 -0
- khoj/migrations/migrate_offline_chat_default_model_2.py +71 -0
- khoj/migrations/migrate_offline_chat_schema.py +83 -0
- khoj/migrations/migrate_offline_model.py +29 -0
- khoj/migrations/migrate_processor_config_openai.py +67 -0
- khoj/migrations/migrate_server_pg.py +138 -0
- khoj/migrations/migrate_version.py +17 -0
- khoj/processor/__init__.py +0 -0
- khoj/processor/content/__init__.py +0 -0
- khoj/processor/content/docx/__init__.py +0 -0
- khoj/processor/content/docx/docx_to_entries.py +110 -0
- khoj/processor/content/github/__init__.py +0 -0
- khoj/processor/content/github/github_to_entries.py +224 -0
- khoj/processor/content/images/__init__.py +0 -0
- khoj/processor/content/images/image_to_entries.py +118 -0
- khoj/processor/content/markdown/__init__.py +0 -0
- khoj/processor/content/markdown/markdown_to_entries.py +165 -0
- khoj/processor/content/notion/notion_to_entries.py +260 -0
- khoj/processor/content/org_mode/__init__.py +0 -0
- khoj/processor/content/org_mode/org_to_entries.py +231 -0
- khoj/processor/content/org_mode/orgnode.py +532 -0
- khoj/processor/content/pdf/__init__.py +0 -0
- khoj/processor/content/pdf/pdf_to_entries.py +116 -0
- khoj/processor/content/plaintext/__init__.py +0 -0
- khoj/processor/content/plaintext/plaintext_to_entries.py +122 -0
- khoj/processor/content/text_to_entries.py +297 -0
- khoj/processor/conversation/__init__.py +0 -0
- khoj/processor/conversation/anthropic/__init__.py +0 -0
- khoj/processor/conversation/anthropic/anthropic_chat.py +206 -0
- khoj/processor/conversation/anthropic/utils.py +114 -0
- khoj/processor/conversation/offline/__init__.py +0 -0
- khoj/processor/conversation/offline/chat_model.py +231 -0
- khoj/processor/conversation/offline/utils.py +78 -0
- khoj/processor/conversation/offline/whisper.py +15 -0
- khoj/processor/conversation/openai/__init__.py +0 -0
- khoj/processor/conversation/openai/gpt.py +187 -0
- khoj/processor/conversation/openai/utils.py +129 -0
- khoj/processor/conversation/openai/whisper.py +13 -0
- khoj/processor/conversation/prompts.py +758 -0
- khoj/processor/conversation/utils.py +262 -0
- khoj/processor/embeddings.py +117 -0
- khoj/processor/speech/__init__.py +0 -0
- khoj/processor/speech/text_to_speech.py +51 -0
- khoj/processor/tools/__init__.py +0 -0
- khoj/processor/tools/online_search.py +225 -0
- khoj/routers/__init__.py +0 -0
- khoj/routers/api.py +626 -0
- khoj/routers/api_agents.py +43 -0
- khoj/routers/api_chat.py +1180 -0
- khoj/routers/api_config.py +434 -0
- khoj/routers/api_phone.py +86 -0
- khoj/routers/auth.py +181 -0
- khoj/routers/email.py +133 -0
- khoj/routers/helpers.py +1188 -0
- khoj/routers/indexer.py +349 -0
- khoj/routers/notion.py +91 -0
- khoj/routers/storage.py +35 -0
- khoj/routers/subscription.py +104 -0
- khoj/routers/twilio.py +36 -0
- khoj/routers/web_client.py +471 -0
- khoj/search_filter/__init__.py +0 -0
- khoj/search_filter/base_filter.py +15 -0
- khoj/search_filter/date_filter.py +217 -0
- khoj/search_filter/file_filter.py +30 -0
- khoj/search_filter/word_filter.py +29 -0
- khoj/search_type/__init__.py +0 -0
- khoj/search_type/text_search.py +241 -0
- khoj/utils/__init__.py +0 -0
- khoj/utils/cli.py +93 -0
- khoj/utils/config.py +81 -0
- khoj/utils/constants.py +24 -0
- khoj/utils/fs_syncer.py +249 -0
- khoj/utils/helpers.py +418 -0
- khoj/utils/initialization.py +146 -0
- khoj/utils/jsonl.py +43 -0
- khoj/utils/models.py +47 -0
- khoj/utils/rawconfig.py +160 -0
- khoj/utils/state.py +46 -0
- khoj/utils/yaml.py +43 -0
- khoj-1.16.1.dev15.dist-info/METADATA +178 -0
- khoj-1.16.1.dev15.dist-info/RECORD +242 -0
- khoj-1.16.1.dev15.dist-info/WHEEL +4 -0
- khoj-1.16.1.dev15.dist-info/entry_points.txt +2 -0
- khoj-1.16.1.dev15.dist-info/licenses/LICENSE +661 -0
|
@@ -0,0 +1,445 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html data-theme="light">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0 maximum-scale=1.0">
|
|
6
|
+
<link rel="icon" type="image/png" sizes="128x128" href="/static/assets/icons/favicon-128x128.png?v={{ khoj_version }}">
|
|
7
|
+
<title>Khoj</title>
|
|
8
|
+
<meta http-equiv="Content-Security-Policy"
|
|
9
|
+
content="default-src 'self' https://assets.khoj.dev;
|
|
10
|
+
script-src 'self' https://assets.khoj.dev 'unsafe-inline';
|
|
11
|
+
connect-src 'self' https://ipapi.co/json;
|
|
12
|
+
style-src 'self' https://assets.khoj.dev 'unsafe-inline' https://fonts.googleapis.com;
|
|
13
|
+
img-src 'self' data: https://*.khoj.dev https://*.googleusercontent.com;
|
|
14
|
+
font-src https://assets.khoj.dev https://fonts.gstatic.com;
|
|
15
|
+
child-src 'none';
|
|
16
|
+
object-src 'none';">
|
|
17
|
+
<link rel="stylesheet" href="/static/assets/pico.min.css?v={{ khoj_version }}">
|
|
18
|
+
<link rel="stylesheet" href="/static/assets/khoj.css?v={{ khoj_version }}">
|
|
19
|
+
<script
|
|
20
|
+
integrity="sha384-05IkdNHoAlkhrFVUCCN805WC/h4mcI98GUBssmShF2VJAXKyZTrO/TmJ+4eBo0Cy"
|
|
21
|
+
crossorigin="anonymous"
|
|
22
|
+
src="https://assets.khoj.dev/intl-tel-input/intlTelInput.min.js"></script>
|
|
23
|
+
<link rel="stylesheet" href="https://assets.khoj.dev/intl-tel-input/intlTelInput.css">
|
|
24
|
+
</head>
|
|
25
|
+
<script type="text/javascript" src="/static/assets/utils.js?v={{ khoj_version }}"></script>
|
|
26
|
+
<script type="text/javascript" src="/static/assets/purify.min.js?v={{ khoj_version }}"></script>
|
|
27
|
+
<body class="khoj-configure">
|
|
28
|
+
<div class="khoj-header-wrapper">
|
|
29
|
+
<div class="filler"></div>
|
|
30
|
+
|
|
31
|
+
<!--Add Header Logo and Nav Pane-->
|
|
32
|
+
{% import 'utils.html' as utils %}
|
|
33
|
+
{{ utils.heading_pane(user_photo, username, is_active, has_documents) }}
|
|
34
|
+
|
|
35
|
+
<div class="filler"></div>
|
|
36
|
+
</div>
|
|
37
|
+
<div class="content khoj-header-wrapper">
|
|
38
|
+
<div class="filler"></div>
|
|
39
|
+
{% block content %}
|
|
40
|
+
{% endblock %}
|
|
41
|
+
<div class="filler"></div>
|
|
42
|
+
</div>
|
|
43
|
+
</body>
|
|
44
|
+
<script>
|
|
45
|
+
const settingsNav = document.getElementById("settings-nav");
|
|
46
|
+
if (settingsNav) {
|
|
47
|
+
settingsNav.classList.add("khoj-nav-selected");
|
|
48
|
+
}
|
|
49
|
+
</script>
|
|
50
|
+
<style>
|
|
51
|
+
html, body {
|
|
52
|
+
width: 100%;
|
|
53
|
+
margin: 0;
|
|
54
|
+
padding: 0;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
img.khoj-logo {
|
|
58
|
+
max-width: none!important;
|
|
59
|
+
}
|
|
60
|
+
div.khoj-header-wrapper {
|
|
61
|
+
display: grid;
|
|
62
|
+
grid-template-columns: 1fr min(70vw, 100%) 1fr;
|
|
63
|
+
}
|
|
64
|
+
.circle {
|
|
65
|
+
width: 52px;
|
|
66
|
+
height: 52px;
|
|
67
|
+
}
|
|
68
|
+
.user-initial {
|
|
69
|
+
width: 40px;
|
|
70
|
+
height: 40px;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.page {
|
|
74
|
+
display: grid;
|
|
75
|
+
grid-auto-flow: row;
|
|
76
|
+
gap: 32px;
|
|
77
|
+
}
|
|
78
|
+
.section {
|
|
79
|
+
display: grid;
|
|
80
|
+
justify-self: normal;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
div.section-manage-files,
|
|
84
|
+
div.api-settings {
|
|
85
|
+
display: grid;
|
|
86
|
+
grid-template-columns: 1fr;
|
|
87
|
+
justify-items: start;
|
|
88
|
+
gap: 8px;
|
|
89
|
+
padding: 24px 24px;
|
|
90
|
+
background: var(--background-color);
|
|
91
|
+
border: 1px solid rgb(229, 229, 229);
|
|
92
|
+
border-radius: 4px;
|
|
93
|
+
box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.1),0px 1px 2px -1px rgba(0,0,0,0.8);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
div.section-manage-files {
|
|
97
|
+
width: 640px;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
div.api-settings {
|
|
101
|
+
grid-template-rows: 1fr 1fr auto;
|
|
102
|
+
}
|
|
103
|
+
#api-settings-card-description {
|
|
104
|
+
margin: 8px 0 0 0;
|
|
105
|
+
}
|
|
106
|
+
#api-settings-keys-table {
|
|
107
|
+
margin-bottom: 16px;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
#phone-number-input-card {
|
|
111
|
+
grid-template-rows: auto;
|
|
112
|
+
gap: 20px;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
div.instructions {
|
|
116
|
+
font-size: large;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.section-title {
|
|
120
|
+
margin: 0;
|
|
121
|
+
padding: 0 0 16px 0;
|
|
122
|
+
font-size: 32;
|
|
123
|
+
font-weight: normal;
|
|
124
|
+
}
|
|
125
|
+
.section-cards {
|
|
126
|
+
display: grid;
|
|
127
|
+
grid-template-columns: repeat(2, 1fr);
|
|
128
|
+
gap: 16px;
|
|
129
|
+
justify-items: start;
|
|
130
|
+
}
|
|
131
|
+
.card {
|
|
132
|
+
display: grid;
|
|
133
|
+
grid-template-rows: repeat(3, 1fr);
|
|
134
|
+
gap: 8px;
|
|
135
|
+
padding: 24px 16px 8px;
|
|
136
|
+
width: 100%;
|
|
137
|
+
height: 180px;
|
|
138
|
+
background: var(--background-color);
|
|
139
|
+
border: 1px solid rgb(229, 229, 229);
|
|
140
|
+
border-radius: 4px;
|
|
141
|
+
box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.1),0px 1px 2px -1px rgba(0,0,0,0.8);
|
|
142
|
+
overflow: hidden;
|
|
143
|
+
}
|
|
144
|
+
div.finalize-buttons {
|
|
145
|
+
display: grid;
|
|
146
|
+
gap: 8px;
|
|
147
|
+
padding: 32px 0px 0px;
|
|
148
|
+
width: 320px;
|
|
149
|
+
border-radius: 4px;
|
|
150
|
+
overflow: hidden;
|
|
151
|
+
}
|
|
152
|
+
div.finalize-buttons button {
|
|
153
|
+
background-color: var(--primary-hover);
|
|
154
|
+
}
|
|
155
|
+
div.finalize-buttons button:hover {
|
|
156
|
+
background-color: var(--summer-sun);
|
|
157
|
+
}
|
|
158
|
+
div#features-hint-text {
|
|
159
|
+
width: 640px;
|
|
160
|
+
opacity: 0;
|
|
161
|
+
transition: opacity 0.5s ease-in-out;
|
|
162
|
+
overflow: hidden;
|
|
163
|
+
height: 0;
|
|
164
|
+
}
|
|
165
|
+
div#features-hint-text.show {
|
|
166
|
+
opacity: 1;
|
|
167
|
+
height: auto;
|
|
168
|
+
}
|
|
169
|
+
.card-title-row {
|
|
170
|
+
display: grid;
|
|
171
|
+
grid-template-columns: auto 1fr;
|
|
172
|
+
padding: 0;
|
|
173
|
+
gap: 12px;
|
|
174
|
+
}
|
|
175
|
+
.card-icon {
|
|
176
|
+
width: 40px;
|
|
177
|
+
height: 40px;
|
|
178
|
+
}
|
|
179
|
+
.card-title {
|
|
180
|
+
font-size: x-large;
|
|
181
|
+
font-weight: normal;
|
|
182
|
+
margin: 0;
|
|
183
|
+
padding: 0;
|
|
184
|
+
align-self: end;
|
|
185
|
+
}
|
|
186
|
+
.card-title-text {
|
|
187
|
+
vertical-align: text-top;
|
|
188
|
+
}
|
|
189
|
+
.card-description {
|
|
190
|
+
margin: 0;
|
|
191
|
+
color: grey;
|
|
192
|
+
font-size: 16px;
|
|
193
|
+
}
|
|
194
|
+
.card-description-row {
|
|
195
|
+
padding-top: 4px;
|
|
196
|
+
}
|
|
197
|
+
.card-action-row {
|
|
198
|
+
display: grid;
|
|
199
|
+
grid-auto-flow: row;
|
|
200
|
+
justify-content: left;
|
|
201
|
+
}
|
|
202
|
+
.card-button {
|
|
203
|
+
border: none;
|
|
204
|
+
font-weight: bold;
|
|
205
|
+
color: rgb(64,64,64);
|
|
206
|
+
background: transparent;
|
|
207
|
+
font-size: 16px;
|
|
208
|
+
cursor: pointer;
|
|
209
|
+
margin: 0;
|
|
210
|
+
padding: 0;
|
|
211
|
+
height: 32px;
|
|
212
|
+
text-align: right;
|
|
213
|
+
}
|
|
214
|
+
.primary-button {
|
|
215
|
+
border: none;
|
|
216
|
+
color: white;
|
|
217
|
+
padding: 15px 32px;
|
|
218
|
+
text-align: center;
|
|
219
|
+
text-decoration: none;
|
|
220
|
+
display: inline-block;
|
|
221
|
+
font-size: 16px;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
button.card-button {
|
|
225
|
+
color: var(--flower);
|
|
226
|
+
background: transparent;
|
|
227
|
+
font-size: 16px;
|
|
228
|
+
cursor: pointer;
|
|
229
|
+
margin: 0;
|
|
230
|
+
padding: 0;
|
|
231
|
+
height: 32px;
|
|
232
|
+
text-align: right;
|
|
233
|
+
text-align: left;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
button.remove-file-button:hover {
|
|
237
|
+
background-color: rgb(255 235 235);
|
|
238
|
+
border-radius: 3px;
|
|
239
|
+
border: none;
|
|
240
|
+
color: var(--flower);
|
|
241
|
+
padding: 4px;
|
|
242
|
+
cursor: pointer;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
button.remove-file-button {
|
|
246
|
+
background-color: rgb(253 214 214);
|
|
247
|
+
border-radius: 3px;
|
|
248
|
+
border: none;
|
|
249
|
+
color: var(--flower);
|
|
250
|
+
padding: 4px;
|
|
251
|
+
width: 32px;
|
|
252
|
+
margin-bottom: 0px
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
div.file-element {
|
|
256
|
+
display: grid;
|
|
257
|
+
grid-template-columns: 1fr 5fr 1fr;
|
|
258
|
+
border: 1px solid rgb(229, 229, 229);
|
|
259
|
+
border-radius: 4px;
|
|
260
|
+
box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.1),0px 1px 2px -1px rgba(0,0,0,0.8);
|
|
261
|
+
padding: 4px 0;
|
|
262
|
+
margin-bottom: 8px;
|
|
263
|
+
justify-items: center;
|
|
264
|
+
align-items: center;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
div.remove-button-container {
|
|
268
|
+
text-align: right;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.card-button.happy {
|
|
272
|
+
color: var(--leaf);
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
img.automation-action-icon {
|
|
276
|
+
width: 16px;
|
|
277
|
+
padding-bottom: 2px;
|
|
278
|
+
}
|
|
279
|
+
img.automation-row-icon {
|
|
280
|
+
max-width: 24px;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
img.configured-icon {
|
|
284
|
+
max-width: 16px;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
div.card-action-row.enabled{
|
|
288
|
+
display: block;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
img.configured-icon.enabled {
|
|
292
|
+
display: inline;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
div.card-action-row.disabled,
|
|
296
|
+
img.configured-icon.disabled {
|
|
297
|
+
display: none;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.loader {
|
|
301
|
+
border: 16px solid #f3f3f3; /* Light grey */
|
|
302
|
+
border-top: 16px solid var(--primary);
|
|
303
|
+
border-radius: 50%;
|
|
304
|
+
width: 16px;
|
|
305
|
+
height: 16px;
|
|
306
|
+
animation: spin 2s linear infinite;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
@keyframes spin {
|
|
310
|
+
0% { transform: rotate(0deg); }
|
|
311
|
+
100% { transform: rotate(360deg); }
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
#status {
|
|
315
|
+
padding-top: 32px;
|
|
316
|
+
}
|
|
317
|
+
div.finalize-actions {
|
|
318
|
+
grid-auto-flow: column;
|
|
319
|
+
grid-gap: 24px;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
button#logout {
|
|
323
|
+
font-size: 16px;
|
|
324
|
+
cursor: pointer;
|
|
325
|
+
margin: 0;
|
|
326
|
+
padding: 0;
|
|
327
|
+
height: 32px;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
div#notification-banner {
|
|
331
|
+
background-color: var(--primary);
|
|
332
|
+
border: 1px solid var(--primary-hover);
|
|
333
|
+
padding: 8px;
|
|
334
|
+
box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.1),0px 1px 2px -1px rgba(0,0,0,0.8);
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
div#notification-banner-parent {
|
|
338
|
+
position: fixed;
|
|
339
|
+
right: 0;
|
|
340
|
+
bottom: 0;
|
|
341
|
+
margin: 20px;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
select#paint-models,
|
|
345
|
+
select#search-models,
|
|
346
|
+
select#voice-models,
|
|
347
|
+
select#chat-models {
|
|
348
|
+
margin-bottom: 0;
|
|
349
|
+
padding: 8px;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
div.api-settings {
|
|
354
|
+
width: 100%;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
img.api-key-action:hover {
|
|
358
|
+
cursor: pointer;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
a {
|
|
362
|
+
color: #3b82f6;
|
|
363
|
+
text-decoration: none;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
div#phone-number-input-element {
|
|
367
|
+
display: flex;
|
|
368
|
+
align-items: center;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
p#phone-number-plus {
|
|
372
|
+
padding: 8px;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
div#clients {
|
|
376
|
+
grid-gap: 12px;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
input#country-code-phone-number-input {
|
|
380
|
+
max-width: 100px;
|
|
381
|
+
margin-right: 8px;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
input#country-code-phone-number-input {
|
|
385
|
+
max-width: 100px;
|
|
386
|
+
margin-right: 8px;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
input#profile_given_name {
|
|
390
|
+
width: 100%;
|
|
391
|
+
margin: 0;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
@media screen and (max-width: 700px) {
|
|
395
|
+
.section-cards {
|
|
396
|
+
grid-template-columns: 1fr;
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
@media only screen and (max-width: 700px) {
|
|
400
|
+
body {
|
|
401
|
+
display: grid;
|
|
402
|
+
grid-template-columns: 1fr;
|
|
403
|
+
grid-template-rows: 1fr repeat(4, auto);
|
|
404
|
+
}
|
|
405
|
+
body > * {
|
|
406
|
+
grid-column: 1;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
div.filler {
|
|
410
|
+
display: none;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
body.khoj-configure {
|
|
414
|
+
padding: 0;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
div.section {
|
|
418
|
+
padding: 12px;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
div#features-hint-text {
|
|
422
|
+
width: 320px;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
div.khoj-header-wrapper {
|
|
426
|
+
grid-template-columns: auto;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
div.section-manage-files,
|
|
430
|
+
div.api-settings {
|
|
431
|
+
width: auto;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
#status {
|
|
435
|
+
padding-top: 12px;
|
|
436
|
+
}
|
|
437
|
+
div.finalize-actions {
|
|
438
|
+
padding: 12px 0 0;
|
|
439
|
+
}
|
|
440
|
+
div.finalize-buttons {
|
|
441
|
+
padding: 0;
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
</style>
|
|
445
|
+
</html>
|