Directories
¶
| Path | Synopsis |
|---|---|
|
Package client provides a typed HTTP client for ingestion, queries and document management.
|
Package client provides a typed HTTP client for ingestion, queries and document management. |
|
cmd
|
|
|
quarry-mcp
command
Package main serves document tools to Model Context Protocol clients over stdio.
|
Package main serves document tools to Model Context Protocol clients over stdio. |
|
server
command
Package main is the entry point for the Quarry microservice.
|
Package main is the entry point for the Quarry microservice. |
|
internal
|
|
|
api
Package api assembles the HTTP router with all handlers and middleware.
|
Package api assembles the HTTP router with all handlers and middleware. |
|
api/handler
Package handler contains HTTP handler functions that translate between the transport layer and domain logic.
|
Package handler contains HTTP handler functions that translate between the transport layer and domain logic. |
|
api/middleware
Package middleware provides HTTP middleware for logging and recovery.
|
Package middleware provides HTTP middleware for logging and recovery. |
|
awsconf
Package awsconf configures shared AWS credentials and retries.
|
Package awsconf configures shared AWS credentials and retries. |
|
chunker
Package chunker splits raw documents into token-bounded chunks with semantic-boundary awareness.
|
Package chunker splits raw documents into token-bounded chunks with semantic-boundary awareness. |
|
cleanup
Package cleanup removes documents and their stored data.
|
Package cleanup removes documents and their stored data. |
|
config
Package config handles environment-based configuration loading and validation.
|
Package config handles environment-based configuration loading and validation. |
|
domain
Package domain defines the core data types shared across the RAG pipeline.
|
Package domain defines the core data types shared across the RAG pipeline. |
|
embedder
Package embedder provides embedding generation using AWS Bedrock Titan Embed V2.
|
Package embedder provides embedding generation using AWS Bedrock Titan Embed V2. |
|
extractor
Package extractor provides text extraction from various file formats.
|
Package extractor provides text extraction from various file formats. |
|
llm
Package llm provides synthesis routing and Bedrock Converse calls.
|
Package llm provides synthesis routing and Bedrock Converse calls. |
|
logctx
Package logctx correlates structured logs with HTTP requests.
|
Package logctx correlates structured logs with HTTP requests. |
|
metrics
Package metrics collects and writes Prometheus text metrics.
|
Package metrics collects and writes Prometheus text metrics. |
|
pipeline
Package pipeline implements the decomposed ingestion and retrieval pipeline as a sequence of discrete, composable stages.
|
Package pipeline implements the decomposed ingestion and retrieval pipeline as a sequence of discrete, composable stages. |
|
retriever
Package retriever implements LOCAL/GLOBAL adaptive retrieval using scoped vector search.
|
Package retriever implements LOCAL/GLOBAL adaptive retrieval using scoped vector search. |
|
store/memory
Package memory provides an in-memory domain.VectorStore implementation for GO_RAG_FAKE_MODE (offline QA).
|
Package memory provides an in-memory domain.VectorStore implementation for GO_RAG_FAKE_MODE (offline QA). |
|
store/pinecone
Package pinecone provides the Pinecone vector store client.
|
Package pinecone provides the Pinecone vector store client. |
|
store/postgres
Package postgres provides chunk metadata and document fingerprint storage.
|
Package postgres provides chunk metadata and document fingerprint storage. |
|
store/s3
Package s3 provides file storage using AWS S3.
|
Package s3 provides file storage using AWS S3. |
|
testutil/pgtest
Package pgtest starts disposable PostgreSQL containers for tests.
|
Package pgtest starts disposable PostgreSQL containers for tests. |
|
textutil
Package textutil provides text normalization helpers used by the ingestion pipeline.
|
Package textutil provides text normalization helpers used by the ingestion pipeline. |
|
tracing
Package tracing configures optional trace export and instruments service operations.
|
Package tracing configures optional trace export and instruments service operations. |
|
worker
Package worker processes durable ingestion jobs under renewable leases.
|
Package worker processes durable ingestion jobs under renewable leases. |
|
scripts
|
|
|
cleanup
command
Package main deletes the explicitly supplied document identifiers.
|
Package main deletes the explicitly supplied document identifiers. |
|
langeval
command
Lightweight evaluation harness comparing query outputs against a fixed representative set.
|
Lightweight evaluation harness comparing query outputs against a fixed representative set. |
|
reconcile
command
Package main reconciles vectors and legacy namespaces with stored documents.
|
Package main reconciles vectors and legacy namespaces with stored documents. |
|
simulate
command
Package main exercises document ingestion, filtering and deletion against a running service.
|
Package main exercises document ingestion, filtering and deletion against a running service. |
|
validate
command
Package main validates document retrieval queries against the live server.
|
Package main validates document retrieval queries against the live server. |
|
test
|
|
|
integration
Package integration exercises service boundaries and persistent storage.
|
Package integration exercises service boundaries and persistent storage. |
Click to show internal directories.
Click to hide internal directories.