"""neuromind — umbrella biomedical RAG research library.

Sub-packages
------------
neuromind.alzheimers
    Alzheimer's disease RAG pipeline (download, index, query).

Quick start
-----------
>>> from neuromind.alzheimers import AlzheimersRAG, RAGMode
>>>
>>> rag = AlzheimersRAG()
>>> rag.download("Alzheimer's disease gut microbiome", max_results=50)
>>> rag.index()
>>> result = rag.query(
...     "What is the evidence for gut microbiome dysbiosis in Alzheimer's disease?",
...     mode="detailed",
... )
>>> print(result.text)

Top-level convenience re-exports (from neuromind.alzheimers)
------------------------------------------------------------
These allow ``from neuromind import AlzheimersRAG`` to work without
importing the sub-package directly.
"""

from neuromind.alzheimers import (
    AD_SEARCH_TERMS,
    AlzheimersRAG,
    IndexStats,
    RAGMode,
    RAGPipeline,
    RAGResult,
    RetrievalResult,
    Retriever,
    download_ad_corpus,
    download_papers,
    index_directory,
)

__version__ = "0.1.1"

__all__ = [
    # Alzheimer's sub-package
    "AlzheimersRAG",
    # Types
    "RAGMode",
    "RAGResult",
    "RetrievalResult",
    "IndexStats",
    # Building blocks
    "RAGPipeline",
    "Retriever",
    # Functions
    "download_papers",
    "download_ad_corpus",
    "index_directory",
    # Data
    "AD_SEARCH_TERMS",
]
