Your First ScaleDown Request
Step 1: Set Up Your Request
Here’s how to make your first API call to compress a prompt.- Python
- TypeScript
- JavaScript
Step 2: Configure Your Compression
Separate your context from your main prompt and set the compression rate to"auto" for the best results.
- Python
- TypeScript
- JavaScript
Step 3: Make the Request
With your request set up and configured, you can now execute the API call.- Python
- TypeScript
- JavaScript
