Settings

Theme

instructor-go – Structured LLM Outputs in Go

github.com

5 points by h0rv · 2 comments

Reader

1 thread
h0rvOP

instructor-go is a port of the popular Python package 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/exa....

This is in early development and would love some feedback.

Thanks for checking it out!

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection