4 ms·
instructor-go – Structured LLM Outputs in Go
- h0rv 2y agoinstructor-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!
- HarleyX 2y ago[dead]