Groq¶
Setup¶
Get your API key from the Groq Console, and export it as an environment variable:
Examples¶
from toolfront import Database
db = Database("postgresql://user:pass@host/db")
# Latest Llama 3.3 70B version
result = db.ask(..., model="groq:llama-3.3-70b-versatile")
Groq Model Names
Always specify a Groq model with the groq:
prefix.