Jaka jest różnica między rolami System, User oraz Assistant w ChatGPT?

When you use API for OpenAI ChatGPT, Claude, Perplexity or many different AI models you will stand before the decision to make, which role should I use for a prompt? System, User or Assistant?

The answer is pretty straightforward, here is a breakdown:

System Role

You can use the System role to set the context and provide general pieces of information on how the model should behave. You can put here the tone of voice, steps to follow, standard behaviour etc.

When to use it:
Usually, you use it at the beginning of the conversation to set further interaction principles. For example, if you need the model to respond as some specialist.

Example:
System: You are experienced SEO specialist. You use your extended knowledge and any content you create is SEO optimised. If you are missing some information you should ask additional questions.

User Role

This role represents you as a user, the human in the conversation. Here you give commands and ask questions, that the model should respond to.

When to use:
This is the default role you should use. Whenever you need to ask questions or make the model to generate something you should use this role.

Example:
User: For main keyword "Artificial Intelligence" generate 5 complementary keywords

Assistant Role

This role represents the model itself responding to any question or command sent by the User.

When to use:
You should use it when you need to give examples, of how the answers should look like.

Example:
Assistant: machine learning, neural networks, automation, deep learning ai ethics

Najlepsze szablony

Notion Kanban Board template displayed on laptop and tablet, showcasing customizable task management columns and instructions for efficient project management and workflow organization.
Competitive Analysis template in Notion, showcasing dark mode interface. Laptop screen displays Apple competitor profile with detailed SWOT analysis, categories, and key information. Created by Lucas Ostrowski, demonstrating efficient market research setup in Notion's dark theme for The Hitchhiker's Guide to Automated Systems
Notion Keyboard shortcuts & commands template by Lucas Ostrowski: Dark mode interface showcasing comprehensive shortcut grid for Mac and Windows. Features categorized commands like "Create New Page" and "Toggle Light/Dark Modes". Enhances Notion workflow efficiency across platforms. Made for Notion badge included.

Najlepsze szablony

Notion Kanban Board template displayed on laptop and tablet, showcasing customizable task management columns and instructions for efficient project management and workflow organization.
Competitive Analysis template in Notion, showcasing dark mode interface. Laptop screen displays Apple competitor profile with detailed SWOT analysis, categories, and key information. Created by Lucas Ostrowski, demonstrating efficient market research setup in Notion's dark theme for The Hitchhiker's Guide to Automated Systems
Notion Keyboard shortcuts & commands template by Lucas Ostrowski: Dark mode interface showcasing comprehensive shortcut grid for Mac and Windows. Features categorized commands like "Create New Page" and "Toggle Light/Dark Modes". Enhances Notion workflow efficiency across platforms. Made for Notion badge included.

Najlepsze szablony

Notion Kanban Board template displayed on laptop and tablet, showcasing customizable task management columns and instructions for efficient project management and workflow organization.
Competitive Analysis template in Notion, showcasing dark mode interface. Laptop screen displays Apple competitor profile with detailed SWOT analysis, categories, and key information. Created by Lucas Ostrowski, demonstrating efficient market research setup in Notion's dark theme for The Hitchhiker's Guide to Automated Systems
Notion Keyboard shortcuts & commands template by Lucas Ostrowski: Dark mode interface showcasing comprehensive shortcut grid for Mac and Windows. Features categorized commands like "Create New Page" and "Toggle Light/Dark Modes". Enhances Notion workflow efficiency across platforms. Made for Notion badge included.

Nigdy nie przegap nowych wskazówek

Bądź na bieżąco z wszystkimi wiadomościami co tydzień w newsletterze

Nigdy nie przegap nowych wskazówek

Bądź na bieżąco z wszystkimi wiadomościami co tydzień w newsletterze

Nigdy nie przegap nowych wskazówek

Bądź na bieżąco z wszystkimi wiadomościami co tydzień w newsletterze