From 841553ae096ff1a9ed546984e611f0898c520d01 Mon Sep 17 00:00:00 2001 From: WFH Brian Date: Thu, 3 Oct 2024 18:11:44 -0400 Subject: [PATCH] 2.2.79 --- build/views.json | 2 +- manifest.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/views.json b/build/views.json index db13baf6..91cf197d 100644 --- a/build/views.json +++ b/build/views.json @@ -6,6 +6,6 @@ "smart_chat_settings": "
Current: my, I, me, mine, our, ours, us, we\"\n data-option-1=\"en|English\"\n data-option-2=\"es|Spanish\"\n data-option-3=\"fr|French\"\n data-option-4=\"de|German\"\n data-option-5=\"it|Italian\"\n data-callback=\"update_language\"\n>
\n
`data-option-${i + 1}=\"${platform.key}|${platform.description}\"`).join('\\n') %>\n data-callback=\"changed_smart_chat_model\"\n>
\n<% if(chat_platform?.fetch_models) { %>\n <% if(settings[settings.chat_model_platform_key]?.api_key) { %>\n
.model_name\"\n data-callback=\"changed_smart_chat_model\"\n <%- platform_chat_models.map((model, i) => `data-option-${i}=\"${model.key}|${model.model_name} (${model.description})\"`).join('\\n') %>\n >
\n <% } %>\n <% if(!platform_chat_models.length) { %>\n
\n <% } %>\n
API Key\"\n data-type=\"password\"\n data-setting=\"<%= settings.chat_model_platform_key %>.api_key\"\n <% if(chat_platform.signup_url) { %>\n data-description=\"Get API Key for <%= chat_platform.description %>.\"\n <% } else { %>\n data-description=\"API Key for <%= chat_platform.description %>.\"\n <% } %>\n data-placeholder=\"Enter an API Key\"\n data-button=\"Save\"\n data-callback=\"test_chat_api_key\"\n >
\n<% } %>\n<% if (settings.chat_model_platform_key.startsWith('custom_local')) { %>\n

Custom Local Model

\n
\n
\n
\n
\n
\n
\n
\n<% } else if(settings.chat_model_platform_key.startsWith('custom_api')) { %>\n

Custom Server

\n
\n
\n
\n
\n
\n
\n
\n<% } %>", "smart_chat_system_msg": "
\">\n
\">\n <%= content %>\n
\n
", "smart_connections": "
\n

\">\n <%- this.notes_ct %> (<%- this.blocks_ct %>)\n

\n \n \n \n \n \n \n
\n
\n
\n <% for (let result of results) { %>\n
\" data-path=\"<%- result.path.replace(/\"/g, '"') %>\">\n \n <%- this.get_icon('right-triangle') %>\n \" draggable=\"true\">\n <%- [result.score?.toFixed(2), result.name].join(' | ') %>\n \n \n
    \n
  • \" data-collection=\"<%= result.collection_key %>\">
  • \n
\n
\n <% } %>\n
\n
\n \" title=\"<%- current_path %>\">\n <%- current_path.split('/').pop().split('.').shift() %><%- typeof re_ranked !== 'undefined' && re_ranked ? ' (re-ranked)' : '' %>\n \n <%- this.attribution %>\n
", - "smart_note_inspect": "

Blocks

\n<% if(note.blocks.length === 0) { %>\n

No blocks

\n<% } %>\n<% for(let block of note.blocks.sort((a, b) => a.sub_key.localeCompare(b.sub_key))) { %>\n

\n <%- block.sub_key.split(\"#\").join(\" > \") + \" (\" + block.size + \" chars)\" %>\n
\n <%- block.should_embed ? \"should embed\" : \"embedding skipped\" %>\n

\n
\n <%- (await block.read())\n .replace(//g, \">\")\n .replace(/\\n/g, \"
\")\n .replace(/\\t/g, \"  \")\n %>\n
\n
\n<% } %>\n\n", + "smart_note_inspect": "

Blocks

\n<% if(note.blocks.length === 0) { %>\n

No blocks

\n<% } %>\n<% for(let block of note.blocks.sort((a, b) => a.line_start - b.line_start)) { %>\n

\n <%- block.sub_key.split(\"#\").join(\" > \") + \" (\" + block.size + \" chars)\" %>\n
\n <%- block.should_embed ? \"should embed\" : \"embedding skipped\" %>\n

\n
\n <%- (await block.read())\n .replace(//g, \">\")\n .replace(/\\n/g, \"
\")\n .replace(/\\t/g, \"  \")\n %>\n
\n
\n<% } %>\n\n", "smart_view_search": "
\n

Search Smart Connections

\n
\n \n \n
\n

Use semantic (embeddings) search to surface relevant notes. Results are sorted by similarity to your query. Note: returns different results than lexical (keyword) search.

\n
\n\n" } \ No newline at end of file diff --git a/manifest.json b/manifest.json index 212ac154..c1375e8c 100644 --- a/manifest.json +++ b/manifest.json @@ -6,5 +6,5 @@ "minAppVersion": "1.1.0", "authorUrl": "https://wfhbrian.com", "isDesktopOnly": false, - "version": "2.2.78" + "version": "2.2.79" } \ No newline at end of file