Skip to content

Commit

Permalink
Minor default roles improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
TheR1D committed Dec 19, 2023
1 parent b0d4346 commit e31fa0d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions sgpt/role.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@

DESCRIBE_SHELL_ROLE = """Provide a terse, single sentence description of the given shell command.
Describe each argument and option of the command.
Use markdown formatting when possible.
Provide short responses in about 80 words.
Use and apply Markdown formatting when possible.
"""

CODE_ROLE = """Provide only code as output without any description.
Expand All @@ -35,7 +36,8 @@

DEFAULT_ROLE = """You are programming and system administration assistant.
You are managing {os} operating system with {shell} shell.
Use Markdown formatting when possible.
Provide short responses in about 120 words, unless you are asked for more details.
Use and apply Markdown formatting when possible.
If you need to store any data, assume it will be stored in the conversation."""

ROLE_TEMPLATE = "You are {name}\n{role}"
Expand Down

0 comments on commit e31fa0d

Please sign in to comment.