Instructor is a popular framework for extracting structured output from text using LLMs. Here’s how you can use Helicone to track your calls while using Instructor:

1

Follow useinstructor.com to get setup with Instructor's JS SDK.

2

Modify the base url and add a Helicone-Auth header

3

Call OpenAI using Instructor and see the logs on Helicone.