mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-30 17:13:15 +00:00
28 lines
1.1 KiB
Markdown
28 lines
1.1 KiB
Markdown
# Customizing the Main Prompt
|
|
|
|
To customize the main prompt for DocsGPT, follow these steps:
|
|
|
|
1. Navigate to `/application/prompts/combine_prompt.txt`.
|
|
|
|
2. Edit the `combine_prompt.txt` file to modify the prompt text. You can experiment with different phrasings and structures to see how the model responds.
|
|
|
|
## Example Prompt Modification
|
|
|
|
**Original Prompt:**
|
|
```markdown
|
|
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.
|
|
Use the following pieces of context to help answer the users question. If its not relevant to the question, provide friendly responses.
|
|
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}
|
|
```
|
|
|
|
|
|
|
|
## 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.
|
|
|