Prompt engineering for text generation: Difference between revisions

Line 21: Line 21:


===Context (External Information)===
===Context (External Information)===
Context or external information is the additional information for the model that might not exist in the model. They can be manually inserted into the prompt, retrieved via a vector database ([[retrieval augmentation]]), or gathered from other sources such as [[APIs]].


===Example(s)===
===Example(s)===
370

edits