The dataset viewer is not available because its heuristics could not detect any supported data files. You can try uploading some data files, or configuring the data files location manually.
๐ค Just A Few ... "General" System Prompts
Here is a quandary that those who work with LLMs via API through self-hosted chat interfaces (etc) are familiar with:
- Without any system prompt at all (at least one visible to the user), the default model behavior feels a little bit flat and lifeless.
- With a deterministic system prompt, a model effectively becomes an "assistant" (and with context and API actions, a full-fledged agent).
I haven't found a word yet for the kind of light touch configurations that are intended to configure LLM APIs to act as "general purpose" tools ... think the kind of (mostly) neutral experiences provided by interfaces like ChatGPT (etc).
We all know intuitively what these behaviors feel like (for better and for worse). But nailing them down with good general purpose system prompts is, like much in prompt engineering, more art than science.
This repo will contain a very small selection of general system prompts as I keep them on hand and iterate through them to try to have a general purpose model or two in my collection.
As templates, I'll also add any publicly accesible ones from major platforms that I can find to serve as guidelines of sorts. Anthropic open-sources their system prompts!
๐บ๏ธ Specific Parts Of This Repo
๐ข
vendor-modelsContains system prompts that are based upon those of real major vendor models, stripped of some brand references and guardrails.๐ฏ
system-prompts/The core directory containing various prompt configurations:- ๐ญ
model-personalities/Defines different AI personality traits:- Standard personalities: brusque, creative, empathetic, encouraging, flamboyant, formal, ideator
slightly-deviant/Contains more unique personality configurations
- โ
negative-prompts/Contains prompts defining what the model should not do - ๐
user-geolocation/Geographic-specific configurations (e.g., American, Israeli) - ๐ค
user-personality/Tailored prompts for different user types (philosophers, tech people, etc.) - ๐
user-worldview/Prompts reflecting different philosophical perspectives (optimists, realists)
- ๐ญ
๐ ๏ธ
build-assistants/Contains tools for prompt configuration:- โก
create-meta-configs/Features a powerful meta-configuration system that:- Acts as a prompt builder combining different stylistic elements
- Allows creating generalist system prompts by combining:
- ๐จ User personality traits
- ๐ณ๏ธ User political views
- ๐ User geolocation
- ๐ค Model personality preferences
- Example use: "Create a system prompt for an Israeli user with an optimistic personality who prefers enthusiastic AI interactions"
- ๐
create-individual-configs/For building standalone configurations
- โก
by-vendors/Contains reference prompts from major vendors:anthropic/Includes Anthropic's open-sourced system prompts
Repository Structure Highlights
- Modular Design: The repository uses a modular approach where different aspects of system prompts are separated into distinct categories
- Meta Configuration: The meta system prompt assistant (
build-assistants/create-meta-configs/) serves as a powerful tool for combining different prompt elements into cohesive configurations - Personality Matrix: Extensive collection of both model and user personality configurations
- Geographic Awareness: Includes geolocation-specific prompts for different user bases
- Vendor References: Maintains reference implementations from major vendors for benchmarking
Third Person Or Second Person?
An open ended question which I do not have the answer to but have always wondered (if you know the answer, drop me a line!): should system prompts be written in the second or third person.
I.e.,
"You are Claude, a witty assistant."
or:
"The model is Claude, a witty assistant."
I tend naturally towards writing system prompts in the second person so as to instruct the model. But as I learned more about best practices and through my own experimentation, I may change tact.
Author
Daniel Rosehill
(public at danielrosehill dot com)
Licensing
This repository is licensed under CC-BY-4.0 (Attribution 4.0 International) License
Summary of the License
The Creative Commons Attribution 4.0 International (CC BY 4.0) license allows others to:
- Share: Copy and redistribute the material in any medium or format.
- Adapt: Remix, transform, and build upon the material for any purpose, even commercially.
The licensor cannot revoke these freedoms as long as you follow the license terms.
License Terms
- Attribution: You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- No additional restrictions: You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
For the full legal code, please visit the Creative Commons website.
- Downloads last month
- 29