SAMMO: A general-purpose framework for prompt optimization
![SAMMO optimizer diagram showing progression from starting prompt to optimized prompt.](https://www.microsoft.com/en-us/research/uploads/prodnew/2024/04/SAMMO-BlogHeroFeature-1400x788-1.jpg)
Large language models (LLMs) have revolutionized a wide range of tasks and applications that were previously reliant on manually crafted machine learning (ML) solutions, streamlining through automation. However, despite these advances, a notable challenge persists: the need for extensive prompt engineering to adapt these models to new tasks. New generations of language models like GPT-4 and Mixtral 8x7B advance the capability to process long input texts. This progress enables the use of longer inputs, providing richer context and detailed instructions to language models. A