Skip to content
Open
Show file tree
Hide file tree
Changes from 14 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
237 changes: 114 additions & 123 deletions (docs)/fr/docs/applied_prompting/build_chatbot_from_kb/page.mdx

Large diffs are not rendered by default.

111 changes: 54 additions & 57 deletions (docs)/fr/docs/applied_prompting/build_chatgpt/page.mdx

Large diffs are not rendered by default.

123 changes: 60 additions & 63 deletions (docs)/fr/docs/applied_prompting/mc_tutorial/page.mdx

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions (docs)/fr/docs/applied_prompting/overview/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ export const metadata = { sidebar_position: 1, title: "🟢 Introduction" };

# 🟢 Introduction

Now we will discuss the end-to-end prompt engineering process via articles written
by community members.
Nous allons maintenant aborder le processus complet d'ingénierie des prompts à travers des articles rédigés
par les membres de la communauté.
156 changes: 70 additions & 86 deletions (docs)/fr/docs/applied_prompting/short_response/page.mdx

Large diffs are not rendered by default.

187 changes: 93 additions & 94 deletions (docs)/fr/docs/basic_applications/contracts/page.mdx

Large diffs are not rendered by default.

102 changes: 51 additions & 51 deletions (docs)/fr/docs/basic_applications/digital_marketing/page.mdx

Large diffs are not rendered by default.

39 changes: 21 additions & 18 deletions (docs)/fr/docs/basic_applications/summarize/page.mdx
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
export const metadata = { sidebar_position: 70, title: "🟢 Summarizing Text" };
export const metadata = {
sidebar_position: 70,
title: "🟢 Résumer des textes",
};

# 🟢 Summarizing Text
# 🟢 Résumer des textes

ChatGPT is notorious for producing content in the blink of an eye, and has proven to be a huge time saver.
For content already written, ChatGPT can also save us time by helping us digest long torturous texts.
It can summarize books, movies, plays, articles and many more. With ChatGPT, it’s like having a Cliffs Notes…ON EVERYTHING!
ChatGPT est connu pour produire du contenu en un clin d'œil, et s'est avéré être un énorme gain de temps.
Pour le contenu déjà écrit, ChatGPT peut également nous faire gagner du temps en nous aidant à digérer de longs textes tortueux.
Il peut résumer des livres, des films, des pièces de théâtre, des articles et bien plus encore. Avec ChatGPT, c'est comme avoir un Cliff's Notes... SUR TOUT !

## Summarizing from Scratch
## Résumer à partir de zéro

Sometimes, you can ask ChatGPT to summarize famous works without pasting in any additional text, since ChatGPT knows the works so well. For example, you can ask it to summarize “Romeo & Juliet” by act. So, instead of slogging through the 24,000 words of the play, you can get the gist in 300 or less.
Parfois, vous pouvez demander à ChatGPT de résumer des œuvres célèbres sans coller de texte supplémentaire, car ChatGPT connaît si bien ces œuvres. Par exemple, vous pouvez lui demander de résumer "Roméo et Juliette" acte par acte. Ainsi, au lieu de vous battre avec les 24 000 mots de la pièce, vous pouvez en saisir l'essentiel en 300 mots ou moins.

<div style={{ textAlign: "left" }}>
<Image
Expand All @@ -19,14 +22,14 @@ Sometimes, you can ask ChatGPT to summarize famous works without pasting in any
/>
</div>

Although you could instead look up a summary, ChatGPT can tailor the content to your needs. Maybe you really like Football, so you could as ChatGPT to
“Give me a 100 word summary of ‘Romeo and Juliet’ in American football terms.”
Bien que vous puissiez chercher un résumé ailleurs, ChatGPT peut adapter le contenu à vos besoins. Peut-être aimez-vous beaucoup le football américain, vous pourriez donc demander à ChatGPT de
"Me donner un résumé de 100 mots de 'Roméo et Juliette' en termes de football américain."

## Working With Long Blocks of Texts: Copy & Paste!
## Travailler avec de longs blocs de texte : Copier & Coller !

