Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "Customizable System Prompt" part #34

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

FuzzyReason
Copy link
Contributor

No description provided.

## Customizable System Prompt
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

first we need to tell about default system prompt and how it works with chat and toolbox
also we need to add the reason of this feature and real use cases
for example you're java developer and all generated code should be in java lang: just add default system prompt that model should generate only java code


This custom prompt is designed to:
- Increase specificity: Mentioning specific web technologies (React, Tailwind, Next.js) helps provide more targeted assistance.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for example, not only web

In Refact, a **system prompt** is used to maintain a standard format and clarity in communication. By default, it is set to:

```
You are a programming assistant. Use backquotes for code blocks, give links to documentation at the end of the response.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure that you should mention this prompt here, it can be changed
I propose to give an example of default system prompt customization in yaml format as given below

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants