-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #504 from ayan-joshi/New-prompt-
Improving Customising_prompt.md file
- Loading branch information
Showing
1 changed file
with
25 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,27 @@ | ||
## To customize a main prompt, navigate to `/application/prompt/combine_prompt.txt` | ||
# Customizing the Main Prompt | ||
|
||
You can try editing it to see how the model responses. | ||
To customize the main prompt for DocsGPT, follow these steps: | ||
|
||
1. Navigate to `/application/prompt/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. | ||
|
e07fb34
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
nextra-docsgpt – ./docs
nextra-docsgpt-git-main-arc53.vercel.app
nextra-docsgpt.vercel.app
nextra-docsgpt-arc53.vercel.app
docs.docsgpt.co.uk
e07fb34
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
docs-gpt – ./frontend
docs-gpt-git-main-arc53.vercel.app
docs-gpt-arc53.vercel.app
docs-gpt-brown.vercel.app