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. |
|
citationsupport
Package citationsupport assesses claims against the exact excerpts used for synthesis.
|
Package citationsupport assesses claims against the exact excerpts used for synthesis. |
|
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. |
|
credential
Package credential reads bounded local credential material and compact JWT data.
|
Package credential reads bounded local credential material and compact JWT data. |
|
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. |
|
embeddinginput
Code generated from the Unicode 16.0.0 DerivedGeneralCategory and PropList data.
|
Code generated from the Unicode 16.0.0 DerivedGeneralCategory and PropList data. |
|
evaluation
Package evaluation defines the purpose-written, versioned evidence fixture shared by the staging diagnostic and the evaluation executable.
|
Package evaluation defines the purpose-written, versioned evidence fixture shared by the staging diagnostic and the evaluation executable. |
|
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, Bedrock Converse calls and an OpenAI-compatible chat client.
|
Package llm provides synthesis routing, Bedrock Converse calls and an OpenAI-compatible chat client. |
|
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. |
|
ocr
Package ocr detects text in documents stored in S3.
|
Package ocr detects text in documents stored in S3. |
|
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. |
|
subjectauth
Package subjectauth verifies delegated access tokens against local trust data.
|
Package subjectauth verifies delegated access tokens against local trust data. |
|
testutil
Package testutil provides fixtures for service tests.
|
Package testutil provides fixtures for service tests. |
|
testutil/docxtest
Package docxtest builds WordprocessingML package fixtures.
|
Package docxtest builds WordprocessingML package fixtures. |
|
testutil/pgtest
Package pgtest provides empty PostgreSQL databases for tests.
|
Package pgtest provides empty PostgreSQL databases 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. |
|
wordprocessingml
Package wordprocessingml defines the schema identifiers used by Word packages.
|
Package wordprocessingml defines the schema identifiers used by Word packages. |
|
worker
Package worker processes durable ingestion jobs under renewable leases.
|
Package worker processes durable ingestion jobs under renewable leases. |
|
scripts
|
|
|
citationsupport
command
Command citationsupport reports whether held-out calibration meets the live gate.
|
Command citationsupport reports whether held-out calibration meets the live gate. |
|
cleanup
command
Package main deletes, inspects, quarantines and releases document identities, and performs the explicit activation of checkpointed deletion.
|
Package main deletes, inspects, quarantines and releases document identities, and performs the explicit activation of checkpointed deletion. |
|
evidenceeval
command
Command evidenceeval measures scoped retrieval against an opted-in deployment.
|
Command evidenceeval measures scoped retrieval against an opted-in deployment. |
|
fuzz
command
Command fuzz lists the Go fuzz targets in the root module.
|
Command fuzz lists the Go fuzz targets in the root module. |
|
grant-catalog
command
Command grant-catalog prepares the metadata schema or imports operator entitlements.
|
Command grant-catalog prepares the metadata schema or imports operator entitlements. |
|
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 stored vectors and original files with document ownership.
|
Package main reconciles stored vectors and original files with document ownership. |
|
reindex
command
Package main stages, verifies and activates vector generations without changing document identities.
|
Package main stages, verifies and activates vector generations without changing document identities. |
|
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. |
|
tools
|
|
|
imagecheck
command
Command imagecheck verifies the runtime image that `docker buildx build --output type=oci` writes.
|
Command imagecheck verifies the runtime image that `docker buildx build --output type=oci` writes. |
Click to show internal directories.
Click to hide internal directories.