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?
This exercise is part of the course
LLMOps Concepts
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
