"""
Generic corpus search tools for pipeline projects.

Any project can build a searchable corpus of reference images:
  1. describe_images() — vision-describe images via OpenRouter
  2. build_embeddings() — embed descriptions into vectors
  3. search() — find relevant references by semantic query

Corpus data lives per-project (configured in story_pipeline.json):
  {corpus_dir}/catalog.json
  {corpus_dir}/embeddings.npz
  {corpus_dir}/embeddings_index.json
"""

from .search import search, load_corpus, embed_query
from .embeddings import build_embeddings
from .describe import describe_images

__all__ = [
    "search", "load_corpus", "embed_query",
    "build_embeddings",
    "describe_images",
]
