Instructor
Last updated
Was this helpful?
Last updated
Was this helpful?
Instructor is a framework for extracting structured outputs from LLMs, available in & .
With Portkey, you can confidently take your Instructor pipelines to production and get complete observability over all of your calls + make them reliable - all with a 2 LOC change!
Let's now bring down the cost of running your Instructor pipeline with Portkey caching. You can just create a Config object where you define your cache setting:
You can write it raw, or use Portkey's Config builder and get a corresponding config id
. Then, just pass it while instantiating your OpenAI client:
Similarly, you can add , , , or settings to your Configs and make your Instructor requests robust & reliable.