Skip to main content

Overview

Groq provides low-latency inference for hosted open-weight models. Supported modes depend on the specific model, but generally include:
  • OutputMode::MdJson - fallback mode
  • OutputMode::Json - recommended
  • OutputMode::Tools - supported
Here’s how you can use Instructor with Groq API.

Example