π‘ Prompts
Prompts tell the AI how to behave
You can freely rearrange the order to get the behavior you want.
They can use built-in macros (identifiers) or be fully customized by the user.
System Built-in Macros
The following macros are built in by default:
Each macro value MUST appear at most once in the prompts array
Reference: π§ Instructions
Reference: π Personality
Reference: π₯ Scenarios
Reference: π¬ Examples of dialogue
Reference: π Personas
Each preset configuration must contain a {{chat_history}}
.
A sequence of conversation histories, where each element is a message object containing the roles and text of the two parties. The model generates the next response based on this history.
Custom Prompts
In addition to built-in identifiers, you can define your own prompts.
A custom prompt is created by specifying a role
and a content
field