Skip to main content

Overview

Google offers Gemini models which perform well in benchmarks. Supported modes:
  • Instructor markdown-JSON fallback - fallback mode
  • native JSON object response_format - recommended
  • tool calling - supported
Here’s how you can use Instructor with Gemini API.