I want a Python library module module rag.agent tools that lets agent code fetch knowledge-base context as…
I want a Python library module module rag.agent tools that lets agent code fetch knowledge-base context as…: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). Expose search knowledge base(query: str, , source id: str None = None, dataset ids: list str None = None…
The task
Expose `search_knowledge_base(query: str, *, source_id: str | None = None, dataset_ids: list[str] | None = None, tenant_id: Any = None, top_k: int = 5, retrieval_type: str = "hybrid", rerank: bool = False) -> str`. It should combine explicit `dataset_ids` with the datasets attached to `source_id`, preserve first-seen…
Part of FineEnvs/MiMo-V2.6-RL-harbor-code.