3 ms·
instructor-go is a port of the popular Python package https://github.com/jxnl/instructor https://github.com/jxnl/instructor. This implementation uses `jsonsche
by h0rv 2y ago
instructor-go is a port of the popular Python package https://github.com/jxnl/instructor https://github.com/jxnl/instructor.
This implementation uses `jsonschema` and Go struct tags to send data and schema information to the model to return the appropriate response schema.
Currently, OpenAI and Anthropic are supported, and you can see all examples of different capabilities here: https://github.com/instructor-ai/instructor-go/tree/main/examples https://github.com/instructor-ai/instructor-go/tree/main/exa....
This is in early development and would love some feedback.
Thanks for checking it out!