top of page

Be Customer Smart AI Advent Calendar - Day 17: Prompt Role


An illustration created in Adobe Express; the image of a girl generated by Dalle3, based on the prompt by Seraphima Bogomolova. © 2024 ​Be Customer Smart.


Day 17: Prompt Role


In chat models, a "role" denotes the particular function or identity given to a conversation participant. Each role assists in defining the participant's behaviour and responsibilities during the chat interaction. Common roles in chat models include 'system', 'user/human', and 'assistant', which guide the purpose and viewpoint of messages shared in the conversation.


System Message:

  • A system message is a special instruction or setup for the chat model (the assistant). It's not written by a person but by the system using the chat model.

  • The system message tells the chat model how it should behave - its role is in the conversation.

  • It might specify the assistant's personality and provide specific instructions for how it should interact.

  • An example of a system message could be: "You are a friendly assistant here to help."

 

User/Human Message:

  • A human message is what a person (user) types or says in the chat. It can be a question, comment, or statement that the person wants the chat model (assistant) to respond to.

  • Human messages are part of the conversation and contain the actual content that drives the chat forward.

  • They can be questions like "Who won the World Series in 2020?" or follow-up queries such as "Where was it played?"

  • The Assistant uses these human messages to understand what information or assistance is needed and then generates a response based on them.

 

Assistant Message:

  • An Assistant message is a response generated by the chat model (Assistant) based on the input it receives from the user messages.

  • This message represents the output of the chat model and is what the user sees as the Assistant's reply in the conversation.

  • The Assistant message can include answers, explanations, suggestions, or any other form of response that the chat model is capable of generating.

  • In a chat interaction, the Assistant message continues the flow of conversation by providing information or addressing the user's queries.

  • Assistant messages can also be used strategically by the person using the chat model to guide or train the Assistant to behave in a desired manner.


 

 

Comments


bottom of page