@fancyrobot/fred-groq
v4.0.0
Published
Groq provider for Fred AI framework
Readme
@fancyrobot/fred-groq
Groq provider for Fred AI framework.
See the Phase 68 migration matrix for the compatible core and Effect AI lines.
Installation
bun add @fancyrobot/[email protected] \
@fancyrobot/[email protected] effect@^3.21.5 \
@effect/ai@^0.35.0 @effect/platform@^0.96.0Setup
Set your API key:
export GROQ_API_KEY=your-api-keyUsage
Auto-Registration
Import the package to auto-register the provider:
import '@fancyrobot/fred-groq';This is the recommended approach -- the provider registers itself when imported.
Programmatic
import { createFred } from '@fancyrobot/fred';
import '@fancyrobot/fred-groq';
const fred = await createFred();
await fred.providers.use('groq');Config File (YAML)
providers:
- id: groq
type: groqAgent File (.md)
---
id: my-agent
platform: groq
model: llama-3.3-70b-versatile
---
You are a helpful assistant.Supported Models
See Groq documentation for available models.
Related
- Fred core -- main framework documentation
- All packages -- monorepo overview
License
MIT
