Updated some copies in Settings

This commit is contained in:
Ashley 2025-01-14 22:13:10 +07:00
parent 97cd0224f1
commit 1174772958
18 changed files with 34 additions and 32 deletions

View File

@ -42,10 +42,10 @@ The current Jan Desktop Client has some default extensions built on this framewo
## List of Core Extensions ## List of Core Extensions
| Extension Name | Version | Description | | Extension Name | Version | Description |
|---------------------|----------|-----------------------------------------------------------------------------| |---------------------|----------|-----------------------------------------------------------------------------|
| Jan Assistant | v1.0.1 | This extension enables assistants, including Jan, a default assistant that can call all downloaded models | | Jan Assistant | v1.0.1 | Powers the default AI assistant that works with all your installed models. |
| Conversational | v1.0.0 | This extension enables conversations and state persistence via your filesystem | | 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 | | 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 ## Configure an Extension Settings
@ -83,7 +83,7 @@ To configure an extension settings:
"productName": "Conversational", "productName": "Conversational",
"version": "1.0.0", "version": "1.0.0",
"main": "dist/index.js", "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" "url": "extension://@janhq/conversational-extension/dist/index.js"
}, },
"@janhq/inference-anthropic-extension": { "@janhq/inference-anthropic-extension": {
@ -248,7 +248,7 @@ To configure an extension settings:
"productName": "System Monitoring", "productName": "System Monitoring",
"version": "1.0.10", "version": "1.0.10",
"main": "dist/index.js", "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" "url": "extension://@janhq/monitoring-extension/dist/index.js"
}, },
"@janhq/assistant-extension": { "@janhq/assistant-extension": {
@ -263,7 +263,7 @@ To configure an extension settings:
"productName": "Jan Assistant", "productName": "Jan Assistant",
"version": "1.0.1", "version": "1.0.1",
"main": "dist/index.js", "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" "url": "extension://@janhq/assistant-extension/dist/index.js"
}, },
"@janhq/tensorrt-llm-extension": { "@janhq/tensorrt-llm-extension": {

View File

@ -1,6 +1,6 @@
{ {
"name": "jan", "name": "jan",
"version": "0.1.1736316956", "version": "0.1.1736864554",
"main": "./build/main.js", "main": "./build/main.js",
"author": "Jan <service@jan.ai>", "author": "Jan <service@jan.ai>",
"license": "MIT", "license": "MIT",

View File

View File

@ -2,7 +2,7 @@
"name": "@janhq/assistant-extension", "name": "@janhq/assistant-extension",
"productName": "Jan Assistant", "productName": "Jan Assistant",
"version": "1.0.2", "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", "main": "dist/index.js",
"node": "dist/node/index.js", "node": "dist/node/index.js",
"author": "Jan <service@jan.ai>", "author": "Jan <service@jan.ai>",

View File

@ -2,7 +2,7 @@
"name": "@janhq/conversational-extension", "name": "@janhq/conversational-extension",
"productName": "Conversational", "productName": "Conversational",
"version": "1.0.0", "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", "main": "dist/index.js",
"author": "Jan <service@jan.ai>", "author": "Jan <service@jan.ai>",
"license": "MIT", "license": "MIT",

View File

@ -2,7 +2,7 @@
"name": "@janhq/engine-management-extension", "name": "@janhq/engine-management-extension",
"productName": "Engine Management", "productName": "Engine Management",
"version": "1.0.0", "version": "1.0.0",
"description": "Extension for managing engines and their configurations", "description": "Manages AI engines and their configurations.",
"main": "dist/index.js", "main": "dist/index.js",
"node": "dist/node/index.cjs.js", "node": "dist/node/index.cjs.js",
"author": "Jan <service@jan.ai>", "author": "Jan <service@jan.ai>",

View File

@ -2,7 +2,7 @@
"name": "@janhq/model-extension", "name": "@janhq/model-extension",
"productName": "Model Management", "productName": "Model Management",
"version": "1.0.35", "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", "main": "dist/index.js",
"author": "Jan <service@jan.ai>", "author": "Jan <service@jan.ai>",
"license": "AGPL-3.0", "license": "AGPL-3.0",

View File

@ -2,7 +2,7 @@
"name": "@janhq/monitoring-extension", "name": "@janhq/monitoring-extension",
"productName": "System Monitoring", "productName": "System Monitoring",
"version": "1.0.10", "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", "main": "dist/index.js",
"node": "dist/node/index.cjs.js", "node": "dist/node/index.cjs.js",
"author": "Jan <service@jan.ai>", "author": "Jan <service@jan.ai>",

View File

@ -30,7 +30,7 @@ const ModalConfirmReset = () => {
content={ content={
<div> <div>
<p className="text-[hsla(var(--text-secondary))]"> <p className="text-[hsla(var(--text-secondary))]">
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 This action is irreversible and recommended only if the application
is corrupted. is corrupted.
</p> </p>

View File

@ -17,7 +17,7 @@ const FactoryReset = () => {
</h6> </h6>
</div> </div>
<p className="whitespace-pre-wrap font-medium leading-relaxed text-[hsla(var(--text-secondary))]"> <p className="whitespace-pre-wrap font-medium leading-relaxed text-[hsla(var(--text-secondary))]">
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 This action is irreversible and recommended only if the application is
corrupted. corrupted.
</p> </p>

View File

@ -232,7 +232,7 @@ const Advanced = () => {
<h6 className="font-semibold capitalize">Experimental Mode</h6> <h6 className="font-semibold capitalize">Experimental Mode</h6>
</div> </div>
<p className="font-medium leading-relaxed text-[hsla(var(--text-secondary))]"> <p className="font-medium leading-relaxed text-[hsla(var(--text-secondary))]">
Enable new features that may be unstable. New features that are still unstable and could affect app performance. Enable with caution.
</p> </p>
</div> </div>
<Switch <Switch
@ -446,8 +446,7 @@ const Advanced = () => {
<h6 className="font-semibold capitalize">HTTPS Proxy</h6> <h6 className="font-semibold capitalize">HTTPS Proxy</h6>
</div> </div>
<p className="font-medium leading-relaxed text-[hsla(var(--text-secondary))]"> <p className="font-medium leading-relaxed text-[hsla(var(--text-secondary))]">
Specify the HTTPS proxy or leave blank (proxy auto-configuration Optional proxy server for internet connections. Only HTTPS proxies supported.
and SOCKS not supported).
</p> </p>
</div> </div>
@ -501,7 +500,7 @@ const Advanced = () => {
<h6 className="font-semibold capitalize">Jan Quick Ask</h6> <h6 className="font-semibold capitalize">Jan Quick Ask</h6>
</div> </div>
<p className="font-medium leading-relaxed text-[hsla(var(--text-secondary))]"> <p className="font-medium leading-relaxed text-[hsla(var(--text-secondary))]">
Enable Quick Ask to be triggered via the default hotkey{' '} Enable Quick Ask to be triggered via the default hotkey {' '}.
<span className="text-[hsla(var(--text-secondary)] bg-secondary inline-flex items-center justify-center rounded-full px-1 py-0.5 text-xs font-bold"> <span className="text-[hsla(var(--text-secondary)] bg-secondary inline-flex items-center justify-center rounded-full px-1 py-0.5 text-xs font-bold">
<span className="font-bold">{isMac ? '⌘' : 'Ctrl'} + J</span> <span className="font-bold">{isMac ? '⌘' : 'Ctrl'} + J</span>
</span>{' '} </span>{' '}

View File

@ -119,7 +119,7 @@ export default function AppearanceOptions() {
</div> </div>
<p className=" font-medium leading-relaxed text-[hsla(var(--text-secondary))]"> <p className=" font-medium leading-relaxed text-[hsla(var(--text-secondary))]">
Choose the width of the chat area to customize your conversation Choose the width of the chat area to customize your conversation
view view.
</p> </p>
</div> </div>
<div className="flex-shrink-0"> <div className="flex-shrink-0">
@ -184,7 +184,7 @@ export default function AppearanceOptions() {
<h6 className="font-semibold capitalize">Spell Check</h6> <h6 className="font-semibold capitalize">Spell Check</h6>
</div> </div>
<p className=" font-medium leading-relaxed text-[hsla(var(--text-secondary))]"> <p className=" font-medium leading-relaxed text-[hsla(var(--text-secondary))]">
Turn on to enable spell check Turn on to enable spell check.
</p> </p>
</div> </div>
<div className="flex-shrink-0"> <div className="flex-shrink-0">

View File

@ -19,7 +19,7 @@ const LocalEngineItems = ({ engine }: { engine: InferenceEngine }) => {
const manualDescription = (engine: string) => { const manualDescription = (engine: string) => {
switch (engine) { switch (engine) {
case InferenceEngine.cortex_llamacpp: 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: default:
break break

View File

@ -215,7 +215,7 @@ const LocalEngineSettings = ({ engine }: { engine: InferenceEngine }) => {
<div className="mt-2 w-full font-medium leading-relaxed text-[hsla(var(--text-secondary))]"> <div className="mt-2 w-full font-medium leading-relaxed text-[hsla(var(--text-secondary))]">
<p> <p>
Choose the default variant that best suited for your 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).
</p> </p>
</div> </div>
</div> </div>

View File

@ -50,7 +50,7 @@ const RemoteEngineItems = ({
<div className="mt-2 w-full font-medium leading-relaxed text-[hsla(var(--text-secondary))]"> <div className="mt-2 w-full font-medium leading-relaxed text-[hsla(var(--text-secondary))]">
<p> <p>
Access models from {getTitleByEngine(engine as InferenceEngine)}{' '} Access models from {getTitleByEngine(engine as InferenceEngine)}{' '}
via their API via their API.
</p> </p>
</div> </div>
</div> </div>

View File

@ -103,7 +103,7 @@ const Privacy = () => {
<h6 className="font-semibold capitalize">Logs</h6> <h6 className="font-semibold capitalize">Logs</h6>
</div> </div>
<p className="font-medium leading-relaxed text-[hsla(var(--text-secondary))]"> <p className="font-medium leading-relaxed text-[hsla(var(--text-secondary))]">
Open App Logs and Cortex Logs Open App Logs and Cortex Logs.
</p> </p>
</div> </div>
<div className="flex items-center gap-x-3"> <div className="flex items-center gap-x-3">

View File

@ -180,7 +180,7 @@ const Tools = () => {
id="use-time-weighted-retriever" id="use-time-weighted-retriever"
className="inline-block font-medium" className="inline-block font-medium"
> >
Time-Weighted Retrieval? Time-Weighted Retrieval
</label> </label>
<Tooltip <Tooltip
trigger={ trigger={
@ -189,7 +189,7 @@ const Tools = () => {
className="ml-2 flex-shrink-0 text-[hsl(var(--text-secondary))]" 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."
/> />
<div className="ml-auto flex items-center justify-between"> <div className="ml-auto flex items-center justify-between">
<Switch <Switch

View File

@ -56,7 +56,8 @@ export const presetConfiguration: Record<string, SettingComponentProps> = {
ngl: { ngl: {
key: 'ngl', key: 'ngl',
title: 'Number of GPU layers (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', controllerType: 'slider',
controllerProps: { controllerProps: {
min: 1, min: 1,
@ -164,7 +165,8 @@ export const presetConfiguration: Record<string, SettingComponentProps> = {
chunk_size: { chunk_size: {
key: 'chunk_size', key: 'chunk_size',
title: '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', controllerType: 'slider',
controllerProps: { controllerProps: {
min: 128, min: 128,
@ -178,7 +180,8 @@ export const presetConfiguration: Record<string, SettingComponentProps> = {
chunk_overlap: { chunk_overlap: {
key: 'chunk_overlap', key: 'chunk_overlap',
title: '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', controllerType: 'slider',
controllerProps: { controllerProps: {
min: 32, min: 32,
@ -192,7 +195,8 @@ export const presetConfiguration: Record<string, SettingComponentProps> = {
top_k: { top_k: {
key: 'top_k', key: 'top_k',
title: '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', controllerType: 'slider',
controllerProps: { controllerProps: {
min: 1, min: 1,
@ -206,8 +210,7 @@ export const presetConfiguration: Record<string, SettingComponentProps> = {
retrieval_template: { retrieval_template: {
key: 'retrieval_template', key: 'retrieval_template',
title: 'Retrieval Template', title: 'Retrieval Template',
description: description: 'Format for how the AI uses context to answer questions.',
'Format for how the AI uses context to answer questions.',
controllerType: 'input', controllerType: 'input',
controllerProps: { controllerProps: {
placeholder: 'Retrieval Template', placeholder: 'Retrieval Template',