Judgment Labs Logo
Model Providers

Groq Integration

If you use Groq models within your application, you can trace, monitor, and analyze them with Judgment using GroqInstrumentor.

OpenTelemetry

from judgeval import Tracer
# Make sure you installed the dependency: opentelemetry-instrumentation-groq
from opentelemetry.instrumentation.groq import GroqInstrumentor

Tracer.init(project_name="groq_project")
Tracer.registerOTELInstrumentation(GroqInstrumentor())

Groq uses an OpenAI-compatible API, so you can also use the OpenAI SDK with Groq's base URL and trace it using the OpenAI integration.

On this page