core

module
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2026 License: Apache-2.0

Directories

Path Synopsis
Package chat defines the serializable provider-neutral chat protocol and its minimal synchronous Model and optional Streamer capabilities.
Package chat defines the serializable provider-neutral chat protocol and its minimal synchronous Model and optional Streamer capabilities.
Package chatclient provides direct, optional conveniences around the minimal chat protocols and model capabilities defined by Core.
Package chatclient provides direct, optional conveniences around the minimal chat protocols and model capabilities defined by Core.
safeguard
Package safeguard provides fail-closed input and output screening as Core chat middleware.
Package safeguard provides fail-closed input and output screening as Core chat middleware.
Package document defines the canonical serializable Document content value shared by extraction, retrieval, and model-facing components.
Package document defines the canonical serializable Document content value shared by extraction, retrieval, and model-facing components.
Package embedding defines the stable text-to-vector protocol and its single-method provider SPI.
Package embedding defines the stable text-to-vector protocol and its single-method provider SPI.
Package embeddingclient provides direct conveniences around Core embedding models for callers that only need vectors.
Package embeddingclient provides direct conveniences around Core embedding models for callers that only need vectors.
Package history defines provider-neutral conversation history contracts and model middleware.
Package history defines provider-neutral conversation history contracts and model middleware.
inmemory
Package inmemory provides a zero-value-ready in-process history store.
Package inmemory provides a zero-value-ready in-process history store.
storetest
Package storetest provides reusable conformance checks for history stores.
Package storetest provides reusable conformance checks for history stores.
Package image defines the serializable image-generation protocol and its single-method Model capability.
Package image defines the serializable image-generation protocol and its single-method Model capability.
internal
ptr
Package ptr holds pointer helpers shared across Core's protocol packages.
Package ptr holds pointer helpers shared across Core's protocol packages.
Package jsonschema derives, parses, and validates JSON Schema contracts.
Package jsonschema derives, parses, and validates JSON Schema contracts.
Package media defines the serializable Media container shared by every modality that accepts non-text payloads.
Package media defines the serializable Media container shared by every modality that accepts non-text payloads.
Package metadata provides JSON-safe extension values for Core protocol types.
Package metadata provides JSON-safe extension values for Core protocol types.
Package modeltest provides reusable contract tests for implementations of Core model interfaces.
Package modeltest provides reusable contract tests for implementations of Core model interfaces.
Package moderation defines the serializable content-moderation protocol and its single-method Model capability.
Package moderation defines the serializable content-moderation protocol and its single-method Model capability.
Package speech defines the stable text-to-speech protocol and independent synchronous Model and optional Streamer provider capabilities.
Package speech defines the stable text-to-speech protocol and independent synchronous Model and optional Streamer provider capabilities.
Package tokenizer defines small, provider-neutral capabilities for counting and encoding text tokens.
Package tokenizer defines small, provider-neutral capabilities for counting and encoding text tokens.
Package tool defines the provider-neutral executable tool contract, its binding and authorization boundaries, typed function adapter, and instance-scoped registry.
Package tool defines the provider-neutral executable tool contract, its binding and authorization boundaries, typed function adapter, and instance-scoped registry.
Package transcription defines the serializable audio-to-text protocol and its single-method Model capability.
Package transcription defines the serializable audio-to-text protocol and its single-method Model capability.
Package vectorstore defines provider-neutral semantic indexing and search.
Package vectorstore defines provider-neutral semantic indexing and search.
filter
Package filter defines the stable metadata-filter expression vocabulary used by vector stores.
Package filter defines the stable metadata-filter expression vocabulary used by vector stores.
inmemory
Package inmemory provides an in-process vector store backed by a map and a configurable similarity function.
Package inmemory provides an in-process vector store backed by a map and a configurable similarity function.
storetest
Package storetest contains provider-independent contract tests for vector-store implementations and their filter visitors.
Package storetest contains provider-independent contract tests for vector-store implementations and their filter visitors.

Jump to

Keyboard shortcuts

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