groq-core-workflow-a

Featured

Execute Groq primary workflow: chat completions with tool use and JSON mode. Use when implementing chat interfaces, function calling, structured output, or building AI features with Groq's fast inference. Trigger with phrases like "groq chat completion", "groq tool use", "groq function calling", "groq JSON mode".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Groq Core Workflow A: Chat, Tools & Structured Output ## Overview Primary integration patterns for Groq: chat completions, tool/function calling, JSON mode, and structured outputs. Groq's LPU delivers sub-200ms time-to-first-token, making these patterns viable for real-time user-facing features. ## Prerequisites - `groq-sdk` installed, `GROQ_API_KEY` set - Understanding of Groq model capabilities ## Model Selection for This Workflow | Task | Recommended Model | Why | |------|------------------|-----| | Chat with tools | `llama-3.3-70b-versatile` | Best tool-calling accuracy | | JSON extraction | `llama-3.1-8b-instant` | Fast, accurate for structured tasks | | Structured outputs | `llama-3.3-70b-versatile` | Supports `strict: true` schema compliance | | Vision + chat | `meta-llama/llama-4-scout-17b-16e-instruct` | Multimodal input | ## Instructions ### Step 1: Chat Completion with System Prompt ```typescript import Groq from "groq-sdk"; const groq = new Groq(); async function chat(userMessage: string, history: any[] = []) { const messages = [ { role: "system" as const, content: "You are a concise technical assistant." }, ...history, { role: "user" as const, content: userMessage }, ]; const completion = await groq.chat.completions.create({ model: "llama-3.3-70b-versatile", messages, temperature: 0.7, max_tokens: 1024, }); return { reply: completion.choices[0].message.content, usage: completion.usage, }; } ``` ### Step...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

groq-hello-world

Create a minimal working Groq chat completion example. Use when starting a new Groq integration, testing your setup, or learning basic Groq API patterns. Trigger with phrases like "groq hello world", "groq example", "groq quick start", "simple groq code".

2,266 Updated today
jeremylongshore
AI & Automation Featured

groq-core-workflow-b

Execute Groq secondary workflows: audio transcription (Whisper), vision, text-to-speech, and batch model evaluation. Trigger with phrases like "groq whisper", "groq transcription", "groq audio", "groq vision", "groq TTS", "groq speech".

2,266 Updated today
jeremylongshore
AI & Automation Listed

groqcloud-automation

Automate AI inference, chat completions, audio translation, and TTS voice management through GroqCloud's high-performance API via Composio

62,564 Updated 1 weeks ago
ComposioHQ
AI & Automation Featured

groq-sdk-patterns

Apply production-ready Groq SDK patterns for TypeScript and Python. Use when implementing Groq integrations, refactoring SDK usage, or establishing team coding standards for Groq. Trigger with phrases like "groq SDK patterns", "groq best practices", "groq code patterns", "idiomatic groq".

2,266 Updated today
jeremylongshore
AI & Automation Featured

glean-core-workflow-a

Execute Glean primary workflow: search, chat, and AI-powered answers across enterprise data. Use when building search integrations, implementing Glean chat, or creating AI assistants. Trigger: "glean search API", "glean chat", "glean AI answers", "enterprise search".

2,266 Updated today
jeremylongshore