Groq Tracing
Instrument LLM applications built with Groq using OpenInference and view traces in Arize.
Groq provides low latency and lightning-fast inference for AI models. OpenInference supports instrumenting Groq API calls, including role types such as system, user, and assistant messages, as well as tool use. Traces can be viewed in Arize. You can create a free GroqCloud account and generate a Groq API Key here to get started.
Launch Arize
To get started, sign up for a free Arize account and get your Space ID and API Key.
Install
API Key Setup
Set the GROQ_API_KEY
environment variable. You can obtain your API key from the Groq console.
Setup
Connect to Arize using the register
function and instrument the Groq client.
Run Groq
A simple Groq application that is now instrumented. The client will use the GROQ_API_KEY
from your environment.
Observe
Now that you have tracing setup, all invocations will be streamed to your Arize account for observability and evaluation.
Resources:
Last updated
Was this helpful?