haiku.rag/haiku_rag_slim/haiku/rag/tools/__init__.py
Yiorgis Gozadinos 307e250f29
Select documents to filter by id, not by displayed name
A title repeats within a corpus and across databases, so a substring
match on the displayed name widened the filter to documents the user did
not pick. The label names the database.
2026-08-24 15:27:59 +03:00

15 lines
422 B
Python

from haiku.rag.tools.context import RAGDeps
from haiku.rag.tools.document import create_document_toolset
from haiku.rag.tools.filters import (
build_document_id_filter,
build_multi_document_filter,
)
from haiku.rag.tools.search import create_search_toolset
__all__ = [
"RAGDeps",
"build_document_id_filter",
"build_multi_document_filter",
"create_document_toolset",
"create_search_toolset",
]