Updated Assistants page

This commit is contained in:
Ashley 2025-01-05 22:51:53 +07:00
parent 13d6d0ff34
commit f4dec37c23
3 changed files with 41 additions and 7 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 161 KiB

After

Width:  |  Height:  |  Size: 160 KiB

View File

@ -20,15 +20,49 @@ keywords:
import { Callout, Steps } from 'nextra/components' import { Callout, Steps } from 'nextra/components'
# Assistants # Assistants
This guide explains how to set the Assistant instructions in the Jan application. Assistant is a configuration profile that determines how the AI should behave and respond to your inputs. It consists of:
- A set of instructions that guide the AI's behavior
- Model settings for AI responses
- Tool configurations (like [knowlegde retrieval](/docs/tools/retrieval) settings)
## Applied the Instructions to All Threads Currently, Jan comes with a single default Assistant named **Jan**, which is used across all your threads. We're working on the ability to create and switch between multiple assistants.
To apply the instructions to all the new threads, follow these steps:
1. Select a **Thread**.
2. Click the **Assistant** tab.
3. Toggle the **slider** to ensure these instructions are applied to all new threads. (Activate the **Experimental Mode** feature to enable this option.)
<br/>
![Assistant Slider](./_assets/assistant-slider.png) ## Set Assistant Instructions
By modifying assistant instructions, you can customize how Jan understands and responds to your queries, what context it should consider, and how it should format its responses.
1. In any **Thread**, click the **Assistant** tab in the **right sidebar**
2. Enter your custom instructions in **Instructions** input field
3. Your instructions will be applied to the current thread right after you click out of the instruction field .
![Set Instructions](./_assets/quick-start-02.png)
**Best Practices for Instructions:**
- Be clear and specific about the desired behavior
- Include any consistent preferences for formatting, tone, or style
**Examples:**
Here are some example instructions you might set:
```
Act as a software development mentor focused on Python and JavaScript.
Provide detailed explanations with code examples when relevant.
Use markdown formatting for code blocks.
```
```
Respond in a casual, friendly tone. Keep explanations brief and use simple language.
Provide examples when explaining complex topics.
```
## Apply Instructions to New Threads
You can save Assistant instructions to be automatically applied to all new threads:
1. In any **Thread**, click the **Assistant** tab in the **right sidebar**
2. Toggle the **Save instructions for new threads** slider
3. When enabled, all **new threads** will use these instructions as their default, old threads are not affected
<br/>
![Assistant Slider](./_assets/assistant-01.png)
<br/> <br/>