internal/

directory
v0.5.0 Latest Latest
Warning

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

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

Directories

Path Synopsis
Package app wires config, stores, embedders and indexers into the running service shared by the REST API, the MCP server and the CLI.
Package app wires config, stores, embedders and indexers into the running service shared by the REST API, the MCP server and the CLI.
Package config loads and validates the andino-kb YAML configuration.
Package config loads and validates the andino-kb YAML configuration.
Package inference holds the OpenAI-compatible clients: embeddings now, reranking in a later phase.
Package inference holds the OpenAI-compatible clients: embeddings now, reranking in a later phase.
Package mcpserver exposes the knowledge bases as MCP tools over streamable HTTP (stateless), the primary interface for coding agents and the andino agent-runtime.
Package mcpserver exposes the knowledge bases as MCP tools over streamable HTTP (stateless), the primary interface for coding agents and the andino agent-runtime.
Package ops provides health, readiness and Prometheus metrics endpoints.
Package ops provides health, readiness and Prometheus metrics endpoints.
Package pipeline orchestrates indexing: source listing, incremental manifest diff, extraction, chunking, embedding and transactional writes.
Package pipeline orchestrates indexing: source listing, incremental manifest diff, extraction, chunking, embedding and transactional writes.
chunk
Package chunk splits extracted documents into retrieval-sized pieces.
Package chunk splits extracted documents into retrieval-sized pieces.
extract
Package extract turns raw files into structured documents ready for chunking.
Package extract turns raw files into structured documents ready for chunking.
Package restapi exposes the knowledge bases over HTTP: search, document reads, agent writes, reindex jobs, health and metrics.
Package restapi exposes the knowledge bases over HTTP: search, document reads, agent writes, reindex jobs, health and metrics.
Package source defines where documents come from.
Package source defines where documents come from.
gitrepo
Package gitrepo is the git source: a repository shallow-cloned into a cache directory and kept fresh by polling.
Package gitrepo is the git source: a repository shallow-cloned into a cache directory and kept fresh by polling.
localdir
Package localdir is the filesystem source: a directory walked (and later watched) for indexable files.
Package localdir is the filesystem source: a directory walked (and later watched) for indexable files.
s3
Package s3 is the object-storage source: an S3 or S3-compatible bucket (MinIO, Ceph RGW) listed by poll and read on demand.
Package s3 is the object-storage source: an S3 or S3-compatible bucket (MinIO, Ceph RGW) listed by poll and read on demand.
Package store defines the storage provider interface for knowledge bases.
Package store defines the storage provider interface for knowledge bases.
pgvector
Package pgvector implements store.Store on PostgreSQL with the pgvector extension: tsvector full-text search for keyword retrieval, a pgvector (HNSW) index for dense retrieval, and Reciprocal Rank Fusion in Go.
Package pgvector implements store.Store on PostgreSQL with the pgvector extension: tsvector full-text search for keyword retrieval, a pgvector (HNSW) index for dense retrieval, and Reciprocal Rank Fusion in Go.
sqlite
Package sqlite implements the store.Store interface on a single SQLite file per knowledge base: FTS5 for keyword retrieval, and embeddings persisted as BLOBs served by an in-memory cosine KNN index (see vec.go).
Package sqlite implements the store.Store interface on a single SQLite file per knowledge base: FTS5 for keyword retrieval, and embeddings persisted as BLOBs served by an in-memory cosine KNN index (see vec.go).
storetest
Package storetest is a reusable conformance harness for store.Store implementations.
Package storetest is a reusable conformance harness for store.Store implementations.
Package testutil holds cross-package test fixtures.
Package testutil holds cross-package test fixtures.

Jump to

Keyboard shortcuts

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