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.
15 lines
422 B
Python
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",
|
|
]
|