groq-data-handling
Installation
SKILL.md
Groq Data Handling
Overview
Manage data flowing through Groq's inference API. This skill wires a privacy pipeline around the Groq SDK: sanitize prompts before they are sent, filter responses after they return, redact PII, hash-log an audit trail, and track token usage and cost. Key fact: Groq does not use API data for model training (Groq Privacy Policy).
Prerequisites
- Node.js project with the
groq-sdkpackage installed (npm i groq-sdk). - A Groq API key exported as
GROQ_API_KEY. The SDK reads it automatically from the environment —new Groq()needs no explicit argument. Never hardcode the key; keep it in an untracked.envor your secret manager. - Node's built-in
cryptomodule (for the audit hash) — no install needed.