# Prompt Engineering ## What is Prompt Engineering Writing clear instructions to guide an AI model to produce the desired response. ## Best practices See [[Prompt Engineering Best Practices]] ## Strategies See [[Prompt Engineering Strategies]] ## Concepts ### Tokens Common sequence of characters found in text Tokenization -> Token Ization ### Temperature The higher the "temperature", the more variable/creative the responses ### Top p (OpenAPI) Controls diversity. 0.5 means it's considered half the "pool" of available words ### Presence penalty Controls the likelihood of talking about new topics ### Frequence penalty Controls the likelihood of repeating the same line verbatim ## Related - [[Context Engineering]] - [[Harness Engineering]] - [[Intent Engineering]] - [[Prompt Engineering Best Practices]] - [[Prompt Engineering Strategies]]