From 1174772958200d16a9a0f3c599cf833019f3ffbc Mon Sep 17 00:00:00 2001 From: Ashley Date: Tue, 14 Jan 2025 22:13:10 +0700 Subject: [PATCH] Updated some copies in Settings --- docs/src/pages/docs/extensions.mdx | 12 ++++++------ electron/package.json | 2 +- electron/package.tmp | 0 extensions/assistant-extension/package.json | 2 +- extensions/conversational-extension/package.json | 2 +- .../engine-management-extension/package.json | 2 +- extensions/model-extension/package.json | 2 +- extensions/monitoring-extension/package.json | 2 +- .../Advanced/FactoryReset/ModalConfirmReset.tsx | 2 +- .../Settings/Advanced/FactoryReset/index.tsx | 2 +- web/screens/Settings/Advanced/index.tsx | 7 +++---- web/screens/Settings/Appearance/index.tsx | 4 ++-- web/screens/Settings/Engines/LocalEngineItem.tsx | 2 +- .../Settings/Engines/LocalEngineSettings.tsx | 2 +- web/screens/Settings/Engines/RemoteEngineItem.tsx | 2 +- web/screens/Settings/Privacy/index.tsx | 2 +- .../Thread/ThreadRightPanel/Tools/index.tsx | 4 ++-- web/utils/predefinedComponent.ts | 15 +++++++++------ 18 files changed, 34 insertions(+), 32 deletions(-) delete mode 100644 electron/package.tmp diff --git a/docs/src/pages/docs/extensions.mdx b/docs/src/pages/docs/extensions.mdx index e248556cf..8e7c23243 100644 --- a/docs/src/pages/docs/extensions.mdx +++ b/docs/src/pages/docs/extensions.mdx @@ -42,10 +42,10 @@ The current Jan Desktop Client has some default extensions built on this framewo ## List of Core Extensions | Extension Name | Version | Description | |---------------------|----------|-----------------------------------------------------------------------------| -| Jan Assistant | v1.0.1 | This extension enables assistants, including Jan, a default assistant that can call all downloaded models | -| Conversational | v1.0.0 | This extension enables conversations and state persistence via your filesystem | +| Jan Assistant | v1.0.1 | Powers the default AI assistant that works with all your installed models. | +| Conversational | v1.0.0 | Enables conversations and state persistence via your filesystem. | | Model Management | v1.0.33 | Model Management Extension provides model exploration and seamless downloads | -| System Monitoring | v1.0.10 | This extension provides system health and OS level data | +| System Monitoring | v1.0.10 | Provides system health and OS level data. | ## Configure an Extension Settings @@ -83,7 +83,7 @@ To configure an extension settings: "productName": "Conversational", "version": "1.0.0", "main": "dist/index.js", - "description": "This extension enables conversations and state persistence via your filesystem", + "description": "Enables conversations and state persistence via your filesystem.", "url": "extension://@janhq/conversational-extension/dist/index.js" }, "@janhq/inference-anthropic-extension": { @@ -248,7 +248,7 @@ To configure an extension settings: "productName": "System Monitoring", "version": "1.0.10", "main": "dist/index.js", - "description": "This extension provides system health and OS level data", + "description": "Provides system health and OS level data.", "url": "extension://@janhq/monitoring-extension/dist/index.js" }, "@janhq/assistant-extension": { @@ -263,7 +263,7 @@ To configure an extension settings: "productName": "Jan Assistant", "version": "1.0.1", "main": "dist/index.js", - "description": "This extension enables assistants, including Jan, a default assistant that can call all downloaded models", + "description": "Powers the default AI assistant that works with all your installed models.", "url": "extension://@janhq/assistant-extension/dist/index.js" }, "@janhq/tensorrt-llm-extension": { diff --git a/electron/package.json b/electron/package.json index 8ac5a90d7..53e0a2255 100644 --- a/electron/package.json +++ b/electron/package.json @@ -1,6 +1,6 @@ { "name": "jan", - "version": "0.1.1736316956", + "version": "0.1.1736864554", "main": "./build/main.js", "author": "Jan ", "license": "MIT", diff --git a/electron/package.tmp b/electron/package.tmp deleted file mode 100644 index e69de29bb..000000000 diff --git a/extensions/assistant-extension/package.json b/extensions/assistant-extension/package.json index d65b789b1..08ccb3b3d 100644 --- a/extensions/assistant-extension/package.json +++ b/extensions/assistant-extension/package.json @@ -2,7 +2,7 @@ "name": "@janhq/assistant-extension", "productName": "Jan Assistant", "version": "1.0.2", - "description": "This extension enables assistants, including Jan, a default assistant that can call all downloaded models", + "description": "Powers the default AI assistant that works with all your installed models.", "main": "dist/index.js", "node": "dist/node/index.js", "author": "Jan ", diff --git a/extensions/conversational-extension/package.json b/extensions/conversational-extension/package.json index dd2283eb0..a5224b99b 100644 --- a/extensions/conversational-extension/package.json +++ b/extensions/conversational-extension/package.json @@ -2,7 +2,7 @@ "name": "@janhq/conversational-extension", "productName": "Conversational", "version": "1.0.0", - "description": "This extension enables conversations and state persistence via your filesystem", + "description": "Enables conversations and state persistence via your filesystem.", "main": "dist/index.js", "author": "Jan ", "license": "MIT", diff --git a/extensions/engine-management-extension/package.json b/extensions/engine-management-extension/package.json index 5ffe2d42a..96f962ffd 100644 --- a/extensions/engine-management-extension/package.json +++ b/extensions/engine-management-extension/package.json @@ -2,7 +2,7 @@ "name": "@janhq/engine-management-extension", "productName": "Engine Management", "version": "1.0.0", - "description": "Extension for managing engines and their configurations", + "description": "Manages AI engines and their configurations.", "main": "dist/index.js", "node": "dist/node/index.cjs.js", "author": "Jan ", diff --git a/extensions/model-extension/package.json b/extensions/model-extension/package.json index 02e9174fa..abd0e28a0 100644 --- a/extensions/model-extension/package.json +++ b/extensions/model-extension/package.json @@ -2,7 +2,7 @@ "name": "@janhq/model-extension", "productName": "Model Management", "version": "1.0.35", - "description": "This extension manages model lists, model details, and model configurations", + "description": "Handles model lists, their details, and settings.", "main": "dist/index.js", "author": "Jan ", "license": "AGPL-3.0", diff --git a/extensions/monitoring-extension/package.json b/extensions/monitoring-extension/package.json index 105e886b6..2f827b41b 100644 --- a/extensions/monitoring-extension/package.json +++ b/extensions/monitoring-extension/package.json @@ -2,7 +2,7 @@ "name": "@janhq/monitoring-extension", "productName": "System Monitoring", "version": "1.0.10", - "description": "This extension provides system health and OS level data", + "description": "Provides system health and OS level data.", "main": "dist/index.js", "node": "dist/node/index.cjs.js", "author": "Jan ", diff --git a/web/screens/Settings/Advanced/FactoryReset/ModalConfirmReset.tsx b/web/screens/Settings/Advanced/FactoryReset/ModalConfirmReset.tsx index 08ac35f04..20749a60f 100644 --- a/web/screens/Settings/Advanced/FactoryReset/ModalConfirmReset.tsx +++ b/web/screens/Settings/Advanced/FactoryReset/ModalConfirmReset.tsx @@ -30,7 +30,7 @@ const ModalConfirmReset = () => { content={

