Regrouper les retours clients en thèmes avec citations, grâce à l'IA
Un agent lit des réponses d'enquête et renvoie les principaux thèmes avec leur nombre et des citations mot pour mot.
- Fichiers
- Plafond de budget
Regardez une vraie exécution
Une vraie exécution du 7 oct. 2026, rejouée. Modèle : openai/gpt-6-luna.
- En file d'attentebudget de $0.03 réservé
- MicroVMmicroVM ready
- MicroVMworker started · shell off · web off
- Fichier
read feedback.txt - MicroVMmicroVM destroyed
- Réussie2 appels au modèle, 2,542 jetonsSortie enregistrée (en anglais)
{ "themes": [ { "name": "Dashboard and report speed", "sentiment": "positive", "count": 3, "response_numbers": [ 1, 9, 19 ], "quote": "Love the new dashboard, much faster than before." }, { "name": "Pricing and plan details", "sentiment": "negative", "count": 3, "response_numbers": [ 4, 13, 20 ], "quote": "Pricing is confusing, I cannot tell which plan includes API access." }, { "name": "Dark mode", "sentiment": "request", "count": 3, "response_numbers": [ 6, 10, 18 ], "quote": "Please add dark mode." }, { "name": "Support experience", "sentiment": "positive", "count": 2, "response_numbers": [ 3, 12 ], "quote": "Support answered in 10 minutes, great experience." }, { "name": "CSV export failures", "sentiment": "negative", "count": 2, "response_numbers": [ 2, 11 ], "quote": "Export to CSV keeps timing out on big reports." }, { "name": "Mobile app crashes", "sentiment": "negative", "count": 2, "response_numbers": [ 5, 14 ], "quote": "The mobile app crashes when I open reports." }, { "name": "Excel import failures", "sentiment": "negative", "count": 2, "response_numbers": [ 7, 17 ], "quote": "Importing contacts from Excel failed twice with no error message." }, { "name": "Finding and downloading invoices", "sentiment": "negative", "count": 2, "response_numbers": [ 8, 16 ], "quote": "Billing page is hard to find, I could not get my invoice." }, { "name": "Easy onboarding", "sentiment": "positive", "count": 1, "response_numbers": [ 15 ], "quote": "Onboarding was easy, I was running in 10 minutes." } ], "unthemed": [] } - Worker détruit$0.002898 facturé, $0.027102 libéré
Lancez-le vous-même
Ouvrez l'exemple dans le playground avec toute la requête déjà remplie. Il s'exécute sur votre propre compte, dans le budget indiqué, sur les mêmes systèmes d'exemple en lecture seule.
Budget pour cet exemple : $0.03
Fonctionnement
Chaque thème a un nombre d'occurrences et au moins une citation littérale, de sorte que chaque affirmation peut être vérifiée dans le fichier source. Les compliments et les plaintes sont séparés, et une réponse n'est comptée que dans un seul thème.
Ce que l'agent peut et ne peut pas faire
Les permissions font partie de la requête. Tout ce qui n'est pas listé ici n'est pas disponible pour l'exécution.
| Paramètre | Autorisé |
|---|---|
| Connexions | Aucune |
| Web | Désactivé |
| Shell | Désactivé |
| Fichiers | feedback.txt (lecture seule) |
| Rétention zéro des données | Désactivée : l'historique est conservé 30 jours |
| Budget | $0.03, un plafond strict |
| Délai | 60 secondes |
Les identifiants n'entrent jamais dans la machine : un broker les ajoute à chaque appel et impose les méthodes ci-dessus.
Le code
Voici la requête exacte envoyée par l'exemple. Définissez EPHEMERAL_API_KEY avec une clé de membre de votre organisation.
curl -X POST $EPHEMERAL_URL/v1/runs \
-H "Authorization: Bearer $EPHEMERAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d @request.jsonFichiers de la requête
Transmis en ligne, rien n'est donc importé au préalable. L'agent voit chacun comme un fichier en lecture seule.
feedback.txt
1. Love the new dashboard, much faster than before.
2. Export to CSV keeps timing out on big reports.
3. Support answered in 10 minutes, great experience.
4. Pricing is confusing, I cannot tell which plan includes API access.
5. The mobile app crashes when I open reports.
6. Please add dark mode.
7. Importing contacts from Excel failed twice with no error message.
8. Billing page is hard to find, I could not get my invoice.
9. The dashboard loads quickly now, nice work.
10. I would pay more for a dark theme, my eyes hurt at night.
11. CSV export is broken for anything over a few thousand rows.
12. Great support team, they fixed my issue same day.
13. Why does the Team plan cost so much more than Pro? The page does not explain it.
14. The app crashed on my phone again after the update.
15. Onboarding was easy, I was running in 10 minutes.
16. Could not find where to download invoices. Had to ask support.
17. Import from Excel silently drops rows with dates.
18. Dark mode please! The white background is too bright.
19. Reports are much faster, thank you.
20. Pricing page does not list the API limits for each plan.
Corps complet de la requête request.json
Le même corps, avec les fichiers en ligne.
{
"prompt": "feedback.txt holds 20 numbered customer comments. Group them into themes. Reply with one JSON object and nothing else: {\"themes\": [{\"name\": string, \"sentiment\": \"positive\"|\"negative\"|\"request\", \"count\": number, \"response_numbers\": number[], \"quote\": string}], \"unthemed\": number[]}. Every comment belongs to exactly one theme, so the counts add up to 20 together with unthemed. quote must be copied word for word from one of the theme's comments. Order themes by count, highest first.",
"files": [
{
"path": "feedback.txt",
"content": "1. Love the new dashboard, much faster than before.\n2. Export to CSV keeps timing out on big reports.\n3. Support answered in 10 minutes, great experience.\n4. Pricing is confusing, I cannot tell which plan includes API access.\n5. The mobile app crashes when I open reports.\n6. Please add dark mode.\n7. Importing contacts from Excel failed twice with no error message.\n8. Billing page is hard to find, I could not get my invoice.\n9. The dashboard loads quickly now, nice work.\n10. I would pay more for a dark theme, my eyes hurt at night.\n11. CSV export is broken for anything over a few thousand rows.\n12. Great support team, they fixed my issue same day.\n13. Why does the Team plan cost so much more than Pro? The page does not explain it.\n14. The app crashed on my phone again after the update.\n15. Onboarding was easy, I was running in 10 minutes.\n16. Could not find where to download invoices. Had to ask support.\n17. Import from Excel silently drops rows with dates.\n18. Dark mode please! The white background is too bright.\n19. Reports are much faster, thank you.\n20. Pricing page does not list the API limits for each plan.\n"
}
],
"shell": false,
"timeout_seconds": 60,
"max_cost_micros": 30000
}