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?
Questo esercizio fa parte del corso
LLMOps Concepts
Esercizio pratico interattivo
Passa dalla teoria alla pratica con uno dei nostri esercizi interattivi
Inizia esercizio