Directories
¶
| Path | Synopsis |
|---|---|
|
examples
|
|
|
embeddings
Package embeddings shows how to wire the local Ollama embedder (github.com/vmontagh/go-llm-pipeline/pkg/provider/ollama.Embedder) into the dependency-free github.com/vmontagh/go-llm-pipeline/pkg/vectorstore for a fully local-first semantic search and deduplication loop.
|
Package embeddings shows how to wire the local Ollama embedder (github.com/vmontagh/go-llm-pipeline/pkg/provider/ollama.Embedder) into the dependency-free github.com/vmontagh/go-llm-pipeline/pkg/vectorstore for a fully local-first semantic search and deduplication loop. |
|
pkg
|
|
|
analyzer
Package analyzer provides the Template Method and Builder patterns for LLM-based analysis.
|
Package analyzer provides the Template Method and Builder patterns for LLM-based analysis. |
|
doctor
Package doctor provides a reusable diagnostic engine that checks local environment readiness before batch LLM jobs.
|
Package doctor provides a reusable diagnostic engine that checks local environment readiness before batch LLM jobs. |
|
httputil
Package httputil contains small, protocol-level HTTP helpers that are independent of any business logic in this repository.
|
Package httputil contains small, protocol-level HTTP helpers that are independent of any business logic in this repository. |
|
llmvcr
Package llmvcr provides a productized VCR (record/replay) workflow for the standard Go http.Client instances used by LLM provider SDKs.
|
Package llmvcr provides a productized VCR (record/replay) workflow for the standard Go http.Client instances used by LLM provider SDKs. |
|
logger
Package logger provides helpers for creating *slog.Logger instances.
|
Package logger provides helpers for creating *slog.Logger instances. |
|
observ
Package observ provides functionality for observ.
|
Package observ provides functionality for observ. |
|
pipeline
Package pipeline provides foundational concurrency utilities used by the orchestrator: a generic worker-pool consumer and a dead-letter queue for failed pipeline events.
|
Package pipeline provides foundational concurrency utilities used by the orchestrator: a generic worker-pool consumer and a dead-letter queue for failed pipeline events. |
|
policy
Package policy holds the foundational, provider-agnostic retry/error taxonomy shared by every layer that needs to make routing decisions on a failure: the analyzer adapters, the orchestrator/tagger pipeline and the CLI composition root.
|
Package policy holds the foundational, provider-agnostic retry/error taxonomy shared by every layer that needs to make routing decisions on a failure: the analyzer adapters, the orchestrator/tagger pipeline and the CLI composition root. |
|
promptregistry
Package promptregistry treats LLM prompts as first-class, versioned, testable assets instead of inline string literals scattered across caller code.
|
Package promptregistry treats LLM prompts as first-class, versioned, testable assets instead of inline string literals scattered across caller code. |
|
provider
Package provider — keypool.go implements KeyPool, the concurrency-safe pool of API credentials with per-key cooldown semantics that the per-backend analyzer providers (openai, gemini, ollama) use to rotate keys on quota / rate-limit errors.
|
Package provider — keypool.go implements KeyPool, the concurrency-safe pool of API credentials with per-key cooldown semantics that the per-backend analyzer providers (openai, gemini, ollama) use to rotate keys on quota / rate-limit errors. |
|
provider/gemini
Package gemini implements the transport half of the analyzer Template Method using Google's Gemini models.
|
Package gemini implements the transport half of the analyzer Template Method using Google's Gemini models. |
|
provider/ollama
Package ollama implements the transport half of the analyzer Template Method using a locally running Ollama instance with a vision-capable model.
|
Package ollama implements the transport half of the analyzer Template Method using a locally running Ollama instance with a vision-capable model. |
|
provider/openai
Package openai implements the transport half of the analyzer Template Method for the OpenAI chat-completions API.
|
Package openai implements the transport half of the analyzer Template Method for the OpenAI chat-completions API. |
|
scrub
Package scrub provides text scrubbing utilities for redacting sensitive patterns from strings.
|
Package scrub provides text scrubbing utilities for redacting sensitive patterns from strings. |
|
semcache
Package semcache provides an optional, local-first semantic response cache that sits in front of provider calls and reuses prior responses for repeated or near-duplicate prompts.
|
Package semcache provides an optional, local-first semantic response cache that sits in front of provider calls and reuses prior responses for repeated or near-duplicate prompts. |
|
trace
Package trace provides tracing functionality.
|
Package trace provides tracing functionality. |
|
vcrtest
Package vcrtest provides a small testing.T-aware helper that backs a provider adapter's *http.Client with a named YAML cassette: recorded HTTP interactions are replayed offline by default, and recorded once against a real backend when a developer opts in.
|
Package vcrtest provides a small testing.T-aware helper that backs a provider adapter's *http.Client with a named YAML cassette: recorded HTTP interactions are replayed offline by default, and recorded once against a real backend when a developer opts in. |
|
vectorstore
Package vectorstore provides an optional, local-first, dependency-free toolkit for semantic similarity, deduplication, and basic clustering over caller-supplied embedding vectors.
|
Package vectorstore provides an optional, local-first, dependency-free toolkit for semantic similarity, deduplication, and basic clustering over caller-supplied embedding vectors. |
|
vectorstore/vectorstoretest
Package vectorstoretest provides a reusable conformance harness that verifies any Store implementation against the shared behavioral contract of the vectorstore package.
|
Package vectorstoretest provides a reusable conformance harness that verifies any Store implementation against the shared behavioral contract of the vectorstore package. |
Click to show internal directories.
Click to hide internal directories.