{"id":1185,"date":"2025-01-01T10:00:00","date_gmt":"2025-01-01T09:00:00","guid":{"rendered":"https:\/\/happynumeric.com\/lexique-intelligence-artificielle\/r\/definition-role-prompting\/"},"modified":"2025-01-01T10:00:00","modified_gmt":"2025-01-01T09:00:00","slug":"definition-role-prompting","status":"publish","type":"post","link":"https:\/\/happynumeric.com\/lexique-intelligence-artificielle\/r\/definition-role-prompting\/","title":{"rendered":"Role prompting"},"content":{"rendered":"<p>Le Role Prompting est une technique avanc\u00e9e en prompt engineering qui permet d&rsquo;obtenir des r\u00e9ponses plus pr\u00e9cises et pertinentes de la part d&rsquo;un mod\u00e8le d&rsquo;IA. Qu&rsquo;est-ce que Role Prompting ?  C&rsquo;est le fait d&rsquo;assigner un r\u00f4le sp\u00e9cifique \u00e0 l&rsquo;IA via l&rsquo;instruction, influen\u00e7ant ainsi son comportement et sa r\u00e9ponse.<\/p>\n<h3>Comment fonctionne le Role Prompting ?<\/h3>\n<p>En Role Prompting, vous donnez \u00e0 l&rsquo;IA un r\u00f4le \u00e0 jouer, comme celui d&rsquo;un traducteur, d&rsquo;un po\u00e8te, d&rsquo;un programmeur, ou m\u00eame d&rsquo;un personnage fictif.  L&rsquo;IA va alors adapter son style et son ton en fonction du r\u00f4le qui lui est assign\u00e9. Imaginez que vous demandiez \u00e0 une IA d&rsquo;\u00e9crire une histoire. Si vous lui donnez le r\u00f4le d&rsquo;un d\u00e9tective, l&rsquo;histoire sera probablement plus myst\u00e9rieuse et analytique que si vous lui donnez le r\u00f4le d&rsquo;un enfant.<\/p>\n<h3>Pourquoi le Role Prompting est-il important ?<\/h3>\n<p>Le Role Prompting est crucial car il permet de mieux contr\u00f4ler la sortie d&rsquo;un mod\u00e8le d&rsquo;IA.  En sp\u00e9cifiant un r\u00f4le, vous guidez l&rsquo;IA vers le type de r\u00e9ponse que vous attendez, augmentant ainsi la pertinence et la qualit\u00e9 des r\u00e9sultats. Par exemple, si vous voulez traduire un texte juridique, demander \u00e0 l&rsquo;IA de jouer le r\u00f4le d&rsquo;un traducteur juridique sp\u00e9cialis\u00e9 vous donnera une traduction plus pr\u00e9cise que si vous lui demandiez simplement de traduire le texte.<\/p>\n<h3>Termes associ\u00e9s<\/h3>\n<ul id=\"TermesAssocies\">\n<li><a href=\"https:\/\/happynumeric.com\/lexique-intelligence-artificielle\/?s=Prompt+Engineering\">Prompt Engineering<\/a><\/li>\n<li><a href=\"https:\/\/happynumeric.com\/lexique-intelligence-artificielle\/?s=Few-Shot+Learning\">Few-Shot Learning<\/a><\/li>\n<li><a href=\"https:\/\/happynumeric.com\/lexique-intelligence-artificielle\/?s=Chain-of-Thought+Prompting\">Chain-of-Thought Prompting<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Le Role Prompting est une technique avanc\u00e9e en prompt engineering qui permet d&rsquo;obtenir des r\u00e9ponses plus pr\u00e9cises et pertinentes de la part d&rsquo;un mod\u00e8le d&rsquo;IA. Qu&rsquo;est-ce que Role Prompting ? C&rsquo;est le fait d&rsquo;assigner un r\u00f4le sp\u00e9cifique \u00e0 l&rsquo;IA via l&rsquo;instruction, influen\u00e7ant ainsi son comportement et sa r\u00e9ponse. Comment fonctionne le Role Prompting ? En [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[59],"tags":[635,86,12,665],"class_list":["post-1185","post","type-post","status-publish","format-standard","hentry","category-r","tag-chain-of-thought-prompting","tag-few-shot-learning","tag-prompt-engineering","tag-role-prompting"],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"","author_link":"https:\/\/happynumeric.com\/lexique-intelligence-artificielle\/author\/"},"uagb_comment_info":0,"uagb_excerpt":"Le Role Prompting est une technique avanc\u00e9e en prompt engineering qui permet d&rsquo;obtenir des r\u00e9ponses plus pr\u00e9cises et pertinentes de la part d&rsquo;un mod\u00e8le d&rsquo;IA. Qu&rsquo;est-ce que Role Prompting ? C&rsquo;est le fait d&rsquo;assigner un r\u00f4le sp\u00e9cifique \u00e0 l&rsquo;IA via l&rsquo;instruction, influen\u00e7ant ainsi son comportement et sa r\u00e9ponse. Comment fonctionne le Role Prompting ? En\u2026","_links":{"self":[{"href":"https:\/\/happynumeric.com\/lexique-intelligence-artificielle\/wp-json\/wp\/v2\/posts\/1185","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/happynumeric.com\/lexique-intelligence-artificielle\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/happynumeric.com\/lexique-intelligence-artificielle\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/happynumeric.com\/lexique-intelligence-artificielle\/wp-json\/wp\/v2\/comments?post=1185"}],"version-history":[{"count":0,"href":"https:\/\/happynumeric.com\/lexique-intelligence-artificielle\/wp-json\/wp\/v2\/posts\/1185\/revisions"}],"wp:attachment":[{"href":"https:\/\/happynumeric.com\/lexique-intelligence-artificielle\/wp-json\/wp\/v2\/media?parent=1185"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/happynumeric.com\/lexique-intelligence-artificielle\/wp-json\/wp\/v2\/categories?post=1185"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/happynumeric.com\/lexique-intelligence-artificielle\/wp-json\/wp\/v2\/tags?post=1185"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}