int

module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2026 License: MIT

README

Intelligence resources

res/int is the reusable intelligence module. Its packages define portable contracts and bounded mechanisms; applications choose providers, models, credentials, roots, and authorization policy.

Package Scope
model Verified local model bundles, tensors, and native backends
inference Generation, embeddings, transcription, speech, and provider contracts
perception Multimodal findings and image observations
realtime Duplex model session and event contracts

The wire contracts remain versioned independently of Go import paths. Go hosts and guests use bridges in pkg/ext-go; other languages can implement the same JSON contracts through the Ext plugin engine.

The previous res/ml and res/inference Go modules are combined into this module. Their packages are now res/int/model and res/int/inference; the existing model.tensor/v1, inference.provider/v1, and content.model/v1 wire names remain stable. CTN owns its verified file catalog in src/ctn/internal/content; it is private product code and does not require an intelligence provider.

Product-specific provider wire mappings belong in adapters/. The plugin engine owns package integrity and trust mechanics. CTN selects installed providers, explicit models, roots, credentials, and user-facing workflows.

Directories

Path Synopsis
Package inference embedding types define embedding requests and responses.
Package inference embedding types define embedding requests and responses.
mladapter
Package mladapter adapts res/int/model (low-level tensor inference) into res/int/inference (high-level generation, embeddings, transcription, synthesis).
Package mladapter adapts res/int/model (low-level tensor inference) into res/int/inference (high-level generation, embeddings, transcription, synthesis).
Package ml inference defines bounded, transport-free interfaces for running on-device models through a caller-selected provider.
Package ml inference defines bounded, transport-free interfaces for running on-device models through a caller-selected provider.
Package perception defines transport-free content interpretation and image observation contracts.
Package perception defines transport-free content interpretation and image observation contracts.
Package realtime defines explicit duplex model sessions.
Package realtime defines explicit duplex model sessions.

Jump to

Keyboard shortcuts

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