Groq accelerates LLM inference with its ultra-fast Language Processing Unit (LPU) that powers Groq Cloud. Explore the Groq docs to get started with their developer console.
Make sure to call agentops.init before calling any openai, cohere, crew, etc models.
from groq import Groqimport agentopsagentops.init(<INSERT YOUR API KEY HERE>)client = Groq(api_key="your_api_key")# Your code here...agentops.end_session('Success')
Set your API key as an .env variable for easy access.
AGENTOPS_API_KEY=<YOUR API KEY>GROQ_API_KEY=<YOUR OPENAI API KEY>