mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-09 05:39:12 +00:00
Add detailed intro message, mention download desktop app for docs sync
This commit is contained in:
@@ -10,6 +10,16 @@
|
|||||||
</head>
|
</head>
|
||||||
<script type="text/javascript" src="/static/assets/utils.js"></script>
|
<script type="text/javascript" src="/static/assets/utils.js"></script>
|
||||||
<script>
|
<script>
|
||||||
|
let welcome_message = `
|
||||||
|
Hi, I am Khoj, your open, personal AI 👋🏽. I can help:
|
||||||
|
• 🧠 Answer general knowledge questions
|
||||||
|
• 💡 Be a sounding board for your ideas
|
||||||
|
• 📜 Chat with your notes & documents
|
||||||
|
|
||||||
|
Download the <a class='inline-chat-link' href='https://khoj.dev/downloads'>🖥️ Desktop app</a> to chat with your computer docs.
|
||||||
|
|
||||||
|
To get started, just start typing below. You can also type / to see a list of commands.
|
||||||
|
`.trim()
|
||||||
let chatOptions = [];
|
let chatOptions = [];
|
||||||
function copyProgrammaticOutput(event) {
|
function copyProgrammaticOutput(event) {
|
||||||
// Remove the first 4 characters which are the "Copy" button
|
// Remove the first 4 characters which are the "Copy" button
|
||||||
@@ -322,7 +332,7 @@
|
|||||||
document.getElementById("chat-input").setAttribute("placeholder", "Configure Khoj to enable chat");
|
document.getElementById("chat-input").setAttribute("placeholder", "Configure Khoj to enable chat");
|
||||||
} else {
|
} else {
|
||||||
// Set welcome message on load
|
// Set welcome message on load
|
||||||
renderMessage("Hey 👋🏾, what's up?", "khoj");
|
renderMessage(welcome_message, "khoj");
|
||||||
}
|
}
|
||||||
return data.response;
|
return data.response;
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user