100% tevredenheidsgarantie Direct beschikbaar na je betaling Lees online óf als PDF Geen vaste maandelijkse kosten 4.2 TrustPilot
logo-home
Samenvatting

Summary Prompt engineering

Beoordeling
-
Verkocht
-
Pagina's
2
Geüpload op
25-07-2023
Geschreven in
2022/2023

What is Prompt and intuition behind prompts

Instelling
Vak








Oeps! We kunnen je document nu niet laden. Probeer het nog eens of neem contact op met support.

Gekoppeld boek

Geschreven voor

Vak

Documentinformatie

Heel boek samengevat?
Nee
Wat is er van het boek samengevat?
Chapter i
Geüpload op
25 juli 2023
Aantal pagina's
2
Geschreven in
2022/2023
Type
Samenvatting

Onderwerpen

Voorbeeld van de inhoud

what is Prompt? Intuition behind prompts

A prompt is a stimulus or input provided to a language model to initiate or guide its response
generation. It is the basis of communication between a user or system and the language model.
The intuition behind prompts lies in the fact that language models, such as GPT-3.5, are
powerful but contextually blind; they lack the knowledge of the preceding context, making them
highly sensitive to the initial input they receive.

By providing a well-crafted prompt, users or developers can effectively shape the behavior of the
language model and direct it towards desired outcomes. The goal of using prompts is to obtain
specific, relevant, and coherent responses from the language model for a given task or
application.

The intuition can be better understood through examples:

Question-Answering: If you want to use the language model as a question-answering system,
you would frame your input as a question in the prompt. For example:

Prompt: "What is the capital of France?"

Response: "The capital of France is Paris."

Translation: To utilize the model as a translation system, provide the text in one language as the
prompt:

Prompt: "Translate the following English text into French: 'Hello, how are you?'"

Response: "Bonjour, comment ça va ?"

Creative Writing: If you wish to generate creative content, you can start with a creative prompt:

Prompt: "Write a short story about a robot that learns to love."

Response: (a creatively generated story)

Code Completion: For programming tasks, you can set up the prompt to be a partial code
snippet that needs to be completed:

Prompt: "Complete the function to calculate the factorial of a number in Python: def
factorial(n):"

Response: (Python code completing the factorial function)
€7,01
Krijg toegang tot het volledige document:

100% tevredenheidsgarantie
Direct beschikbaar na je betaling
Lees online óf als PDF
Geen vaste maandelijkse kosten

Maak kennis met de verkoper
Seller avatar
ramakrishnatammineedi

Maak kennis met de verkoper

Seller avatar
ramakrishnatammineedi Published
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
0
Lid sinds
2 jaar
Aantal volgers
0
Documenten
5
Laatst verkocht
-

0,0

0 beoordelingen

5
0
4
0
3
0
2
0
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via Bancontact, iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo eenvoudig kan het zijn.”

Alisha Student

Veelgestelde vragen