Prompt compression
Prompt compression is a strategy falling under the broader category of optimizing prompts. Your goal is to reduce costs while keeping the response as good as possible. The LLM that you are using charges based on token count. You have the option of two different prompts, which you can try out in the simulator. Which option would you choose?
Cet exercice fait partie du cours
LLMOps Concepts
Exercice interactif pratique
Passez de la théorie à la pratique avec l’un de nos exercices interactifs
