diff --git a/build/views.json b/build/views.json index 40e5aef4..6decc0b3 100644 --- a/build/views.json +++ b/build/views.json @@ -7,7 +7,7 @@ "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 %>\">\n \n <%- this.get_icon('right-triangle') %>\n \" draggable=\"true\">\n <%- [result.score?.toFixed(2), result.name].join(' | ') %>\n \n \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) { %>\n
\n <%- (await block.get_embed_input()).replace(//g, \">\").replace(/\\n/g, \"
\") %>\n
\n
\n<% } %>\n\n", - "smart_settings": "
\n

Smart Connections

\n <% if(env.smart_connections_plugin.EARLY_ACCESS && !env.smart_connections_plugin.app.plugins.enabledPlugins.has(\"smart-templates\")){ %>\n \n <% } %>\n <% if(env.smart_connections_plugin.obsidian.Platform.isMobile && !env.smart_connections_plugin.settings.enable_mobile) { %>\n
\n
\n
\n \n \n \n \n \n
\n
Mobile is DISABLED.
\n
\n
\n

Toggle \"Enable mobile\" setting to activate mobile.

\n
\n
\n <% } %>\n \n
\n
\n
\n \n \n \n
\n

User Agreement: By using Smart Connections you agree to share how it helps you with at least one other person 😊🌴

\n
\n
\n
\n

Supporter Community

\n <% if(!env.smart_connections_plugin.EARLY_ACCESS){ %>\n

The success of Smart Connections is a direct result of our community of supporters who generously fund and evaluate new features. Their unwavering commitment to our privacy-focused, open-source software benefits all. Together, we can continue to innovate and make a positive impact on the world.

\n

Supporter benefits include:

\n \n <% } %>\n
\n
\n
\n <% if(!env.smart_connections_plugin.EARLY_ACCESS){ %>\n
\n
\n <% } %>\n
\n

Smart View & Embeddings

\n

Notes about embedding models:

\n \n

Notes embeddings

\n
\n

Blocks (excerpts) embeddings

\n
\n
\n
\n
\n \n

Smart Chat

\n

\n Additional settings available in the Smart Chat settings tab (ex. chat model and api key).\n

\n \n
. to hide it (ex. .smart-chats).\"\n data-type=\"text\"\n data-setting=\"smart_connections_plugin.smart_chat_folder\"\n data-placeholder=\"Enter a folder name\"\n data-callback=\"update_smart_chat_folder\"\n data-button=\"rename\"\n >
\n

System Prompts

\n
\n

Data management

\n

Included files: <%= included_files %> / Total files: <%= total_files %>

\n
\n
\n
\n
\n <%\n env.smart_connections_plugin.settings.env_data_dir_last = env.smart_connections_plugin.settings.env_data_dir; // ensure env_data_dir_last is up-to-date\n %>\n
\n

Muted Notices

\n <% if(Object.keys(env.settings.smart_notices.muted).length) { %>\n <% for(const notice in env.settings.smart_notices.muted) { %>\n
\"\n data-setting=\"smart_notices.muted.<%= notice %>\"\n data-type=\"remove\"\n data-btn-text=\"Unmute\"\n >
\n <% } %>\n <% } else { %>\n

No muted notices.

\n <% } %>\n
\n
\n <% if(env.smart_connections_plugin.EARLY_ACCESS){ %>\n
\n
\n <% } %>\n
\n \n \n ", + "smart_settings": "
\n

Smart Connections

\n <% if(env.smart_connections_plugin.EARLY_ACCESS && !env.smart_connections_plugin.app.plugins.enabledPlugins.has(\"smart-templates\")){ %>\n \n <% } %>\n <% if(env.smart_connections_plugin.obsidian.Platform.isMobile && !env.smart_connections_plugin.settings.enable_mobile) { %>\n
\n
\n
\n \n \n \n \n \n
\n
Mobile is DISABLED.
\n
\n
\n

Toggle \"Enable mobile\" setting to activate mobile.

\n
\n
\n <% } %>\n \n
\n
\n
\n \n \n \n
\n

User Agreement: By using Smart Connections you agree to share how it helps you with at least one other person 😊🌴

\n
\n
\n
\n

Supporter Community

\n <% if(!env.smart_connections_plugin.EARLY_ACCESS){ %>\n

The success of Smart Connections is a direct result of our community of supporters who generously fund and evaluate new features. Their unwavering commitment to our privacy-focused, open-source software benefits all. Together, we can continue to innovate and make a positive impact on the world.

\n

Supporter benefits include:

\n \n <% } %>\n
\n
\n
\n <% if(!env.smart_connections_plugin.EARLY_ACCESS){ %>\n
\n
\n <% } %>\n
\n

Smart View & Embeddings

\n

Notes about embedding models:

\n \n

Notes embeddings

\n
\n

Blocks (excerpts) embeddings

\n
\n
\n
\n
\n \n

Smart Chat

\n

\n Additional settings available in the Smart Chat settings tab (ex. chat model and api key).\n

\n \n
. to hide it (ex. .smart-chats).\"\n data-type=\"text\"\n data-setting=\"smart_connections_plugin.smart_chat_folder\"\n data-placeholder=\"Enter a folder name\"\n data-callback=\"update_smart_chat_folder\"\n data-button=\"rename\"\n >
\n

System Prompts

\n
\n

Data management

\n

Included files: <%= included_files %> / Total files: <%= total_files %>

\n
\n
\n
\n
\n <%\n env.smart_connections_plugin.settings.env_data_dir_last = env.smart_connections_plugin.settings.env_data_dir; // ensure env_data_dir_last is up-to-date\n %>\n
\n

Muted Notices

\n <% if(Object.keys(env.settings.smart_notices.muted).length) { %>\n <% for(const notice in env.settings.smart_notices.muted) { %>\n
\"\n data-setting=\"smart_notices.muted.<%= notice %>\"\n data-type=\"remove\"\n data-btn-text=\"Unmute\"\n >
\n <% } %>\n <% } else { %>\n

No muted notices.

\n <% } %>\n
\n
\n <% if(env.smart_connections_plugin.EARLY_ACCESS){ %>\n
\n
\n <% } %>\n
\n \n \n ", "smart_view_filter": "\n<% if(is_early_access) { %>\n
\n<% } %>\n<% if(is_early_access && settings.smart_view_filter?.re_rank) { %>\n
\n<% } %>\n\n
\n\n
\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/src/views/smart_settings.ejs b/src/views/smart_settings.ejs index dc82dd76..6eecf7cc 100644 --- a/src/views/smart_settings.ejs +++ b/src/views/smart_settings.ejs @@ -125,7 +125,7 @@ data-description="Upgrade to v2.2 (Early Access) to access new features and improvements." data-type="button" data-btn-text="Upgrade to v2.2" - data-callback="upgrade_to_early_access" + data-callback="smart_connections_plugin.update_early_access" >

Smart Chat