examples/

directory
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2026 License: MIT

README

Retrieval examples

Run an example from the repository root:

GOWORK=off go run ./examples/quickstart-rag
  • quickstart-rag: in-memory retrieval facade.
  • search-pipeline: batch search with RRF, external reranking, MMR, and typed explanations.
  • provider-openai-wiring: injected OpenAI embedding adapter.
  • postgres-index: explicit PostgreSQL retrieval migration.
  • rag-ingest-retrieve: manual hybrid retrieval and MMR.
  • retrieval-calibration-tune: retrieval evaluation and weight tuning.

Run the complete facade search pipeline after the quickstart:

GOWORK=off go run ./examples/search-pipeline

Directories

Path Synopsis
internal
examplekit
Package examplekit holds demo-only helpers for examples.
Package examplekit holds demo-only helpers for examples.
Command quickstart-rag is the short, copyable retrieval path.
Command quickstart-rag is the short, copyable retrieval path.
Command rag-ingest-retrieve demonstrates an end-to-end retrieval pipeline assembled from reliquary packages the way a real consumer would:
Command rag-ingest-retrieve demonstrates an end-to-end retrieval pipeline assembled from reliquary packages the way a real consumer would:
Command retrieval-calibration-tune demonstrates the retrieval quality-control layer: captured runs, threshold checks, score-reference calibration, and deterministic weight tuning.
Command retrieval-calibration-tune demonstrates the retrieval quality-control layer: captured runs, threshold checks, score-reference calibration, and deterministic weight tuning.

Jump to

Keyboard shortcuts

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