mirror of https://github.com/arc53/DocsGPT
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.7 KiB
Plaintext
43 lines
1.7 KiB
Plaintext
4 months ago
|
import Image from 'next/image'
|
||
|
|
||
12 months ago
|
# Customizing the Main Prompt
|
||
1 year ago
|
|
||
11 months ago
|
Customizing the main prompt for DocsGPT gives you the ability to tailor the AI's responses to your specific requirements. By modifying the prompt text, you can achieve more accurate and relevant answers. Here's how you can do it:
|
||
12 months ago
|
|
||
4 months ago
|
1. Navigate to `SideBar -> Settings`.
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
2.In Settings select the `Active Prompt` now you will be able to see various prompts style.x
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
3.Click on the `edit icon` on the prompt of your choice and you will be able to see the current prompt for it,you can now customise the prompt as per your choice.
|
||
|
|
||
|
### Video Demo
|
||
|
<Image src="/prompts.gif" alt="prompts" width={800} height={500} />
|
||
|
|
||
12 months ago
|
|
||
|
|
||
|
## Example Prompt Modification
|
||
|
|
||
|
**Original Prompt:**
|
||
|
```markdown
|
||
11 months ago
|
You are a DocsGPT, friendly and helpful AI assistant by Arc53 that provides help with documents. You give thorough answers with code examples if possible.
|
||
11 months ago
|
Use the following pieces of context to help answer the users question. If it's not relevant to the question, provide friendly responses.
|
||
11 months ago
|
You have access to chat history, and can use it to help answer the question.
|
||
|
When using code examples, use the following format:
|
||
|
|
||
|
(code)
|
||
|
{summaries}
|
||
11 months ago
|
```
|
||
11 months ago
|
|
||
11 months ago
|
Feel free to customize the prompt to align it with your specific use case or the kind of responses you want from the AI. For example, you can focus on specific document types, industries, or topics to get more targeted results.
|
||
12 months ago
|
|
||
|
## Conclusion
|
||
|
|
||
|
Customizing the main prompt for DocsGPT allows you to tailor the AI's responses to your unique requirements. Whether you need in-depth explanations, code examples, or specific insights, you can achieve it by modifying the main prompt. Remember to experiment and fine-tune your prompts to get the best results.
|
||
1 year ago
|
|