Skip to main content
The Instructor integration provides structured output capabilities by dynamically extending the instructor.from_provider() method. This integration is needed until the provider system in Instructor supports entrypoints.
You must import the Anaconda AI Instructor integration module before using instructor.from_provider() with Anaconda models.
Here is a minimal setup example for using Instructor with Anaconda AI:
To use an already running server, use anaconda/server/<server-name>:
For more information on using Instructor, see the official documentation.