content:`Here is the relevant information from my notes based on my query "${query}":\n\n${context}\n\nPlease help me understand this information in relation to my query.`
@ -83,7 +83,32 @@ Now, based on the above information, please answer: {query}`,
// Context for index service
// Context for index service
INDEX_NO_NOTES_CONTEXT:
INDEX_NO_NOTES_CONTEXT:
"I'm an AI assistant helping with your Trilium notes. I couldn't find specific notes related to your query, but I'll try to assist based on general knowledge."
"I'm an AI assistant helping with your Trilium notes. I couldn't find specific notes related to your query, but I'll try to assist based on general knowledge.",
// Prompt for adding note context to chat
NOTE_CONTEXT_PROMPT:`Here is the content of the note I want to discuss:
{context}
Pleasehelpmewiththisinformation.`,
// Prompt for adding semantic note context to chat
SEMANTIC_NOTE_CONTEXT_PROMPT:`Here is the relevant information from my notes based on my query "{query}":