Shared inference interfaces (TextModel, Backend, Token). Zero deps, compiles everywhere.
Message is used as a type alias by go-ml. Without json tags, HTTP backends that serialize messages to JSON (e.g. OpenAI API) would produce incorrect field names. Co-Authored-By: Virgil <virgil@lethean.io> |
||
|---|---|---|
| CLAUDE.md | ||
| discover.go | ||
| FINDINGS.md | ||
| go.mod | ||
| inference.go | ||
| options.go | ||
| README.md | ||
| TODO.md | ||
go-inference
Shared inference interfaces (TextModel, Backend, Token). Zero deps, compiles everywhere.