You can ask ChatGPT to summarize or create an outline of the text and TL;DR the whole thing. All you have to do is copy and paste the specific text into the prompt. (You can include up to 2,500 words. If the work is longer than that, you will have to break it into chunks.)
Ask for a simplified summary of chosen text by writing, “Summarize this for me like I'm 5 years old: [PASTE TEXT HERE]”
This one is a summary “for a 5-year old” from a section of Wikipedia’s entry on “[quantum entanglement](https://en.wikipedia.org/wiki/Quantum_entanglement#:~:text=vte-,Quantum%20entanglement,-is%20the%20phenomenon)”.
Vous pouvez demander à ChatGPT de résumer ou de créer un plan du texte et de faire un TL;DR ("Too Long; Didn't Read", qui veut dire : trop long ; pas lu) de l'ensemble. Tout ce que vous avez à faire est de copier et coller le texte spécifique dans le prompt. (Vous pouvez inclure jusqu'à 2 500 mots. Si l'œuvre est plus longue que cela, vous devrez la diviser en morceaux.)
Demandez un résumé simplifié du texte choisi en écrivant : "Résumez ceci pour moi comme si j'avais 5 ans : [COLLER LE TEXTE ICI]"
Voici un résumé "pour un enfant de 5 ans" d'une section de l'article Wikipédia sur "[l'intrication quantique](https://fr.wikipedia.org/wiki/Intrication_quantique)".

<div style={{ textAlign: "left" }}>
<Image
Expand All @@ -37,9 +40,9 @@ This one is a summary “for a 5-year old” from a section of Wikipedia’s ent
/>
</div>

In addition to summaries, you can also ask ChatGPT to write outlines for blocks of text. Sometimes it’s better to have an outline so that you can see the thread or framework of the whole article.
You also just need to copy and paste the text you want outlined into your prompt.
The following is ChatGPT’s outline on the Wikipedia page on “rope,” specifically on the history of [rope](https://en.wikipedia.org/wiki/Rope#:~:text=to%20pull%20ropes.-,History,-Ancient%20Egyptians%20were).
En plus des résumés, vous pouvez également demander à ChatGPT de rédiger des plans pour des blocs de texte. Parfois, il est préférable d'avoir un plan pour que vous puissiez voir le fil conducteur ou la structure de l'article entier.
Vous n'avez qu'à copier et coller le texte que vous souhaitez structurer dans votre prompt.
Voici le plan de ChatGPT sur la page Wikipédia sur la "corde", spécifiquement sur l'histoire de la [corde](https://en.wikipedia.org/wiki/Rope#:~:text=to%20pull%20ropes.-,History,-Ancient%20Egyptians%20were).

<div style={{ textAlign: "left" }}>
<Image
Expand All @@ -59,6 +62,6 @@ The following is ChatGPT’s outline on the Wikipedia page on “rope,” specif
/>
</div>

We’ve just covered some of the very basics of using ChatGPT to handle long texts. There are many more ways to use ChatGPT to summarize and outline texts!
Nous venons de couvrir quelques-unes des bases de l'utilisation de ChatGPT pour gérer de longs textes. Il existe de nombreuses autres façons d'utiliser ChatGPT pour résumer et structurer des textes !

By [languagenoodle](https://twitter.com/languagenoodle).
Par [languagenoodle](https://twitter.com/languagenoodle).
38 changes: 19 additions & 19 deletions (docs)/fr/docs/basic_applications/writing_in_diff_voices/page.mdx
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
export const metadata = {
sidebar_position: 60,
title: "🟢 Different Writing Styles",
title: "🟢 Différents Styles d'Écriture",
};

# 🟢 Different Writing Styles
# 🟢 Différents styles d'écriture

AIs like [ChatGPT](https://chat.openai.com/chat) are known for crafting essays and blog articles in a heartbeat. But often, the articles they produce are generic and dry. You need to do something extra to give the words some spirit or pizzazz.
One of the fastest ways to do that is to specify a writing style or naming a famous author in the prompt.
Les IA comme [ChatGPT](https://chat.openai.com/chat) sont connues pour rédiger des essais et des articles de blog en un instant. Mais souvent, les articles qu'elles produisent sont génériques et sans saveur. Vous devez faire quelque chose de plus pour donner de l'esprit ou du piquant aux mots.
L'une des façons les plus rapides de le faire est de spécifier un style d'écriture ou de nommer un auteur célèbre dans le prompt.

Say you want a paragraph on the importance of friendship.
A generic prompt like, “Write me a paragraph on the importance of friendship,” will yield a generic response from ChatGPT.
Disons que vous voulez un paragraphe sur l'importance de l'amitié.
Un prompt générique comme "Écrivez-moi un paragraphe sur l'importance de l'amitié" donnera une réponse générique de ChatGPT.

<div style={{ textAlign: "center" }}>
<Image
Expand All @@ -20,8 +20,8 @@ A generic prompt like, “Write me a paragraph on the importance of friendship,
/>
</div>

Blah. It’s so bland.
Results change when you add specifications, like “**Please write in an informal, conversational style.** ChatGPT comes up with something like this:
Bof. C'est tellement fade.
Les résultats changent lorsque vous ajoutez des spécifications, comme "**Veuillez écrire dans un style informel et conversationnel.**" ChatGPT propose alors quelque chose comme ceci :

<div style={{ textAlign: "center" }}>
<Image
Expand All @@ -32,9 +32,9 @@ Results change when you add specifications, like “**Please write in an informa
/>
</div>

That’s a little better.
C'est un peu mieux.

And if you feel a little fancy, you can ask ChatGPT to write in the style of one of the literary greats, like Mark Twain:
Et si vous vous sentez un peu sophistiqué, vous pouvez demander à ChatGPT d'écrire dans le style de l'un des grands écrivains, comme Mark Twain :

<div style={{ textAlign: "center" }}>
<Image
Expand All @@ -45,8 +45,8 @@ And if you feel a little fancy, you can ask ChatGPT to write in the style of one
/>
</div>

The text now is starting to sing.
But it doesn’t have to be a famous author. You can use well-known individuals as well—like Chris Rock.
Le texte commence maintenant à chanter.
Mais il ne doit pas nécessairement s'agir d'un auteur célèbre. Vous pouvez également utiliser des personnalités bien connues, comme Chris Rock.

<div style={{ textAlign: "center" }}>
<Image
Expand All @@ -57,7 +57,7 @@ But it doesn’t have to be a famous author. You can use well-known individuals
/>
</div>

Or how about those “millennials?
Ou que diriez-vous de ces "millennials" ?

<div style={{ textAlign: "center" }}>
<Image
Expand All @@ -68,11 +68,11 @@ Or how about those “millennials”?
/>
</div>

## Copy Your Writing Style
## Copiez votre style d'écriture

What if you want GPT-3 to write an email or blog in **your** style?
Et si vous vouliez que GPT-3 écrive un courriel/e-mail ou un blog dans **votre** style ?

Simply showing it some previous content that you have written is enough. Here is an example, where we show GPT-3 some emails 'Dr. Rodriguez' has written in the past, and ask it to write a new email in the same style to a new patient, Mr. Inuez.
Il suffit simplement de lui montrer du contenu que vous avez écrit précédemment. Voici un exemple, où nous montrons à GPT-3 quelques e-mails que le 'Dr. Rodriguez' a écrits dans le passé, et lui demandons d'écrire un nouvel e-mail dans le même style à un nouveau patient, M. Inuez.

<iframe
src="https://embed.learnprompting.org/embed?config=eyJ0b3BQIjoxLCJ0ZW1wZXJhdHVyZSI6MC43LCJtYXhUb2tlbnMiOjI1Niwib3V0cHV0IjoiU3ViamVjdCAtIENoZWNrdXAgQXBwb2ludG1lbnRcblxuRGVhciBNci4gSW51ZXosXG5cbkkgaG9wZSB0aGlzIG1lc3NhZ2UgZmluZHMgeW91IHdlbGwuIEkgYW0gd3JpdGluZyB0byBpbnF1aXJlIGlmIE9jdG9iZXIgNXRoLCAyMDIzIHdvcmtzIGZvciBhIGNoZWNrdXAgYXBwb2ludG1lbnQgd2l0aCBtZSwgRHI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50XG5cbkRlYXIgTWFyayxcblxuSSB3YW50ZWQgdG8gZm9sbG93IHVwIHdpdGggeW91IGFmdGVyIG91ciBsYXN0IGFwcG9pbnRtZW50IGFuZCBzZWUgaG93IHlvdSBhcmUgZmVlbGluZy4gSWYgeW91IGFyZSBzdGlsbCBleHBlcmllbmNpbmcgYW55IGJhY2sgcGFpbiBvciBoYXZlIGFueSBuZXcgY29uY2VybnMsIHBsZWFzZSBsZXQgbWUga25vdyBzbyB3ZSBjYW4gZGlzY3VzcyB0aGVtIGR1cmluZyB5b3VyIHVwY29taW5nIGFwcG9pbnRtZW50LlxuXG5Zb3VyIG5leHQgYXBwb2ludG1lbnQgaXMgc2NoZWR1bGVkIGZvciBKdW5lIDE1dGgsIDIwMjMgYXQgMTA6MDAgYW0gYXQgQ2l0eSBIZWFsdGggQ2xpbmljLiBQbGVhc2UgbGV0IHVzIGtub3cgaWYgeW91IG5lZWQgdG8gcmVzY2hlZHVsZSBvciBjYW5jZWwuXG5cblRha2UgY2FyZSxcbkRyLiBSb2RyaWd1ZXpcblxuV3JpdGUgYW4gZW1haWwgaW4gdGhlIHN0eWxlIG9mIHRoZSBhYm92ZSBlbWFpbHMgdG8gYSBNci4gSW51ZXosIGFza2luZyBpZiBPY3RvYmVyIDV0aCwgMjAyMyB3b3JrcyBmb3IgYSBjaGVja3VwIGFwcG9pbnRtZW50OiIsIm1vZGVsIjoidGV4dC1kYXZpbmNpLTAwMyJ9"
Expand All @@ -87,6 +87,6 @@ Simply showing it some previous content that you have written is enough. Here is
></iframe>

<br />
You can input any text you have written in the past (emails, reports, blogs, etc.),
and GPT-3/ChatGPT will usually be able to copy your style. The more text you put,
the better it can copy your style.
Vous pouvez saisir n'importe quel texte que vous avez écrit dans le passé (e-mails,
rapports, blogs, etc.), et GPT-3/ChatGPT sera généralement capable de copier votre
style. Plus vous fournissez de texte, mieux il pourra reproduire votre style.
Loading
Loading