framework

package module
v1.3.19 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2026 License: Apache-2.0 Imports: 1 Imported by: 3

Documentation

Overview

Package framework provides a list of dependencies that are required for the framework to work.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FrameworkConfig added in v1.1.8

type FrameworkConfig struct {
	Pricing *modelcatalog.Config `json:"pricing,omitempty"`
}

FrameworkConfig represents the configuration for the framework.

type FrameworkDependency

type FrameworkDependency string

FrameworkDependency is a type that represents a dependency of the framework.

const (
	// FrameworkDependencyVectorStore indicates the framework requires a VectorStore implementation.
	FrameworkDependencyVectorStore FrameworkDependency = "vector_store"
	// FrameworkDependencyConfigStore indicates the framework requires a ConfigStore implementation.
	FrameworkDependencyConfigStore FrameworkDependency = "config_store"
	// FrameworkDependencyLogsStore indicates the framework requires a LogsStore implementation.
	FrameworkDependencyLogsStore FrameworkDependency = "logs_store"
)

Directories

Path Synopsis
Package configstore provides a persistent configuration store for Bifrost.
Package configstore provides a persistent configuration store for Bifrost.
tables
Package tables contains the database tables for the configstore.
Package tables contains the database tables for the configstore.
Package encrypt provides reversible AES-256-GCM encryption and decryption utilities for securing sensitive data like API keys and credentials.
Package encrypt provides reversible AES-256-GCM encryption and decryption utilities for securing sensitive data like API keys and credentials.
Package featureflags provides a process-wide boolean toggle registry with layered configuration sources (code default, configstore DB, config.json file) and an optional SyncDelegate hook for cluster gossip.
Package featureflags provides a process-wide boolean toggle registry with layered configuration sources (code default, configstore DB, config.json file) and an optional SyncDelegate hook for cluster gossip.
Package logstore provides a logs store for Bifrost.
Package logstore provides a logs store for Bifrost.
Package mcp_headers implements schemas.MCPHeadersProvider against the configstore.
Package mcp_headers implements schemas.MCPHeadersProvider against the configstore.
Package modelcatalog composes three subpackages — datasheet (pricing + model parameters + capabilities), live (per-(provider, keyID) list-models cache), and keyconfig (per-provider allow/block/aliases derived from keys) — into the ModelCatalog facade that consumers (governance, telemetry, logging, server, etc.) use.
Package modelcatalog composes three subpackages — datasheet (pricing + model parameters + capabilities), live (per-(provider, keyID) list-models cache), and keyconfig (per-provider allow/block/aliases derived from keys) — into the ModelCatalog facade that consumers (governance, telemetry, logging, server, etc.) use.
datasheet
Package pricing owns the pricing/model-parameters catalog (compartments A + B + E): canonical pricing rows fetched from the upstream datasheet, per-provider datasheet-derived model views, supported request types and parameters, and scoped pricing overrides.
Package pricing owns the pricing/model-parameters catalog (compartments A + B + E): canonical pricing rows fetched from the upstream datasheet, per-provider datasheet-derived model views, supported request types and parameters, and scoped pricing overrides.
keyconfig
Package keyconfig caches per-key configuration (allowed/blacklisted models, aliases) for every configured provider.
Package keyconfig caches per-key configuration (allowed/blacklisted models, aliases) for every configured provider.
live
Package live caches the response of provider /v1/models calls per (provider, keyID, unfiltered).
Package live caches the response of provider /v1/models calls per (provider, keyID, unfiltered).
Package objectstore provides an S3-compatible object storage abstraction.
Package objectstore provides an S3-compatible object storage abstraction.
Package plugins provides a framework for dynamically loading and managing plugins
Package plugins provides a framework for dynamically loading and managing plugins
Package queryscope provides the primitive that wrappers use to push a per-call SQL constraint onto the request context for inner stores to consume.
Package queryscope provides the primitive that wrappers use to push a per-call SQL constraint onto the request context for inner stores to consume.
Package streaming provides functionality for accumulating streaming chunks and other chunk-related workflows
Package streaming provides functionality for accumulating streaming chunks and other chunk-related workflows
Package tracing provides distributed tracing infrastructure for Bifrost
Package tracing provides distributed tracing infrastructure for Bifrost
Package vectorstore provides a generic interface for vector stores.
Package vectorstore provides a generic interface for vector stores.

Jump to

Keyboard shortcuts

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