sdk

module
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2026 License: Apache-2.0

Directories

Path Synopsis
adapters
gemini
Package gemini implements v1.Translator for the Google Gemini generateContent / streamGenerateContent wire shape (v1beta).
Package gemini implements v1.Translator for the Google Gemini generateContent / streamGenerateContent wire shape (v1beta).
Package catalog is the pure SDK view of the public relay catalog: embedded host/bindings/pricing data plus model-ref resolution and per-binding cost.
Package catalog is the pure SDK view of the public relay catalog: embedded host/bindings/pricing data plus model-ref resolution and per-binding cost.
Package client is a thin Go client that speaks the relay canonical shape (sdk/v1).
Package client is a thin Go client that speaks the relay canonical shape (sdk/v1).
Package host is the public, read-only discovery view of a serving endpoint: its base URL, display metadata, and the slugs of the models it serves.
Package host is the public, read-only discovery view of a serving endpoint: its base URL, display metadata, and the slugs of the models it serves.
internal
graph
Package graph is the SDK's internal catalog-discovery graph: a denormalized, cross-linked view of the embedded catalog (models, the hosts that serve them, and the providers that author them) built once from sdk/catalog.
Package graph is the SDK's internal catalog-discovery graph: a denormalized, cross-linked view of the embedded catalog (models, the hosts that serve them, and the providers that author them) built once from sdk/catalog.
Package model is the public, read-only discovery view of a catalogued model: its identity, capabilities, the provider that authored it, and the hosts that serve it.
Package model is the public, read-only discovery view of a catalogued model: its identity, capabilities, the provider that authored it, and the hosts that serve it.
Package oauth provides minimal, vendor-neutral OAuth 2.0 flow helpers for acquiring and refreshing provider credentials.
Package oauth provides minimal, vendor-neutral OAuth 2.0 flow helpers for acquiring and refreshing provider credentials.
Package provider is the public, read-only discovery view of a model author (the vendor): its display metadata and the slugs of the models it authors.
Package provider is the public, read-only discovery view of a model author (the vendor): its display metadata and the slugs of the models it authors.
Package v1 defines the relay's canonical protocol — the wire-neutral internal representation that all vendor adapters translate to and from.
Package v1 defines the relay's canonical protocol — the wire-neutral internal representation that all vendor adapters translate to and from.

Jump to

Keyboard shortcuts

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