Skip to content

knowledge_sql

diapason.tools.knowledge_sql

KnowledgeSQLTool — read-only SQL queries against the KnowledgeStore.

Allows agents to run SELECT queries for aggregation, counting, ranking, and filtering operations that BM25 search cannot handle.

KnowledgeSQLTool

Bases: BaseTool

Run read-only SQL against the knowledge store for aggregation queries.