groq

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package groq provides a provider implementation for Groq's API.

Groq uses an OpenAI-compatible API, so this is a thin wrapper around openai_compatible with the correct base URL.

Basic usage:

provider, _ := groq.New("gsk_your-key")
proxy := llmproxy.NewProxy(provider)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(apiKey string) (*openai_compatible.Provider, error)

New creates a new Groq provider with the given API key. The provider is configured to use Groq's API endpoint (https://api.groq.com/openai).

Example:

provider, _ := groq.New("gsk_your-groq-api-key")

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL