01
1. Chiave API
Create a project and an API key for this project from the Aether app.
Crea una chiave API nel tuo account e invia la prima richiesta Compress con l'esempio HTTP funzionante seguente.
Conserva la chiave nell'ambiente server, invia una chiave operazione univoca e leggi data.compressed.
Create a project and an API key for this project from the Aether app.
Salva la chiave nel tuo ambiente server come AETHER_API_KEY senza scriverla nel codice sorgente.
Invia il contesto e la query aggiornata con la level: auto all'endpoint /v1/compress.
Sostituisci il campo data.compressed con l'input della chiamata LLM corrente.
Crea la tua chiave API, invia il tuo input e utilizza il contesto ottimizzato con il tuo fornitore di modelli attuale.
Apri i passaggi di installazione →curl -X POST "https://api.aether.tr/v1/compress" \
-H "Authorization: Bearer $AETHER_API_KEY" \
-H "Idempotency-Key: request-$(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"context": "Your long LLM input...",
"query": "Question to answer",
"level": "auto"
}'Contatta il nostro team per aggiungere Aether Compress al tuo flusso LLM attuale.