groq-webhooks-events
Installation
SKILL.md
Groq Events & Async Patterns
Overview
Build event-driven architectures around Groq's ultra-fast LLM inference API. Groq does not provide native webhooks, but its sub-second response times at api.groq.com enable unique patterns: real-time streaming, batch processing with callbacks, and event-driven pipelines where Groq acts as the processing engine within your webhook infrastructure.
Prerequisites
- Groq API key stored in
GROQ_API_KEYenvironment variable - Groq SDK installed (
npm install groq-sdkorpip install groq) - Queue system for batch processing (BullMQ, Celery)
- Understanding of Groq model options (llama, mixtral, gemma)
Event Patterns
| Pattern | Trigger | Use Case |
|---|---|---|
| Streaming SSE | Client request | Real-time chat responses |
| Batch completion callback | Queue job finishes | Document processing pipeline |
| Webhook processor | Incoming webhook | Process events with Groq LLM |
| Health monitor | Scheduled check | API availability tracking |
Related skills