gollm

package module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

README

Scitrera LLM for Go

Provider-neutral LLM contracts and an HTTP client for Go, in one module:

Package Import path What it is
protocol github.com/scitrera/go-llm/protocol Request, response, streaming and usage types, translation codecs for five provider wire formats, and an embedding-codec registry
protocol/codec github.com/scitrera/go-llm/protocol/codec The codecs themselves: OpenAI Chat Completions and Responses, Anthropic Messages, Gemini GenerateContent, Amazon Bedrock Converse
client github.com/scitrera/go-llm/client Buffered and streaming execution over those types: backend configuration, retries, liveness deadlines, SigV4, Bedrock event-stream framing
go get github.com/scitrera/go-llm@latest

Versioning

versions.yaml is authoritative; sync-versions propagates the number to version.go, and the release workflow refuses a tag that disagrees with it. While below v1, a breaking exported-contract change increments the minor version.

License

Apache-2.0. See LICENSE and NOTICE.

Documentation

Overview

Package gollm is the root of a module holding two packages that are released together: github.com/scitrera/go-llm/protocol, the provider-neutral LLM request, response, streaming and translation contracts, and github.com/scitrera/go-llm/client, a buffered and streaming HTTP client built on them. Neither depends on anything outside the standard library.

This package itself declares only the module version.

Index

Constants

View Source
const Version = "0.2.0"

Version is the released version of this module, covering both the protocol and client packages. Kept in sync with versions.yaml by `sync-versions`, and checked against the release tag before a tag is published.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
Package llmclient provides provider-neutral buffered and streaming HTTP execution without importing gateway or agent-runtime concerns.
Package llmclient provides provider-neutral buffered and streaming HTTP execution without importing gateway or agent-runtime concerns.
Package llmprotocol defines provider-neutral LLM request, response, and streaming contracts.
Package llmprotocol defines provider-neutral LLM request, response, and streaming contracts.
codec
Package codec translates provider wire formats through llmprotocol's neutral representation.
Package codec translates provider wire formats through llmprotocol's neutral representation.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL