Skip to main content
Use Instructor with the OpenAI-compatible API.

Configure the OpenAI-compatible Instructor Client with VLM Run

Set base_url and api_key the same way as OpenAI Compatibility.

1. Chat Completion with Instructor

2. Guided Chat Completion with Instructor

The first request treats the JSON schema as an instruction only. Pass the json_schema extra body parameter to enforce that schema.