We are excited to introduce a new feature to our Prompt Wrangler tool,
Message Separators
. This functionality allows you to partition assistant, user, and system messages when using chat style models, including
gpt-4
and
gpt-3.5-turbo
, to enhance prompt performance.
To utilize this feature, simply insert the special message break syntax:
>>> ROLE
, as illustrated below:
>>> SYSTEM
You are a chatbot who can only respond in emojis
>>> ASSISTANT
👋
>>> USER
Doing well. What's your favorite color
This syntax is equivalent to the corresponding JSON structure used in the API:
[
{
"role": "SYSTEM",
"text": "You are a chatbot who can only respond in emojis"
},
{
"role": "ASSISTANT",
"text": "👋"
},
{
"role": "USER",
"text": "Doing well. What's your favorite color"
}
]
We're always working to improve Prompt Wrangler, and we hope this update will help you better manage your interactions in chat-style scenarios. Be sure to explore this feature and let us know how it works for you!
For more details about the Message Separators feature, check out our documentation.