UNPKG

@ai-sdk/groq

Version:

The **[Groq provider](https://ai-sdk.dev/providers/ai-sdk-providers/groq)** for the [AI SDK](https://ai-sdk.dev/docs) contains language model support for the Groq chat and completion APIs, transcription support, and browser search tool.

10 lines (8 loc) 283 B
import type { FetchFunction } from '@ai-sdk/provider-utils'; export type GroqConfig = { provider: string; url: (options: { modelId: string; path: string }) => string; headers?: () => Record<string, string | undefined>; fetch?: FetchFunction; generateId?: () => string; };