- Restore app to initial state, erasing all models and chat history. + Restore appplication to its initial state, erasing all models and chat history. This action is irreversible and recommended only if the application is corrupted.

diff --git a/web/screens/Settings/Advanced/FactoryReset/index.tsx b/web/screens/Settings/Advanced/FactoryReset/index.tsx index 10e8cbc20..3f85be34d 100644 --- a/web/screens/Settings/Advanced/FactoryReset/index.tsx +++ b/web/screens/Settings/Advanced/FactoryReset/index.tsx @@ -17,7 +17,7 @@ const FactoryReset = () => {

- Restore app to initial state, erasing all models and chat history. + Restore appplication to its initial state, erasing all models and chat history. This action is irreversible and recommended only if the application is corrupted.

diff --git a/web/screens/Settings/Advanced/index.tsx b/web/screens/Settings/Advanced/index.tsx index 3dbb56a86..9723f87e2 100644 --- a/web/screens/Settings/Advanced/index.tsx +++ b/web/screens/Settings/Advanced/index.tsx @@ -232,7 +232,7 @@ const Advanced = () => {
Experimental Mode

- Enable new features that may be unstable. + New features that are still unstable and could affect app performance. Enable with caution.

{
HTTPS Proxy

- Specify the HTTPS proxy or leave blank (proxy auto-configuration - and SOCKS not supported). + Optional proxy server for internet connections. Only HTTPS proxies supported.

@@ -501,7 +500,7 @@ const Advanced = () => {
Jan Quick Ask

- Enable Quick Ask to be triggered via the default hotkey{' '} + Enable Quick Ask to be triggered via the default hotkey {' '}. {isMac ? '⌘' : 'Ctrl'} + J {' '} diff --git a/web/screens/Settings/Appearance/index.tsx b/web/screens/Settings/Appearance/index.tsx index a13656052..d7008552e 100644 --- a/web/screens/Settings/Appearance/index.tsx +++ b/web/screens/Settings/Appearance/index.tsx @@ -119,7 +119,7 @@ export default function AppearanceOptions() {

Choose the width of the chat area to customize your conversation - view + view.

@@ -184,7 +184,7 @@ export default function AppearanceOptions() {
Spell Check

- Turn on to enable spell check + Turn on to enable spell check.

diff --git a/web/screens/Settings/Engines/LocalEngineItem.tsx b/web/screens/Settings/Engines/LocalEngineItem.tsx index f284ca8a3..2efb177a3 100644 --- a/web/screens/Settings/Engines/LocalEngineItem.tsx +++ b/web/screens/Settings/Engines/LocalEngineItem.tsx @@ -19,7 +19,7 @@ const LocalEngineItems = ({ engine }: { engine: InferenceEngine }) => { const manualDescription = (engine: string) => { switch (engine) { case InferenceEngine.cortex_llamacpp: - return 'Fast, efficient local inference engine that runs GGUF models directly on your device' + return 'Fast, efficient local inference engine that runs GGUF models directly on your device.' default: break diff --git a/web/screens/Settings/Engines/LocalEngineSettings.tsx b/web/screens/Settings/Engines/LocalEngineSettings.tsx index 41ca622da..cac731a85 100644 --- a/web/screens/Settings/Engines/LocalEngineSettings.tsx +++ b/web/screens/Settings/Engines/LocalEngineSettings.tsx @@ -215,7 +215,7 @@ const LocalEngineSettings = ({ engine }: { engine: InferenceEngine }) => {

Choose the default variant that best suited for your - hardware. See more information here. + hardware. See [our guides](https://jan.ai/docs/local-engines/llama-cpp).

diff --git a/web/screens/Settings/Engines/RemoteEngineItem.tsx b/web/screens/Settings/Engines/RemoteEngineItem.tsx index 9e54e1872..4538be1fe 100644 --- a/web/screens/Settings/Engines/RemoteEngineItem.tsx +++ b/web/screens/Settings/Engines/RemoteEngineItem.tsx @@ -50,7 +50,7 @@ const RemoteEngineItems = ({

Access models from {getTitleByEngine(engine as InferenceEngine)}{' '} - via their API + via their API.

diff --git a/web/screens/Settings/Privacy/index.tsx b/web/screens/Settings/Privacy/index.tsx index 3034d8b2f..f591c9cdd 100644 --- a/web/screens/Settings/Privacy/index.tsx +++ b/web/screens/Settings/Privacy/index.tsx @@ -103,7 +103,7 @@ const Privacy = () => {
Logs

- Open App Logs and Cortex Logs + Open App Logs and Cortex Logs.

diff --git a/web/screens/Thread/ThreadRightPanel/Tools/index.tsx b/web/screens/Thread/ThreadRightPanel/Tools/index.tsx index 04cd6607f..1648564ea 100644 --- a/web/screens/Thread/ThreadRightPanel/Tools/index.tsx +++ b/web/screens/Thread/ThreadRightPanel/Tools/index.tsx @@ -180,7 +180,7 @@ const Tools = () => { id="use-time-weighted-retriever" className="inline-block font-medium" > - Time-Weighted Retrieval? + Time-Weighted Retrieval { className="ml-2 flex-shrink-0 text-[hsl(var(--text-secondary))]" /> } - content="Prioritizes newer documents while searching but still considers older ones. Newer content gets higher importance when finding relevant information." + content="Prioritizes newer documents while searching but still considers older ones." />
= { ngl: { key: 'ngl', title: 'Number of GPU layers (ngl)', - description: 'Controls how many layers of the model run on GPU. More layers means faster processing, but requires more GPU memory.', + description: + 'Controls how many layers of the model run on GPU. More layers means faster processing, but requires more GPU memory.', controllerType: 'slider', controllerProps: { min: 1, @@ -164,7 +165,8 @@ export const presetConfiguration: Record = { chunk_size: { key: 'chunk_size', title: 'Chunk Size', - description: 'Sets the maximum number of tokens per data chunk. Increase size for processing large blocks of text efficiently, or decrease it to optimize memory usage.', + description: + 'Sets the maximum number of tokens per data chunk. Increase size for processing large blocks of text efficiently, or decrease it to optimize memory usage.', controllerType: 'slider', controllerProps: { min: 128, @@ -178,7 +180,8 @@ export const presetConfiguration: Record = { chunk_overlap: { key: 'chunk_overlap', title: 'Chunk Overlap', - description: 'How many words overlap between text segments. More overlap helps maintain meaning across splits.', + description: + 'How many words overlap between text segments. More overlap helps maintain meaning across splits.', controllerType: 'slider', controllerProps: { min: 32, @@ -192,7 +195,8 @@ export const presetConfiguration: Record = { top_k: { key: 'top_k', title: 'Top K', - description: 'Number of most relevant documents to retrieve. Higher values return more results.', + description: + 'Number of most relevant documents to retrieve. Higher values return more results.', controllerType: 'slider', controllerProps: { min: 1, @@ -206,8 +210,7 @@ export const presetConfiguration: Record = { retrieval_template: { key: 'retrieval_template', title: 'Retrieval Template', - description: - 'Format for how the AI uses context to answer questions.', + description: 'Format for how the AI uses context to answer questions.', controllerType: 'input', controllerProps: { placeholder: 'Retrieval Template',