

# Glossary
<a name="glossary"></a>
+ **Large language model (LLM):** A language model that's capable of general-purpose tasks such as language generation, reasoning, and classification.
+ **Retrieval-augmented generation (RAG):** A method for retrieving domain knowledge that's relevant to a user query from a knowledge store and inserting it into a language model prompt. RAG improves the factual accuracy of model generations because the prompt includes domain knowledge. For more information, see [What Is RAG?](https://aws.amazon.com/what-is/retrieval-augmented-generation/) on the AWS website.
+ **Prompt engineering:** The practice of crafting and optimizing input prompts by selecting appropriate words, phrases, sentences, punctuation, and separator characters to effectively use LLMs for a wide variety of applications. For more information, see [What is prompt engineering?](https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-prompt-engineering.html) in the Amazon Bedrock documentation and the [Prompt Engineering Guide](https://www.promptingguide.ai/) by DAIR.AI.
+ **Prompt injection attack:** Manipulating prompts to influence LLM outputs, with the objective of introducing biases or harmful outcomes. For more information, see [Prompt Injection](https://learnprompting.org/docs/prompt_hacking/injection) in the *Prompt Engineering Guide*.