go-jina

Unofficial Go client for the Jina AI APIs, generated with oapi-codegen. Package jina (github.com/psyb0t/go-jina) calls api.jina.ai for embeddings, reranking, the model list, chat completions (document OCR) and batch embedding jobs; package jinareader (github.com/psyb0t/go-jina/reader) calls r.jina.ai to read a web page as markdown, text, HTML or JSON. Every endpoint is a typed ...WithResponse method on ClientWithResponses, auth is a bearer API key set through WithRequestEditorFn, and responses decode into JSON200 and per-status error fields. Use when Go code needs Jina embeddings, a reranker or the Reader API, or already imports go-jina.

Install

openclaw skills install @psyb0t/go-jina