# Prompt engineering | | **Prompt engineering** is the process of structuring text that can be interpreted and understood by a generative AI model. A prompt is natural language text describing the task that an AI should perform. | |-|-| | | wikipedia:: [Prompt engineering](https://en.wikipedia.org/wiki/Prompt_engineering) | - [fka/awesome-chatgpt-prompts · Datasets at Hugging Face](https://huggingface.co/datasets/fka/awesome-chatgpt-prompts) [[Emergence]] ## In-context learning ## Chain-of-thought ## [[Prompt engineering|RAG]] ## Text-to-text ## Text-to-image ## Text-to-video ## Issues - **Prompt injection** - **Social engineering** ## Inbox - Few-shot - Many-shot