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

Use a system prompt before sending messages #202

Closed
syswraith opened this issue Feb 1, 2025 · 1 comment
Closed

Use a system prompt before sending messages #202

syswraith opened this issue Feb 1, 2025 · 1 comment

Comments

@syswraith
Copy link

Proposal

Adding a system prompt option to pre-prompt the model before accepting user messages.

Information about a system prompt

A system prompt is a set of instructions that guide an AI model's behavior and responses.

  • System prompts are processed before the user's input.
  • They define the AI's tone, actions, and output.
  • They ensure the AI's responses are accurate, relevant, and consistent.
  • Well-crafted system prompts can improve the AI's capabilities.

I know this can be achieved by sending a message and not printing the output, but I think it would be better to have it as a separate field.

@hopperelec
Copy link
Contributor

This already is a separate field, called system

- `system` `<string>`: (Optional) Override the model system prompt.

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

No branches or pull requests

2 participants